Home
last modified time | relevance | path

Searched defs:nla (Results 1 – 25 of 92) sorted by relevance

1234

/linux/include/net/
H A Dnetlink.h1276 nla_type(const struct nlattr * nla) nla_type() argument
1285 nla_data(const struct nlattr * nla) nla_data() argument
1294 nla_len(const struct nlattr * nla) nla_len() argument
1304 nla_ok(const struct nlattr * nla,int remaining) nla_ok() argument
1319 nla_next(const struct nlattr * nla,int * remaining) nla_next() argument
1335 nla_find_nested(const struct nlattr * nla,int attrtype) nla_find_nested() argument
1351 nla_parse_nested(struct nlattr * tb[],int maxtype,const struct nlattr * nla,const struct nla_policy * policy,struct netlink_ext_ack * extack) nla_parse_nested() argument
1375 nla_parse_nested_deprecated(struct nlattr * tb[],int maxtype,const struct nlattr * nla,const struct nla_policy * policy,struct netlink_ext_ack * extack) nla_parse_nested_deprecated() argument
1732 nla_get_u32(const struct nlattr * nla) nla_get_u32() argument
1744 nla_get_u32_default(const struct nlattr * nla,u32 defvalue) nla_get_u32_default() argument
1755 nla_get_be32(const struct nlattr * nla) nla_get_be32() argument
1767 nla_get_be32_default(const struct nlattr * nla,__be32 defvalue) nla_get_be32_default() argument
1779 nla_get_le32(const struct nlattr * nla) nla_get_le32() argument
1791 nla_get_le32_default(const struct nlattr * nla,__le32 defvalue) nla_get_le32_default() argument
1803 nla_get_u16(const struct nlattr * nla) nla_get_u16() argument
1815 nla_get_u16_default(const struct nlattr * nla,u16 defvalue) nla_get_u16_default() argument
1826 nla_get_be16(const struct nlattr * nla) nla_get_be16() argument
1838 nla_get_be16_default(const struct nlattr * nla,__be16 defvalue) nla_get_be16_default() argument
1850 nla_get_le16(const struct nlattr * nla) nla_get_le16() argument
1862 nla_get_le16_default(const struct nlattr * nla,__le16 defvalue) nla_get_le16_default() argument
1874 nla_get_u8(const struct nlattr * nla) nla_get_u8() argument
1886 nla_get_u8_default(const struct nlattr * nla,u8 defvalue) nla_get_u8_default() argument
1897 nla_get_u64(const struct nlattr * nla) nla_get_u64() argument
1913 nla_get_u64_default(const struct nlattr * nla,u64 defvalue) nla_get_u64_default() argument
1924 nla_get_uint(const struct nlattr * nla) nla_get_uint() argument
1938 nla_get_uint_default(const struct nlattr * nla,u64 defvalue) nla_get_uint_default() argument
1949 nla_get_be64(const struct nlattr * nla) nla_get_be64() argument
1965 nla_get_be64_default(const struct nlattr * nla,__be64 defvalue) nla_get_be64_default() argument
1977 nla_get_le64(const struct nlattr * nla) nla_get_le64() argument
1989 nla_get_le64_default(const struct nlattr * nla,__le64 defvalue) nla_get_le64_default() argument
2001 nla_get_s32(const struct nlattr * nla) nla_get_s32() argument
2013 nla_get_s32_default(const struct nlattr * nla,s32 defvalue) nla_get_s32_default() argument
2024 nla_get_s16(const struct nlattr * nla) nla_get_s16() argument
2036 nla_get_s16_default(const struct nlattr * nla,s16 defvalue) nla_get_s16_default() argument
2047 nla_get_s8(const struct nlattr * nla) nla_get_s8() argument
2059 nla_get_s8_default(const struct nlattr * nla,s8 defvalue) nla_get_s8_default() argument
2070 nla_get_s64(const struct nlattr * nla) nla_get_s64() argument
2086 nla_get_s64_default(const struct nlattr * nla,s64 defvalue) nla_get_s64_default() argument
2097 nla_get_sint(const struct nlattr * nla) nla_get_sint() argument
2111 nla_get_sint_default(const struct nlattr * nla,s64 defvalue) nla_get_sint_default() argument
2122 nla_get_flag(const struct nlattr * nla) nla_get_flag() argument
2133 nla_get_msecs(const struct nlattr * nla) nla_get_msecs() argument
2147 nla_get_msecs_default(const struct nlattr * nla,unsigned long defvalue) nla_get_msecs_default() argument
2159 nla_get_in_addr(const struct nlattr * nla) nla_get_in_addr() argument
2171 nla_get_in_addr_default(const struct nlattr * nla,__be32 defvalue) nla_get_in_addr_default() argument
2183 nla_get_in6_addr(const struct nlattr * nla) nla_get_in6_addr() argument
2195 nla_get_bitfield32(const struct nlattr * nla) nla_get_bitfield32() argument
2420 nla_for_each_nested(pos,nla,rem) global() argument
2430 nla_for_each_nested_type(pos,type,nla,rem) global() argument
2439 nla_is_last(const struct nlattr * nla,int rem) nla_is_last() argument
[all...]
H A Dbpf_sk_storage.h47 bpf_sk_storage_diag_alloc(const struct nlattr *nla) in bpf_sk_storage_diag_alloc() argument
/linux/tools/lib/bpf/
H A Dnlattr.h84 static inline void *libbpf_nla_data(const struct nlattr *nla) in libbpf_nla_data() argument
89 static inline uint8_t libbpf_nla_getattr_u8(const struct nlattr *nla) in libbpf_nla_getattr_u8() argument
94 static inline uint16_t libbpf_nla_getattr_u16(const struct nlattr *nla) in libbpf_nla_getattr_u16() argument
99 static inline uint32_t libbpf_nla_getattr_u32(const struct nlattr *nla) in libbpf_nla_getattr_u32() argument
104 static inline uint64_t libbpf_nla_getattr_u64(const struct nlattr *nla) in libbpf_nla_getattr_u64() argument
109 libbpf_nla_getattr_str(const struct nlattr * nla) libbpf_nla_getattr_str() argument
118 libbpf_nla_len(const struct nlattr * nla) libbpf_nla_len() argument
131 nla_data(struct nlattr * nla) nla_data() argument
144 struct nlattr *nla; nlattr_add() local
[all...]
H A Dnlattr.c25 static struct nlattr *nla_next(const struct nlattr *nla, int *remaining) in nla_next() argument
33 static int nla_ok(const struct nlattr *nla, int remaining) in nla_ok() argument
40 static int nla_type(const struct nlattr *nla) in nla_type() argument
45 validate_nla(struct nlattr * nla,int maxtype,struct libbpf_nla_policy * policy) validate_nla() argument
107 struct nlattr *nla; libbpf_nla_parse() local
149 libbpf_nla_parse_nested(struct nlattr * tb[],int maxtype,struct nlattr * nla,struct libbpf_nla_policy * policy) libbpf_nla_parse_nested() argument
[all...]
/linux/lib/
H A Dnlattr.c66 static int validate_nla_bitfield32(const struct nlattr *nla, in validate_nla_bitfield32() argument
171 const struct nlattr *nla, in nla_validate_range_unsigned() argument
288 nla_validate_int_range_signed(const struct nla_policy * pt,const struct nlattr * nla,struct netlink_ext_ack * extack) nla_validate_int_range_signed() argument
326 nla_validate_int_range(const struct nla_policy * pt,const struct nlattr * nla,struct netlink_ext_ack * extack,unsigned int validate) nla_validate_int_range() argument
354 nla_validate_mask(const struct nla_policy * pt,const struct nlattr * nla,struct netlink_ext_ack * extack) nla_validate_mask() argument
393 validate_nla(const struct nlattr * nla,int maxtype,const struct nla_policy * policy,unsigned int validate,struct netlink_ext_ack * extack,unsigned int depth) validate_nla() argument
610 const struct nlattr *nla; __nla_validate_parse() local
747 const struct nlattr *nla; nla_find() local
772 nla_strscpy(char * dst,const struct nlattr * nla,size_t dstsize) nla_strscpy() argument
808 nla_strdup(const struct nlattr * nla,gfp_t flags) nla_strdup() argument
854 nla_memcmp(const struct nlattr * nla,const void * data,size_t size) nla_memcmp() argument
871 nla_strcmp(const struct nlattr * nla,const char * str) nla_strcmp() argument
904 struct nlattr *nla; __nla_reserve() local
1038 struct nlattr *nla; __nla_put() local
1059 struct nlattr *nla; __nla_put_64bit() local
[all...]
/linux/drivers/block/drbd/
H A Ddrbd_nla.c7 static int drbd_nla_check_mandatory(int maxtype, struct nlattr *nla) in drbd_nla_check_mandatory() argument
31 int drbd_nla_parse_nested(struct nlattr *tb[], int maxtype, struct nlattr *nla, in drbd_nla_parse_nested() argument
44 drbd_nla_find_nested(int maxtype,struct nlattr * nla,int attrtype) drbd_nla_find_nested() argument
[all...]
/linux/net/sched/
H A Dact_tunnel_key.c88 tunnel_key_copy_geneve_opt(const struct nlattr *nla, void *dst, int dst_len, in tunnel_key_copy_geneve_opt() argument
140 tunnel_key_copy_vxlan_opt(const struct nlattr *nla, void *dst, int dst_len, in tunnel_key_copy_vxlan_opt() argument
167 tunnel_key_copy_erspan_opt(const struct nlattr *nla, void *dst, int dst_len, in tunnel_key_copy_erspan_opt() argument
219 tunnel_key_copy_opts(const struct nlattr * nla,u8 * dst,int dst_len,struct netlink_ext_ack * extack) tunnel_key_copy_opts() argument
292 tunnel_key_get_opts_len(struct nlattr * nla,struct netlink_ext_ack * extack) tunnel_key_get_opts_len() argument
298 tunnel_key_opts_set(struct nlattr * nla,struct ip_tunnel_info * info,int opts_len,struct netlink_ext_ack * extack) tunnel_key_opts_set() argument
357 tunnel_key_init(struct net * net,struct nlattr * nla,struct nlattr * est,struct tc_action ** a,struct tcf_proto * tp,u32 act_flags,struct netlink_ext_ack * extack) tunnel_key_init() argument
[all...]
H A Dact_bpf.c102 struct nlattr *nla; in tcf_bpf_dump_bpf_info() local
120 struct nlattr *nla; in tcf_bpf_dump_ebpf_info() local
279 tcf_bpf_init(struct net * net,struct nlattr * nla,struct nlattr * est,struct tc_action ** act,struct tcf_proto * tp,u32 flags,struct netlink_ext_ack * extack) tcf_bpf_init() argument
[all...]
H A Dematch.c171 struct tcf_ematch *em, struct nlattr *nla, int idx) in tcf_em_validate() argument
305 int tcf_em_tree_validate(struct tcf_proto *tp, struct nlattr *nla, in tcf_em_tree_validate() argument
H A Dact_api.c1332 struct tc_action_ops *tc_action_load_ops(struct nlattr *nla, u32 flags, in tc_action_load_ops() argument
1396 struct nlattr *nla, struct nlattr *est, in tcf_action_init_1() argument
1464 int tcf_action_init(struct net *net, struct tcf_proto *tp, struct nlattr *nla, in tcf_action_init() argument
1700 static struct tc_action *tcf_action_get_1(struct net *net, struct nlattr *nla, in tcf_action_get_1() argument
1744 static int tca_action_flush(struct net *net, struct nlattr *nla, in tca_action_flush() argument
2003 tca_action_gd(struct net * net,struct nlattr * nla,struct nlmsghdr * n,u32 portid,int event,struct netlink_ext_ack * extack) tca_action_gd() argument
2090 tcf_action_add(struct net * net,struct nlattr * nla,struct nlmsghdr * n,u32 portid,u32 flags,struct netlink_ext_ack * extack) tcf_action_add() argument
2175 find_dump_kind(struct nlattr ** nla) find_dump_kind() argument
[all...]
H A Dact_pedit.c42 static struct tcf_pedit_key_ex *tcf_pedit_keys_ex_parse(struct nlattr *nla, in tcf_pedit_keys_ex_parse() argument
156 static int tcf_pedit_init(struct net *net, struct nlattr *nla, in tcf_pedit_init() argument
/linux/net/netfilter/
H A Dnf_tables_api.c138 const struct nlattr * const *nla) in nft_ctx_init()
976 const struct nlattr *nla, in nft_table_lookup()
1003 const struct nlattr *nla, in nft_table_lookup_byhandle()
1043 __nf_tables_chain_type_lookup(const struct nlattr *nla, u8 family) in __nf_tables_chain_type_lookup()
1113 nf_tables_chain_type_lookup(struct net *net, const struct nlattr *nla, in nf_tables_chain_type_lookup()
1300 const struct nlattr * const nla[]) in nf_tables_gettable()
1565 const struct nlattr * const nla[]) in nf_tables_newtable()
1732 const struct nlattr * const *nla = ctx->nla; in nft_flush() local
1763 const struct nlattr * const nla[]) in nf_tables_deltable()
1869 const struct nlattr *nla, u8 genmask) in nft_chain_lookup()
[all …]
H A Dnfnetlink_hook.c384 const struct nlattr * const *nla = cb->data; in nfnl_hook_dump_start() local
433 const struct nlattr * const nla[]) in nfnl_hook_get() argument
H A Dnft_set_bitmap.c256 static u64 nft_bitmap_privsize(const struct nlattr * const nla[], in nft_bitmap_privsize() argument
266 const struct nlattr * const nla[]) in nft_bitmap_init() argument
/linux/net/openvswitch/
H A Dmeter.c235 struct nlattr *nla; in ovs_meter_cmd_reply_stats() local
277 struct nlattr *nla, *band_nla; in ovs_meter_cmd_features() local
328 struct nlattr *nla; in dp_meter_create() local
[all...]
H A Dvport.c313 struct nlattr *nla; in ovs_vport_get_upcall_stats() local
369 struct nlattr *nla; in ovs_vport_get_options() local
[all...]
H A Dconntrack.h50 static inline int ovs_ct_copy_action(struct net *net, const struct nlattr *nla, in ovs_ct_copy_action() argument
/linux/drivers/net/vxlan/
H A Dvxlan_private.h94 const struct nlattr *nla) in vxlan_nla_get_addr() argument
135 const struct nlattr *nla) in vxlan_nla_get_addr() argument
/linux/net/psample/
H A Dpsample.c293 struct nlattr *nla; in psample_ip_tun_to_nlattr() local
480 struct nlattr *nla; in psample_sample_packet() local
[all...]
/linux/net/ipv6/
H A Drpl_iptunnel.c67 static int rpl_build_state(struct net *net, struct nlattr *nla, in rpl_build_state() argument
319 struct nlattr *nla; in nla_put_rpl_srh() local
/linux/include/linux/
H A Dgenl_magic_func.h102 #define DPRINT_FIELD(dir, nla_type, name, s, nla) \ argument
112 #define DPRINT_ARRAY(dir, nla_type, name, s, nla) \ argument
123 #define DPRINT_FIELD(dir, nla_type, name, s, nla) do {} while (0) argument
124 #define DPRINT_ARRAY(dir, nla_type, name, s, nla) d argument
[all...]
/linux/net/ipv4/
H A Dmetrics.c15 struct nlattr *nla; in ip_metrics_convert() local
H A Dfib_rules.c231 static int fib4_nl2rule_dscp(const struct nlattr *nla, struct fib4_rule *rule4, in fib4_nl2rule_dscp() argument
246 static int fib4_nl2rule_dscp_mask(const struct nlattr *nla, in fib4_nl2rule_dscp_mask() argument
/linux/net/xfrm/
H A Dxfrm_compat.c305 const struct nlattr *nla, *attrs; in xfrm_xlate64() local
416 struct nlattr *nla; in xfrm_attr_cpy32() local
441 xfrm_xlate32_attr(void * dst,const struct nlattr * nla,size_t * pos,size_t size,struct netlink_ext_ack * extack) xfrm_xlate32_attr() argument
[all...]
/linux/net/ieee802154/
H A Dnl802154.c1304 struct nlattr *nla; in nl802154_prep_scan_event_msg() local
1727 struct nlattr *nla; in nl802154_send_peer_info() local
1823 ieee802154_llsec_parse_dev_addr(struct nlattr *nla, in ieee802154_llsec_parse_dev_addr() argument
1863 ieee802154_llsec_parse_key_id(struct nlattr * nla,struct ieee802154_llsec_key_id * desc) ieee802154_llsec_parse_key_id() argument
2261 ieee802154_llsec_parse_device(struct nlattr * nla,struct ieee802154_llsec_device * dev) ieee802154_llsec_parse_device() argument
2613 llsec_parse_seclevel(struct nlattr * nla,struct ieee802154_llsec_seclevel * sl) llsec_parse_seclevel() argument
[all...]

1234