Home
last modified time | relevance | path

Searched refs:nla_get_le16 (Results 1 – 7 of 7) sorted by relevance

/linux/net/decnet/
A Ddn_rules.c150 r->src = nla_get_le16(tb[FRA_SRC]); in dn_fib_rule_configure()
153 r->dst = nla_get_le16(tb[FRA_DST]); in dn_fib_rule_configure()
175 if (frh->src_len && (r->src != nla_get_le16(tb[FRA_SRC]))) in dn_fib_rule_compare()
178 if (frh->dst_len && (r->dst != nla_get_le16(tb[FRA_DST]))) in dn_fib_rule_compare()
A Ddn_fib.c184 nh->nh_gw = gw_attr ? nla_get_le16(gw_attr) : 0; in dn_fib_get_nhs()
314 fi->fib_prefsrc = nla_get_le16(attrs[RTA_PREFSRC]); in dn_fib_create_info()
325 fi->fib_nh->nh_gw != nla_get_le16(attrs[RTA_GATEWAY])) in dn_fib_create_info()
334 nh->nh_gw = nla_get_le16(attrs[RTA_GATEWAY]); in dn_fib_create_info()
344 fi->fib_nh->nh_gw = nla_get_le16(attrs[RTA_GATEWAY]); in dn_fib_create_info()
378 fi->fib_prefsrc != nla_get_le16(attrs[RTA_DST])) in dn_fib_create_info()
A Ddn_table.c240 (!attrs[RTA_GATEWAY] || nla_get_le16(attrs[RTA_GATEWAY]) != fi->fib_nh->nh_gw)) in dn_fib_nh_match()
263 gw = gw_attr ? nla_get_le16(gw_attr) : 0; in dn_fib_nh_match()
550 __le16 dst = nla_get_le16(attrs[RTA_DST]); in dn_fib_table_insert()
685 __le16 dst = nla_get_le16(attrs[RTA_DST]); in dn_fib_table_delete()
A Ddn_dev.c651 ifa->ifa_local = nla_get_le16(tb[IFA_LOCAL]); in dn_nl_newaddr()
652 ifa->ifa_address = nla_get_le16(tb[IFA_ADDRESS]); in dn_nl_newaddr()
A Ddn_route.c1664 fld.saddr = nla_get_le16(tb[RTA_SRC]); in dn_cache_getroute()
1667 fld.daddr = nla_get_le16(tb[RTA_DST]); in dn_cache_getroute()
/linux/net/ieee802154/
A Dnl802154.c1070 pan_id = nla_get_le16(info->attrs[NL802154_ATTR_PAN_ID]); in nl802154_set_pan_id()
1106 short_addr = nla_get_le16(info->attrs[NL802154_ATTR_SHORT_ADDR]); in nl802154_set_short_addr()
1304 addr->pan_id = nla_get_le16(attrs[NL802154_DEV_ADDR_ATTR_PAN_ID]); in ieee802154_llsec_parse_dev_addr()
1310 addr->short_addr = nla_get_le16(attrs[NL802154_DEV_ADDR_ATTR_SHORT]); in ieee802154_llsec_parse_dev_addr()
1751 dev->pan_id = nla_get_le16(attrs[NL802154_DEV_ATTR_PAN_ID]); in ieee802154_llsec_parse_device()
1752 dev->short_addr = nla_get_le16(attrs[NL802154_DEV_ATTR_SHORT_ADDR]); in ieee802154_llsec_parse_device()
/linux/include/net/
A Dnetlink.h1597 static inline __le16 nla_get_le16(const struct nlattr *nla) in nla_get_le16() function

Completed in 21 milliseconds