nla_type 22 drivers/block/drbd/drbd_nla.c if (nla->nla_type & DRBD_GENLA_F_MANDATORY) { nla_type 23 drivers/block/drbd/drbd_nla.c nla->nla_type &= ~DRBD_GENLA_F_MANDATORY; nla_type 24 drivers/block/drbd/drbd_nla.c if (nla_type(nla) > maxtype) nla_type 1947 drivers/block/nbd.c if (nla_type(attr) != NBD_SOCK_ITEM) { nla_type 2130 drivers/block/nbd.c if (nla_type(attr) != NBD_SOCK_ITEM) { nla_type 110 drivers/infiniband/core/addr.c if (curr->nla_type == LS_NLA_TYPE_DGID) nla_type 950 drivers/infiniband/core/sa_query.c if (curr->nla_type == LS_NLA_TYPE_PATH_RECORD) { nla_type 11290 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (nla_type(attr) != IFLA_BRIDGE_MODE) nla_type 4976 drivers/net/ethernet/emulex/benet/be_main.c if (nla_type(attr) != IFLA_BRIDGE_MODE) nla_type 12367 drivers/net/ethernet/intel/i40e/i40e_main.c if (nla_type(attr) != IFLA_BRIDGE_MODE) nla_type 4598 drivers/net/ethernet/intel/ice/ice_main.c if (nla_type(attr) != IFLA_BRIDGE_MODE) nla_type 10033 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (nla_type(attr) != IFLA_BRIDGE_MODE) nla_type 4572 drivers/net/ethernet/mellanox/mlx5/core/en_main.c if (nla_type(attr) != IFLA_BRIDGE_MODE) nla_type 1361 drivers/net/macvlan.c if (nla_type(nla) != IFLA_MACVLAN_MACADDR || nla_type 2549 drivers/net/team/team.c if (nla_type(nl_option) != TEAM_ATTR_ITEM_OPTION) { nla_type 36 include/linux/genl_magic_func.h #define __field(attr_nr, attr_flag, name, nla_type, _type, __get, \ nla_type 38 include/linux/genl_magic_func.h [attr_nr] = { .type = nla_type }, nla_type 41 include/linux/genl_magic_func.h #define __array(attr_nr, attr_flag, name, nla_type, _type, maxlen, \ nla_type 43 include/linux/genl_magic_func.h [attr_nr] = { .type = nla_type, \ nla_type 44 include/linux/genl_magic_func.h .len = maxlen - (nla_type == NLA_NUL_STRING) }, nla_type 55 include/linux/genl_magic_func.h static void dprint_field(const char *dir, int nla_type, nla_type 59 include/linux/genl_magic_func.h switch (nla_type) { nla_type 78 include/linux/genl_magic_func.h static void dprint_array(const char *dir, int nla_type, nla_type 81 include/linux/genl_magic_func.h switch (nla_type) { nla_type 101 include/linux/genl_magic_func.h #define DPRINT_FIELD(dir, nla_type, name, s, nla) \ nla_type 104 include/linux/genl_magic_func.h dprint_field(dir, nla_type, #name, &s->name); \ nla_type 106 include/linux/genl_magic_func.h dprint_field(dir, nla_type, #name, \ nla_type 107 include/linux/genl_magic_func.h (nla_type == NLA_FLAG) ? NULL \ nla_type 111 include/linux/genl_magic_func.h #define DPRINT_ARRAY(dir, nla_type, name, s, nla) \ nla_type 114 include/linux/genl_magic_func.h dprint_array(dir, nla_type, #name, \ nla_type 117 include/linux/genl_magic_func.h dprint_array(dir, nla_type, #name, \ nla_type 122 include/linux/genl_magic_func.h #define DPRINT_FIELD(dir, nla_type, name, s, nla) do {} while (0) nla_type 123 include/linux/genl_magic_func.h #define DPRINT_ARRAY(dir, nla_type, name, s, nla) do {} while (0) nla_type 169 include/linux/genl_magic_func.h #define __assign(attr_nr, attr_flag, name, nla_type, type, assignment...) \ nla_type 186 include/linux/genl_magic_func.h #define __field(attr_nr, attr_flag, name, nla_type, type, __get, __put, \ nla_type 188 include/linux/genl_magic_func.h __assign(attr_nr, attr_flag, name, nla_type, type, \ nla_type 191 include/linux/genl_magic_func.h DPRINT_FIELD("<<", nla_type, name, s, nla)) nla_type 195 include/linux/genl_magic_func.h #define __array(attr_nr, attr_flag, name, nla_type, type, maxlen, \ nla_type 197 include/linux/genl_magic_func.h __assign(attr_nr, attr_flag, name, nla_type, type, \ nla_type 201 include/linux/genl_magic_func.h DPRINT_ARRAY("<<", nla_type, name, s, nla)) nla_type 351 include/linux/genl_magic_func.h #define __field(attr_nr, attr_flag, name, nla_type, type, __get, __put, \ nla_type 354 include/linux/genl_magic_func.h DPRINT_FIELD(">>", nla_type, name, s, NULL); \ nla_type 360 include/linux/genl_magic_func.h #define __array(attr_nr, attr_flag, name, nla_type, type, maxlen, \ nla_type 363 include/linux/genl_magic_func.h DPRINT_ARRAY(">>",nla_type, name, s, NULL); \ nla_type 365 include/linux/genl_magic_func.h s->name ## _len + (nla_type == NLA_NUL_STRING)),\ nla_type 376 include/linux/genl_magic_func.h #define __field(attr_nr, attr_flag, name, nla_type, type, __get, __put, \ nla_type 379 include/linux/genl_magic_func.h #define __array(attr_nr, attr_flag, name, nla_type, type, maxlen, \ nla_type 161 include/linux/genl_magic_struct.h #define __field(attr_nr, attr_flag, name, nla_type, type, \ nla_type 166 include/linux/genl_magic_struct.h #define __array(attr_nr, attr_flag, name, nla_type, type, \ nla_type 230 include/linux/genl_magic_struct.h #define __field(attr_nr, attr_flag, name, nla_type, type, __get, __put, \ nla_type 235 include/linux/genl_magic_struct.h #define __array(attr_nr, attr_flag, name, nla_type, type, maxlen, \ nla_type 254 include/linux/genl_magic_struct.h #define __field(attr_nr, attr_flag, name, nla_type, type, __get, __put, \ nla_type 259 include/linux/genl_magic_struct.h #define __array(attr_nr, attr_flag, name, nla_type, type, maxlen, \ nla_type 273 include/linux/genl_magic_struct.h #define __field(attr_nr, attr_flag, name, nla_type, type, __get, __put, \ nla_type 278 include/linux/genl_magic_struct.h #define __array(attr_nr, attr_flag, name, nla_type, type, maxlen, \ nla_type 388 include/linux/netfilter/ipset/ip_set.h return tb[type] && (tb[type]->nla_type & NLA_F_NET_BYTEORDER); nla_type 394 include/linux/netfilter/ipset/ip_set.h return !tb[type] || (tb[type]->nla_type & NLA_F_NET_BYTEORDER); nla_type 1065 include/net/netlink.h return nla->nla_type & NLA_TYPE_MASK; nla_type 1142 include/net/netlink.h if (!(nla->nla_type & NLA_F_NESTED)) { nla_type 213 include/uapi/linux/netlink.h __u16 nla_type; nla_type 163 lib/nlattr.c int minlen = 0, attrlen = nla_len(nla), type = nla_type(nla); nla_type 189 lib/nlattr.c !(nla->nla_type & NLA_F_NESTED)) { nla_type 195 lib/nlattr.c pt->type != NLA_UNSPEC && (nla->nla_type & NLA_F_NESTED)) { nla_type 370 lib/nlattr.c u16 type = nla_type(nla); nla_type 497 lib/nlattr.c if (nla_type(nla) == attrtype) nla_type 641 lib/nlattr.c nla->nla_type = attrtype; nla_type 627 net/bridge/br_netlink.c switch (nla_type(attr)) { nla_type 878 net/bridge/br_netlink.c if (protinfo->nla_type & NLA_F_NESTED) { nla_type 3045 net/core/devlink.c int nla_type; nla_type 3091 net/core/devlink.c nla_type = devlink_param_type_to_nla_type(param->type); nla_type 3092 net/core/devlink.c if (nla_type < 0) nla_type 3094 net/core/devlink.c if (nla_put_u8(msg, DEVLINK_ATTR_PARAM_TYPE, nla_type)) nla_type 4122 net/core/devlink.c u8 nla_type; nla_type 4200 net/core/devlink.c item->nla_type = NLA_NUL_STRING; nla_type 4277 net/core/devlink.c item->nla_type = value_nla_type; nla_type 4453 net/core/devlink.c switch (msg->nla_type) { nla_type 4461 net/core/devlink.c msg->nla_type); nla_type 4473 net/core/devlink.c switch (msg->nla_type) { nla_type 8029 net/core/devlink.c if (nla_type(nlattr) != DEVLINK_ATTR_INFO_VERSION_RUNNING) nla_type 8033 net/core/devlink.c if (nla_type(kv) != DEVLINK_ATTR_INFO_VERSION_VALUE) nla_type 637 net/core/drop_monitor.c attr->nla_type = NET_DM_ATTR_PAYLOAD; nla_type 782 net/core/drop_monitor.c attr->nla_type = NET_DM_ATTR_PAYLOAD; nla_type 85 net/core/gen_stats.c if (ret == 0 && d->tail->nla_type == padattr) nla_type 2148 net/core/rtnetlink.c af_ops = rtnl_af_lookup(nla_type(af)); nla_type 2232 net/core/rtnetlink.c if (nla_type(attr) != IFLA_VF_VLAN_INFO || nla_type 2595 net/core/rtnetlink.c if (nla_type(attr) != IFLA_VF_INFO || nla_type 2625 net/core/rtnetlink.c if (nla_type(attr) != IFLA_VF_PORT || nla_type 2675 net/core/rtnetlink.c BUG_ON(!(af_ops = rtnl_af_lookup(nla_type(af)))); nla_type 4577 net/core/rtnetlink.c if (nla_type(attr) == IFLA_BRIDGE_FLAGS) { nla_type 4654 net/core/rtnetlink.c if (nla_type(attr) == IFLA_BRIDGE_FLAGS) { nla_type 741 net/dcb/dcbnl.c data[i]->nla_type - DCB_PFC_UP_ATTR_0, value); nla_type 959 net/dcb/dcbnl.c data[i]->nla_type - DCB_BCN_ATTR_RP_0, value_byte); nla_type 1490 net/dcb/dcbnl.c if (nla_type(attr) != DCB_ATTR_IEEE_APP) nla_type 1551 net/dcb/dcbnl.c if (nla_type(attr) != DCB_ATTR_IEEE_APP) nla_type 302 net/decnet/dn_fib.c int type = nla_type(attr); nla_type 1969 net/ipv4/devinet.c int cfgid = nla_type(a); nla_type 1996 net/ipv4/devinet.c ipv4_devconf_set(in_dev, nla_type(a), nla_get_u32(a)); nla_type 468 net/ipv4/fib_frontend.c nla->nla_type = type; nla_type 765 net/ipv4/fib_frontend.c switch (nla_type(attr)) { nla_type 955 net/ipv4/fib_semantics.c int type = nla_type(nla); nla_type 2690 net/ipv4/ipmr.c switch (nla_type(attr)) { nla_type 21 net/ipv4/metrics.c int type = nla_type(nla); nla_type 283 net/netfilter/ipset/ip_set_core.c return nla->nla_type & NLA_F_NESTED; nla_type 1297 net/netfilter/ipset/ip_set_core.c pr_debug("type: %u, len %u\n", nla_type(attr), attr->nla_len); nla_type 1635 net/netfilter/ipset/ip_set_core.c if (nla_type(nla) != IPSET_ATTR_DATA || nla_type 2804 net/netfilter/nf_tables_api.c if (nla_type(tmp) != NFTA_LIST_ELEM) nla_type 5684 net/netfilter/nf_tables_api.c if (nla_type(tmp) != NFTA_DEVICE_NAME) { nla_type 646 net/netfilter/nfnetlink_log.c nla->nla_type = NFULA_PAYLOAD; nla_type 616 net/netfilter/nfnetlink_queue.c nla->nla_type = NFQA_PAYLOAD; nla_type 150 net/netfilter/xt_RATEEST.c cfg.opt.nla_type = TCA_STATS_RATE_EST; nla_type 95 net/netlabel/netlabel_cipso_v4.c if (nla_type(nla) == NLBL_CIPSOV4_A_TAG) { nla_type 160 net/netlabel/netlabel_cipso_v4.c if (nla_type(nla_a) == NLBL_CIPSOV4_A_MLSLVL) { nla_type 167 net/netlabel/netlabel_cipso_v4.c switch (nla_type(nla_b)) { nla_type 209 net/netlabel/netlabel_cipso_v4.c if (nla_type(nla_a) == NLBL_CIPSOV4_A_MLSLVL) { nla_type 235 net/netlabel/netlabel_cipso_v4.c if (nla_type(nla_a) == NLBL_CIPSOV4_A_MLSCAT) { nla_type 242 net/netlabel/netlabel_cipso_v4.c switch (nla_type(nla_b)) { nla_type 286 net/netlabel/netlabel_cipso_v4.c if (nla_type(nla_a) == NLBL_CIPSOV4_A_MLSCAT) { nla_type 925 net/openvswitch/actions.c switch (nla_type(a)) { nla_type 1036 net/openvswitch/actions.c if (nla_type(a) == OVS_KEY_ATTR_TUNNEL_INFO) { nla_type 1057 net/openvswitch/actions.c switch (nla_type(a)) { nla_type 1191 net/openvswitch/actions.c switch (nla_type(a)) { nla_type 1383 net/openvswitch/conntrack.c int type = nla_type(a); nla_type 1513 net/openvswitch/conntrack.c int type = nla_type(a); nla_type 57 net/openvswitch/flow_netlink.c u16 action = nla_type(nla); nla_type 471 net/openvswitch/flow_netlink.c u16 type = nla_type(nla); nla_type 583 net/openvswitch/flow_netlink.c int type = nla_type(a); nla_type 665 net/openvswitch/flow_netlink.c int type = nla_type(a); nla_type 1295 net/openvswitch/flow_netlink.c int type = nla_type(a); nla_type 1343 net/openvswitch/flow_netlink.c int type = nla_type(a); nla_type 1390 net/openvswitch/flow_netlink.c int type = nla_type(a); nla_type 1727 net/openvswitch/flow_netlink.c if (tbl[nla_type(nla)].len == OVS_ATTR_NESTED) nla_type 1728 net/openvswitch/flow_netlink.c nlattr_set(nla, val, tbl[nla_type(nla)].next ? : tbl); nla_type 1732 net/openvswitch/flow_netlink.c if (nla_type(nla) == OVS_KEY_ATTR_CT_STATE) nla_type 2274 net/openvswitch/flow_netlink.c switch (nla_type(ovs_key)) { nla_type 2291 net/openvswitch/flow_netlink.c switch (nla_type(a)) { nla_type 2364 net/openvswitch/flow_netlink.c a->nla_type = attrtype; nla_type 2425 net/openvswitch/flow_netlink.c int type = nla_type(a); nla_type 2670 net/openvswitch/flow_netlink.c int key_type = nla_type(ovs_key); nla_type 2987 net/openvswitch/flow_netlink.c int type = nla_type(a); nla_type 3369 net/openvswitch/flow_netlink.c int key_type = nla_type(ovs_key); nla_type 3414 net/openvswitch/flow_netlink.c if (nla_put(skb, nla_type(ovs_key), key_len, nla_data(ovs_key))) nla_type 3427 net/openvswitch/flow_netlink.c int type = nla_type(a); nla_type 274 net/psample/psample.c nla->nla_type = PSAMPLE_ATTR_DATA; nla_type 64 net/sched/act_pedit.c if (nla_type(ka) != TCA_PEDIT_KEY_EX) { nla_type 131 net/sched/act_tunnel_key.c switch (nla_type(attr)) { nla_type 173 net/sched/act_tunnel_key.c switch (nla_type(nla_data(nla))) { nla_type 878 net/sched/cls_flower.c if (nla_type(nla) != TCA_FLOWER_KEY_ENC_OPTS_GENEVE) { nla_type 968 net/sched/cls_flower.c switch (nla_type(nla_opt_key)) { nla_type 351 net/sched/ematch.c if (rt_match->nla_type != (idx + 1)) nla_type 252 net/sched/sch_atm.c opt->nla_type, nla_len(opt), hdr_len); nla_type 153 net/sched/sch_fifo.c nla->nla_type = RTM_NEWQDISC; nla_type 551 net/sched/sch_gred.c switch (nla_type(attr)) { nla_type 615 net/sched/sch_gred.c switch (nla_type(attr)) { nla_type 1347 net/sched/sch_htb.c .nla_type = TCA_RATE, nla_type 193 net/sched/sch_mqprio.c if (nla_type(attr) != TCA_MQPRIO_MIN_RATE64) nla_type 209 net/sched/sch_mqprio.c if (nla_type(attr) != TCA_MQPRIO_MAX_RATE64) nla_type 869 net/sched/sch_netem.c u16 type = nla_type(la); nla_type 839 net/sched/sch_taprio.c if (nla_type(n) != TCA_TAPRIO_SCHED_ENTRY) { nla_type 4276 net/wireless/nl80211.c enum nl80211_band band = nla_type(tx_rates); nla_type 7671 net/wireless/nl80211.c enum nl80211_band band = nla_type(attr); nla_type 7878 net/wireless/nl80211.c enum nl80211_band band = nla_type(attr); nla_type 9739 net/wireless/nl80211.c if (data->nla_type == NL80211_ATTR_VENDOR_DATA) nla_type 12885 net/wireless/nl80211.c if (attr->nla_type & NLA_F_NESTED) { nla_type 12894 net/wireless/nl80211.c if (!(attr->nla_type & NLA_F_NESTED)) { nla_type 192 net/wireless/pmsr.c switch (nla_type(treq)) { nla_type 120 tools/accounting/getdelays.c __u8 genl_cmd, __u16 nla_type, nla_type 138 tools/accounting/getdelays.c na->nla_type = nla_type; nla_type 189 tools/accounting/getdelays.c if (na->nla_type == CTRL_ATTR_FAMILY_ID) { nla_type 478 tools/accounting/getdelays.c switch (na->nla_type) { nla_type 488 tools/accounting/getdelays.c switch (na->nla_type) { nla_type 520 tools/accounting/getdelays.c na->nla_type); nla_type 534 tools/accounting/getdelays.c na->nla_type); nla_type 213 tools/include/uapi/linux/netlink.h __u16 nla_type; nla_type 158 tools/lib/bpf/netlink.c nla->nla_type = NLA_F_NESTED | IFLA_XDP; nla_type 163 tools/lib/bpf/netlink.c nla_xdp->nla_type = IFLA_XDP_FD; nla_type 171 tools/lib/bpf/netlink.c nla_xdp->nla_type = IFLA_XDP_FLAGS; nla_type 41 tools/lib/bpf/nlattr.c return nla->nla_type & NLA_TYPE_MASK; nla_type 49 tools/lib/bpf/nlattr.c int type = nla_type(nla); nla_type 112 tools/lib/bpf/nlattr.c int type = nla_type(nla);