Searched refs:nla_get_u8 (Results 76 - 100 of 123) sorted by relevance

12345

/linux-master/lib/
H A Dnlattr.c180 value = nla_get_u8(nla);
361 value = nla_get_u8(nla);
/linux-master/net/sched/
H A Dsch_fq_codel.c412 nla_get_u8(tb[TCA_FQ_CODEL_CE_THRESHOLD_SELECTOR]));
415 nla_get_u8(tb[TCA_FQ_CODEL_CE_THRESHOLD_MASK]));
H A Dact_ct.c1284 family = tb[TCA_CT_HELPER_FAMILY] ? nla_get_u8(tb[TCA_CT_HELPER_FAMILY]) : AF_INET;
1285 proto = tb[TCA_CT_HELPER_PROTO] ? nla_get_u8(tb[TCA_CT_HELPER_PROTO]) : IPPROTO_TCP;
/linux-master/net/netfilter/ipset/
H A Dip_set_core.c944 return nla_get_u8(tb[IPSET_ATTR_PROTOCOL]);
1066 family = nla_get_u8(attr[IPSET_ATTR_FAMILY]);
1067 revision = nla_get_u8(attr[IPSET_ATTR_REVISION]);
1509 cb->args[IPSET_CB_PROTO] = nla_get_u8(cda[IPSET_ATTR_PROTOCOL]);
1952 family = nla_get_u8(attr[IPSET_ATTR_FAMILY]);
H A Dip_set_hash_gen.h1508 netmask = nla_get_u8(tb[IPSET_ATTR_NETMASK]);
1596 h->bucketsize = nla_get_u8(tb[IPSET_ATTR_BUCKETSIZE]);
/linux-master/drivers/infiniband/core/
H A Dnldev.c1144 use_dim = nla_get_u8(tb[RDMA_NLDEV_ATTR_DEV_DIM]);
1329 show_details = nla_get_u8(tb[RDMA_NLDEV_ATTR_DRIVER_DETAILS]);
1575 show_details = nla_get_u8(tb[RDMA_NLDEV_ATTR_DRIVER_DETAILS]);
1959 enable = nla_get_u8(tb[RDMA_NLDEV_SYS_ATTR_NETNS_MODE]);
1972 enable = nla_get_u8(tb[RDMA_NLDEV_SYS_ATTR_PRIVILEGED_QKEY_MODE]);
/linux-master/net/nfc/
H A Dnetlink.c950 comm = nla_get_u8(info->attrs[NFC_ATTR_COMM_MODE]);
1079 rw = nla_get_u8(info->attrs[NFC_ATTR_LLC_PARAM_RW]);
1112 local->lto = nla_get_u8(info->attrs[NFC_ATTR_LLC_PARAM_LTO]);
/linux-master/net/netfilter/
H A Dnfnetlink_cthelper.c90 tuple->dst.protonum = nla_get_u8(tb[NFCTH_TUPLE_L4PROTONUM]);
H A Dnf_conntrack_proto_sctp.c621 ct->proto.sctp.state = nla_get_u8(tb[CTA_PROTOINFO_SCTP_STATE]);
/linux-master/net/netlabel/
H A Dnetlabel_cipso_v4.c98 doi_def->tags[iter++] = nla_get_u8(nla);
H A Dnetlabel_unlabeled.c813 value = nla_get_u8(info->attrs[NLBL_UNLABEL_A_ACPTFLG]);
/linux-master/drivers/net/wireguard/
H A Dnetlink.c339 cidr = nla_get_u8(attrs[WGALLOWEDIP_A_CIDR_MASK]);
/linux-master/net/ipv4/
H A Dipip.c409 proto = nla_get_u8(data[IFLA_IPTUN_PROTO]);
/linux-master/net/ipv6/
H A Dip6_tunnel.c1952 proto = nla_get_u8(data[IFLA_IPTUN_PROTO]);
1979 parms->hop_limit = nla_get_u8(data[IFLA_IPTUN_TTL]);
1982 parms->encap_limit = nla_get_u8(data[IFLA_IPTUN_ENCAP_LIMIT]);
1991 parms->proto = nla_get_u8(data[IFLA_IPTUN_PROTO]);
H A Dioam6_iptunnel.c144 mode = nla_get_u8(tb[IOAM6_IPTUNNEL_MODE]);
/linux-master/drivers/net/vxlan/
H A Dvxlan_core.c3111 desc.flags_mask = nla_get_u8(tb[NDA_NDM_FLAGS_MASK]);
3455 enum ifla_vxlan_df df = nla_get_u8(data[IFLA_VXLAN_DF]);
4019 else if (nla_get_u8(tb[attrtype]))
4103 conf->tos = nla_get_u8(data[IFLA_VXLAN_TOS]);
4106 conf->ttl = nla_get_u8(data[IFLA_VXLAN_TTL]);
4214 if (!nla_get_u8(data[IFLA_VXLAN_UDP_CSUM]))
4294 conf->df = nla_get_u8(data[IFLA_VXLAN_DF]);
/linux-master/drivers/net/wireless/ath/wil6210/
H A Dcfg80211.c2913 sector_type = nla_get_u8(tb[QCA_ATTR_DMG_RF_SECTOR_TYPE]);
3033 sector_type = nla_get_u8(tb[QCA_ATTR_DMG_RF_SECTOR_TYPE]);
3066 rf_module_index = nla_get_u8(
3132 sector_type = nla_get_u8(tb[QCA_ATTR_DMG_RF_SECTOR_TYPE]);
3250 sector_type = nla_get_u8(tb[QCA_ATTR_DMG_RF_SECTOR_TYPE]);
/linux-master/drivers/net/
H A Dgtp.c1494 gtp->restart_count = nla_get_u8(data[IFLA_GTP_RESTART_COUNT]);
1826 family = nla_get_u8(info->attrs[GTPA_FAMILY]);
2066 family = nla_get_u8(nla[GTPA_FAMILY]);
/linux-master/net/bridge/
H A Dbr_fdb.c738 u8 ndm_flags_mask = nla_get_u8(tb[NDA_NDM_FLAGS_MASK]);
1089 notify = nla_get_u8(nfea_tb[NFEA_ACTIVITY_NOTIFY]);
/linux-master/net/devlink/
H A Ddpipe.c762 counters_enable = !!nla_get_u8(info->attrs[DEVLINK_ATTR_DPIPE_TABLE_COUNTERS_ENABLED]);
/linux-master/drivers/net/ieee802154/
H A Dmac802154_hwsim.c707 lqi = nla_get_u8(edge_attrs[MAC802154_HWSIM_EDGE_ATTR_LQI]);
/linux-master/net/smc/
H A Dsmc_pnet.c517 ibport = nla_get_u8(tb[SMC_PNETID_IBPORT]);
/linux-master/net/mptcp/
H A Dpm_userspace.c286 id_val = nla_get_u8(id);
/linux-master/net/xfrm/
H A Dxfrm_user.c203 u8 sa_dir = attrs[XFRMA_SA_DIR] ? nla_get_u8(attrs[XFRMA_SA_DIR]) : 0;
834 x->dir = nla_get_u8(attrs[XFRMA_SA_DIR]);
1386 proto = nla_get_u8(attrs[XFRMA_PROTO]);
1726 x->dir = nla_get_u8(attrs[XFRMA_SA_DIR]);
/linux-master/include/net/
H A Dnetlink.h134 * nla_get_u8(nla) get payload for a u8 attribute
1743 * nla_get_u8 - return payload of u8 attribute
1746 static inline u8 nla_get_u8(const struct nlattr *nla) function

Completed in 423 milliseconds

12345