/openbmc/linux/net/netfilter/ |
H A D | nft_tunnel.c | 316 hwid = nla_get_u8(tb[NFTA_TUNNEL_KEY_ERSPAN_V2_HWID]); in nft_tunnel_obj_erspan_init() 317 dir = nla_get_u8(tb[NFTA_TUNNEL_KEY_ERSPAN_V2_DIR]); in nft_tunnel_obj_erspan_init() 368 opt->type = nla_get_u8(tb[NFTA_TUNNEL_KEY_GENEVE_TYPE]); in nft_tunnel_obj_geneve_init() 493 info.key.tos = nla_get_u8(tb[NFTA_TUNNEL_KEY_TOS]); in nft_tunnel_obj_init() 495 info.key.ttl = nla_get_u8(tb[NFTA_TUNNEL_KEY_TTL]); in nft_tunnel_obj_init()
|
H A D | nft_reject.c | 55 icmp_code = nla_get_u8(tb[NFTA_REJECT_ICMP_CODE]); in nft_reject_init()
|
H A D | nf_conntrack_proto_icmp.c | 282 tuple->dst.u.icmp.type = nla_get_u8(tb[CTA_PROTO_ICMP_TYPE]); in icmp_nlattr_to_tuple() 292 tuple->dst.u.icmp.code = nla_get_u8(tb[CTA_PROTO_ICMP_CODE]); in icmp_nlattr_to_tuple()
|
H A D | nf_conntrack_proto_icmpv6.c | 257 tuple->dst.u.icmp.type = nla_get_u8(tb[CTA_PROTO_ICMPV6_TYPE]); in icmpv6_nlattr_to_tuple() 268 tuple->dst.u.icmp.code = nla_get_u8(tb[CTA_PROTO_ICMPV6_CODE]); in icmpv6_nlattr_to_tuple()
|
H A D | nft_ct.c | 489 priv->dir = nla_get_u8(tb[NFTA_CT_DIRECTION]); in nft_ct_get_init() 597 priv->dir = nla_get_u8(tb[NFTA_CT_DIRECTION]); in nft_ct_set_init() 953 l4num = nla_get_u8(tb[NFTA_CT_TIMEOUT_L4PROTO]); in nft_ct_timeout_obj_init() 1064 priv->l4proto = nla_get_u8(tb[NFTA_CT_HELPER_L4PROTO]); in nft_ct_helper_obj_init() 1268 priv->l4proto = nla_get_u8(tb[NFTA_CT_EXPECT_L4PROTO]); in nft_ct_expect_obj_init() 1282 priv->size = nla_get_u8(tb[NFTA_CT_EXPECT_SIZE]); in nft_ct_expect_obj_init()
|
H A D | nfnetlink_cttimeout.c | 118 l4num = nla_get_u8(cda[CTA_TIMEOUT_L4PROTO]); in cttimeout_new_timeout() 374 l4num = nla_get_u8(cda[CTA_TIMEOUT_L4PROTO]); in cttimeout_default_set() 448 l4num = nla_get_u8(cda[CTA_TIMEOUT_L4PROTO]); in cttimeout_default_get()
|
H A D | nft_osf.c | 73 ttl = nla_get_u8(tb[NFTA_OSF_TTL]); in nft_osf_init()
|
/openbmc/linux/include/linux/ |
H A D | genl_magic_struct.h | 72 nla_get_u8, nla_put_u8, false) 75 nla_get_u8, nla_put_u8, false)
|
/openbmc/linux/net/hsr/ |
H A D | hsr_netlink.c | 73 multicast_spec = nla_get_u8(data[IFLA_HSR_MULTICAST_SPEC]); in hsr_newlink() 76 proto = nla_get_u8(data[IFLA_HSR_PROTOCOL]); in hsr_newlink() 91 proto_version = nla_get_u8(data[IFLA_HSR_VERSION]); in hsr_newlink()
|
/openbmc/linux/net/wireless/ |
H A D | pmsr.c | 78 nla_get_u8(tb[NL80211_PMSR_FTM_REQ_ATTR_NUM_BURSTS_EXP]); in pmsr_parse_ftm() 91 nla_get_u8(tb[NL80211_PMSR_FTM_REQ_ATTR_BURST_DURATION]); in pmsr_parse_ftm() 110 nla_get_u8(tb[NL80211_PMSR_FTM_REQ_ATTR_NUM_FTMR_RETRIES]); in pmsr_parse_ftm() 178 nla_get_u8(tb[NL80211_PMSR_FTM_REQ_ATTR_BSS_COLOR]); in pmsr_parse_ftm()
|
H A D | nl80211.c | 1276 return nla_get_u8(linkid); in nl80211_link_id() 1286 return nla_get_u8(linkid); in nl80211_link_id_or_invalid() 3670 retry_short = nla_get_u8( in nl80211_set_wiphy() 3677 retry_long = nla_get_u8( in nl80211_set_wiphy() 3715 coverage_class = nla_get_u8( in nl80211_set_wiphy() 8369 nla_get_u8); in nl80211_parse_mesh_config() 8376 nla_get_u8); in nl80211_parse_mesh_config() 8411 nla_get_u8); in nl80211_parse_mesh_config() 8419 nla_get_u8); in nl80211_parse_mesh_config() 8422 nla_get_u8); in nl80211_parse_mesh_config() [all …]
|
/openbmc/linux/net/sched/ |
H A D | act_mpls.c | 293 p->tcfm_tc = tb[TCA_MPLS_TC] ? nla_get_u8(tb[TCA_MPLS_TC]) : in tcf_mpls_init() 295 p->tcfm_ttl = tb[TCA_MPLS_TTL] ? nla_get_u8(tb[TCA_MPLS_TTL]) : in tcf_mpls_init() 297 p->tcfm_bos = tb[TCA_MPLS_BOS] ? nla_get_u8(tb[TCA_MPLS_BOS]) : in tcf_mpls_init()
|
H A D | cls_flower.c | 889 depth = nla_get_u8(tb[TCA_FLOWER_KEY_MPLS_OPT_LSE_DEPTH]); in fl_set_key_mpls_lse() 913 u8 bos = nla_get_u8(tb[TCA_FLOWER_KEY_MPLS_OPT_LSE_BOS]); in fl_set_key_mpls_lse() 925 u8 tc = nla_get_u8(tb[TCA_FLOWER_KEY_MPLS_OPT_LSE_TC]); in fl_set_key_mpls_lse() 1020 u8 bos = nla_get_u8(tb[TCA_FLOWER_KEY_MPLS_BOS]); in fl_set_key_mpls() 1034 u8 tc = nla_get_u8(tb[TCA_FLOWER_KEY_MPLS_TC]); in fl_set_key_mpls() 1080 nla_get_u8(tb[vlan_prio_key]) & in fl_set_key_vlan() 1271 opt->type = nla_get_u8(type); in fl_set_geneve_opt() 1365 md->u.md2.dir = nla_get_u8(nla); in fl_set_erspan_opt() 1369 set_hwid(&md->u.md2, nla_get_u8(nla)); in fl_set_erspan_opt() 1414 nla_get_u8(tb[TCA_FLOWER_KEY_ENC_OPT_GTP_PDU_TYPE]); in fl_set_gtp_opt() [all …]
|
H A D | sch_ets.c | 523 band = nla_get_u8(attr); in ets_qdisc_priomap_parse() 598 nbands = nla_get_u8(tb[TCA_ETS_NBANDS]); in ets_qdisc_change() 607 nstrict = nla_get_u8(tb[TCA_ETS_NSTRICT]); in ets_qdisc_change()
|
/openbmc/linux/net/mctp/ |
H A D | neigh.c | 145 eid = nla_get_u8(tb[NDA_DST]); in mctp_rtm_newneigh() 195 eid = nla_get_u8(tb[NDA_DST]); in mctp_rtm_delneigh()
|
/openbmc/linux/net/netfilter/ipset/ |
H A D | ip_set_hash_ipmark.c | 144 u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_ipmark4_uadt() 250 u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_ipmark6_uadt()
|
H A D | ip_set_hash_ip.c | 143 u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_ip4_uadt() 251 u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_ip6_uadt()
|
H A D | ip_set_hash_net.c | 162 e.cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_net4_uadt() 336 e.cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_net6_uadt()
|
/openbmc/linux/net/phonet/ |
H A D | pn_netlink.c | 77 pnaddr = nla_get_u8(tb[IFA_LOCAL]); in addr_doit() 246 dst = nla_get_u8(tb[RTA_DST]); in route_doit()
|
/openbmc/linux/net/ipv4/ |
H A D | ip_gre.c | 1108 nla_get_u8(data[IFLA_GRE_ERSPAN_VER]) == 0) in erspan_validate() 1171 parms->iph.ttl = nla_get_u8(data[IFLA_GRE_TTL]); in ipgre_netlink_parms() 1174 parms->iph.tos = nla_get_u8(data[IFLA_GRE_TOS]); in ipgre_netlink_parms() 1176 if (!data[IFLA_GRE_PMTUDISC] || nla_get_u8(data[IFLA_GRE_PMTUDISC])) { in ipgre_netlink_parms() 1189 if (nla_get_u8(data[IFLA_GRE_IGNORE_DF]) in ipgre_netlink_parms() 1192 t->ignore_df = !!nla_get_u8(data[IFLA_GRE_IGNORE_DF]); in ipgre_netlink_parms() 1217 t->erspan_ver = nla_get_u8(data[IFLA_GRE_ERSPAN_VER]); in erspan_netlink_parms() 1231 t->dir = nla_get_u8(data[IFLA_GRE_ERSPAN_DIR]); in erspan_netlink_parms()
|
/openbmc/linux/net/ethtool/ |
H A D | module.c | 134 power_new.policy = nla_get_u8(tb[ETHTOOL_A_MODULE_POWER_MODE_POLICY]); in ethnl_set_module()
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/ |
H A D | testmode.c | 399 val = nla_get_u8(attr); in mt76_tm_get_u8() 441 td->tx_rate_idx = nla_get_u8(tb[MT76_TM_ATTR_TX_RATE_IDX]); in mt76_testmode_cmd() 497 td->tx_power[idx++] = nla_get_u8(cur); in mt76_testmode_cmd()
|
/openbmc/linux/net/devlink/ |
H A D | param.c | 422 switch (nla_get_u8(info->attrs[DEVLINK_ATTR_PARAM_TYPE])) { in devlink_param_type_get_from_info() 462 value->vu8 = nla_get_u8(param_data); in devlink_param_value_get_from_info() 563 cmode = nla_get_u8(info->attrs[DEVLINK_ATTR_PARAM_VALUE_CMODE]); in __devlink_nl_cmd_param_set_doit()
|
/openbmc/linux/net/ipv6/ |
H A D | seg6.c | 171 slen = nla_get_u8(info->attrs[SEG6_ATTR_SECRETLEN]); in seg6_genl_sethmac() 172 algid = nla_get_u8(info->attrs[SEG6_ATTR_ALGID]); in seg6_genl_sethmac()
|
/openbmc/linux/drivers/net/ |
H A D | geneve.c | 1335 enum ifla_geneve_df df = nla_get_u8(data[IFLA_GENEVE_DF]); in geneve_validate() 1537 if (nla_get_u8(data[IFLA_GENEVE_TTL_INHERIT])) in geneve_nl2info() 1542 info->key.ttl = nla_get_u8(data[IFLA_GENEVE_TTL]); in geneve_nl2info() 1547 info->key.tos = nla_get_u8(data[IFLA_GENEVE_TOS]); in geneve_nl2info() 1550 cfg->df = nla_get_u8(data[IFLA_GENEVE_DF]); in geneve_nl2info() 1583 if (nla_get_u8(data[IFLA_GENEVE_UDP_CSUM])) in geneve_nl2info() 1593 if (nla_get_u8(data[IFLA_GENEVE_UDP_ZERO_CSUM6_TX])) in geneve_nl2info() 1608 if (nla_get_u8(data[IFLA_GENEVE_UDP_ZERO_CSUM6_RX])) in geneve_nl2info()
|