Home
last modified time | relevance | path

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

123456789

/kernel/linux/linux-6.6/tools/lib/bpf/
Dnlattr.h84 static inline void *libbpf_nla_data(const struct nlattr *nla) in libbpf_nla_data()
89 static inline uint8_t libbpf_nla_getattr_u8(const struct nlattr *nla) in libbpf_nla_getattr_u8()
94 static inline uint16_t libbpf_nla_getattr_u16(const struct nlattr *nla) in libbpf_nla_getattr_u16()
99 static inline uint32_t libbpf_nla_getattr_u32(const struct nlattr *nla) in libbpf_nla_getattr_u32()
104 static inline uint64_t libbpf_nla_getattr_u64(const struct nlattr *nla) in libbpf_nla_getattr_u64()
109 static inline const char *libbpf_nla_getattr_str(const struct nlattr *nla) in libbpf_nla_getattr_str()
118 static inline int libbpf_nla_len(const struct nlattr *nla) in libbpf_nla_len()
131 static inline struct nlattr *nla_data(struct nlattr *nla) in nla_data()
144 struct nlattr *nla; in nlattr_add() local
Dnlattr.c25 static struct nlattr *nla_next(const struct nlattr *nla, int *remaining) in nla_next()
33 static int nla_ok(const struct nlattr *nla, int remaining) in nla_ok()
40 static int nla_type(const struct nlattr *nla) in nla_type()
45 static int validate_nla(struct nlattr *nla, int maxtype, in validate_nla()
107 struct nlattr *nla; in libbpf_nla_parse() local
150 struct nlattr *nla, in libbpf_nla_parse_nested()
/kernel/linux/linux-5.10/tools/lib/bpf/
Dnlattr.c25 static struct nlattr *nla_next(const struct nlattr *nla, int *remaining) in nla_next()
33 static int nla_ok(const struct nlattr *nla, int remaining) in nla_ok()
40 static int nla_type(const struct nlattr *nla) in nla_type()
45 static int validate_nla(struct nlattr *nla, int maxtype, in validate_nla()
107 struct nlattr *nla; in libbpf_nla_parse() local
150 struct nlattr *nla, in libbpf_nla_parse_nested()
Dnlattr.h69 static inline void *libbpf_nla_data(const struct nlattr *nla) in libbpf_nla_data()
74 static inline uint8_t libbpf_nla_getattr_u8(const struct nlattr *nla) in libbpf_nla_getattr_u8()
79 static inline uint32_t libbpf_nla_getattr_u32(const struct nlattr *nla) in libbpf_nla_getattr_u32()
84 static inline const char *libbpf_nla_getattr_str(const struct nlattr *nla) in libbpf_nla_getattr_str()
93 static inline int libbpf_nla_len(const struct nlattr *nla) in libbpf_nla_len()
/kernel/linux/linux-6.6/lib/
Dnlattr.c66 static int validate_nla_bitfield32(const struct nlattr *nla, in validate_nla_bitfield32()
170 const struct nlattr *nla, in nla_validate_range_unsigned()
283 const struct nlattr *nla, in nla_validate_int_range_signed()
318 const struct nlattr *nla, in nla_validate_int_range()
344 const struct nlattr *nla, in nla_validate_mask()
380 static int validate_nla(const struct nlattr *nla, int maxtype, in validate_nla()
588 const struct nlattr *nla; in __nla_validate_parse() local
725 const struct nlattr *nla; in nla_find() local
750 ssize_t nla_strscpy(char *dst, const struct nlattr *nla, size_t dstsize) in nla_strscpy()
786 char *nla_strdup(const struct nlattr *nla, gfp_t flags) in nla_strdup()
[all …]
/kernel/linux/linux-5.10/lib/
Dnlattr.c62 static int validate_nla_bitfield32(const struct nlattr *nla, in validate_nla_bitfield32()
164 const struct nlattr *nla, in nla_validate_range_unsigned()
269 const struct nlattr *nla, in nla_validate_int_range_signed()
304 const struct nlattr *nla, in nla_validate_int_range()
328 const struct nlattr *nla, in nla_validate_mask()
358 static int validate_nla(const struct nlattr *nla, int maxtype, in validate_nla()
566 const struct nlattr *nla; in __nla_validate_parse() local
703 const struct nlattr *nla; in nla_find() local
726 size_t nla_strlcpy(char *dst, const struct nlattr *nla, size_t dstsize) in nla_strlcpy()
752 char *nla_strdup(const struct nlattr *nla, gfp_t flags) in nla_strdup()
[all …]
/kernel/linux/linux-5.10/include/net/
Dnetlink.h1128 static inline int nla_type(const struct nlattr *nla) in nla_type()
1137 static inline void *nla_data(const struct nlattr *nla) in nla_data()
1146 static inline int nla_len(const struct nlattr *nla) in nla_len()
1156 static inline int nla_ok(const struct nlattr *nla, int remaining) in nla_ok()
1171 static inline struct nlattr *nla_next(const struct nlattr *nla, int *remaining) in nla_next()
1187 nla_find_nested(const struct nlattr *nla, int attrtype) in nla_find_nested()
1203 const struct nlattr *nla, in nla_parse_nested()
1227 const struct nlattr *nla, in nla_parse_nested_deprecated()
1552 static inline u32 nla_get_u32(const struct nlattr *nla) in nla_get_u32()
1561 static inline __be32 nla_get_be32(const struct nlattr *nla) in nla_get_be32()
[all …]
Dbpf_sk_storage.h46 bpf_sk_storage_diag_alloc(const struct nlattr *nla) in bpf_sk_storage_diag_alloc()
/kernel/linux/linux-6.6/include/net/
Dnetlink.h1174 static inline int nla_type(const struct nlattr *nla) in nla_type()
1183 static inline void *nla_data(const struct nlattr *nla) in nla_data()
1192 static inline int nla_len(const struct nlattr *nla) in nla_len()
1202 static inline int nla_ok(const struct nlattr *nla, int remaining) in nla_ok()
1217 static inline struct nlattr *nla_next(const struct nlattr *nla, int *remaining) in nla_next()
1233 nla_find_nested(const struct nlattr *nla, int attrtype) in nla_find_nested()
1249 const struct nlattr *nla, in nla_parse_nested()
1273 const struct nlattr *nla, in nla_parse_nested_deprecated()
1598 static inline u32 nla_get_u32(const struct nlattr *nla) in nla_get_u32()
1607 static inline __be32 nla_get_be32(const struct nlattr *nla) in nla_get_be32()
[all …]
Dbpf_sk_storage.h47 bpf_sk_storage_diag_alloc(const struct nlattr *nla) in bpf_sk_storage_diag_alloc()
/kernel/linux/linux-6.6/drivers/block/drbd/
Ddrbd_nla.c7 static int drbd_nla_check_mandatory(int maxtype, struct nlattr *nla) in drbd_nla_check_mandatory()
31 int drbd_nla_parse_nested(struct nlattr *tb[], int maxtype, struct nlattr *nla, in drbd_nla_parse_nested()
44 struct nlattr *drbd_nla_find_nested(int maxtype, struct nlattr *nla, int attrtype) in drbd_nla_find_nested()
/kernel/linux/linux-5.10/drivers/block/drbd/
Ddrbd_nla.c7 static int drbd_nla_check_mandatory(int maxtype, struct nlattr *nla) in drbd_nla_check_mandatory()
31 int drbd_nla_parse_nested(struct nlattr *tb[], int maxtype, struct nlattr *nla, in drbd_nla_parse_nested()
44 struct nlattr *drbd_nla_find_nested(int maxtype, struct nlattr *nla, int attrtype) in drbd_nla_find_nested()
/kernel/linux/linux-6.6/net/sched/
Dact_tunnel_key.c88 tunnel_key_copy_geneve_opt(const struct nlattr *nla, void *dst, int dst_len, in tunnel_key_copy_geneve_opt()
140 tunnel_key_copy_vxlan_opt(const struct nlattr *nla, void *dst, int dst_len, in tunnel_key_copy_vxlan_opt()
167 tunnel_key_copy_erspan_opt(const struct nlattr *nla, void *dst, int dst_len, in tunnel_key_copy_erspan_opt()
219 static int tunnel_key_copy_opts(const struct nlattr *nla, u8 *dst, in tunnel_key_copy_opts()
292 static int tunnel_key_get_opts_len(struct nlattr *nla, in tunnel_key_get_opts_len()
298 static int tunnel_key_opts_set(struct nlattr *nla, struct ip_tunnel_info *info, in tunnel_key_opts_set()
357 static int tunnel_key_init(struct net *net, struct nlattr *nla, in tunnel_key_init()
Dact_ipt.c95 static int __tcf_ipt_init(struct net *net, unsigned int id, struct nlattr *nla, in __tcf_ipt_init()
216 static int tcf_ipt_init(struct net *net, struct nlattr *nla, in tcf_ipt_init()
225 static int tcf_xt_init(struct net *net, struct nlattr *nla, in tcf_xt_init()
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 static int tcf_bpf_init(struct net *net, struct nlattr *nla, in tcf_bpf_init()
Dematch.c171 struct tcf_ematch *em, struct nlattr *nla, int idx) in tcf_em_validate()
305 int tcf_em_tree_validate(struct tcf_proto *tp, struct nlattr *nla, in tcf_em_tree_validate()
/kernel/linux/linux-5.10/net/sched/
Dact_tunnel_key.c87 tunnel_key_copy_geneve_opt(const struct nlattr *nla, void *dst, int dst_len, in tunnel_key_copy_geneve_opt()
139 tunnel_key_copy_vxlan_opt(const struct nlattr *nla, void *dst, int dst_len, in tunnel_key_copy_vxlan_opt()
166 tunnel_key_copy_erspan_opt(const struct nlattr *nla, void *dst, int dst_len, in tunnel_key_copy_erspan_opt()
218 static int tunnel_key_copy_opts(const struct nlattr *nla, u8 *dst, in tunnel_key_copy_opts()
291 static int tunnel_key_get_opts_len(struct nlattr *nla, in tunnel_key_get_opts_len()
297 static int tunnel_key_opts_set(struct nlattr *nla, struct ip_tunnel_info *info, in tunnel_key_opts_set()
356 static int tunnel_key_init(struct net *net, struct nlattr *nla, in tunnel_key_init()
Dact_bpf.c101 struct nlattr *nla; in tcf_bpf_dump_bpf_info() local
119 struct nlattr *nla; in tcf_bpf_dump_ebpf_info() local
278 static int tcf_bpf_init(struct net *net, struct nlattr *nla, in tcf_bpf_init()
Dact_api.c939 struct tc_action_ops *tc_action_load_ops(char *name, struct nlattr *nla, in tc_action_load_ops()
1001 struct nlattr *nla, struct nlattr *est, in tcf_action_init_1()
1060 int tcf_action_init(struct net *net, struct tcf_proto *tp, struct nlattr *nla, in tcf_action_init()
1241 static struct tc_action *tcf_action_get_1(struct net *net, struct nlattr *nla, in tcf_action_get_1()
1285 static int tca_action_flush(struct net *net, struct nlattr *nla, in tca_action_flush()
1427 tca_action_gd(struct net *net, struct nlattr *nla, struct nlmsghdr *n, in tca_action_gd()
1500 static int tcf_action_add(struct net *net, struct nlattr *nla, in tcf_action_add()
1585 static struct nlattr *find_dump_kind(struct nlattr **nla) in find_dump_kind()
Dematch.c171 struct tcf_ematch *em, struct nlattr *nla, int idx) in tcf_em_validate()
305 int tcf_em_tree_validate(struct tcf_proto *tp, struct nlattr *nla, in tcf_em_tree_validate()
Dact_ipt.c95 static int __tcf_ipt_init(struct net *net, unsigned int id, struct nlattr *nla, in __tcf_ipt_init()
203 static int tcf_ipt_init(struct net *net, struct nlattr *nla, in tcf_ipt_init()
212 static int tcf_xt_init(struct net *net, struct nlattr *nla, in tcf_xt_init()
/kernel/linux/linux-5.10/net/wimax/
Dop-msg.c172 struct nlattr *nla; in wimax_msg_data_len() local
194 struct nlattr *nla; in wimax_msg_data() local
215 struct nlattr *nla; in wimax_msg_len() local
/kernel/linux/linux-5.10/net/netfilter/
Dnf_tables_api.c139 const struct nlattr * const *nla) in nft_ctx_init()
692 const struct nlattr *nla, in nft_table_lookup()
714 const struct nlattr *nla, in nft_table_lookup_byhandle()
748 __nf_tables_chain_type_lookup(const struct nlattr *nla, u8 family) in __nf_tables_chain_type_lookup()
816 nf_tables_chain_type_lookup(struct net *net, const struct nlattr *nla, in nf_tables_chain_type_lookup()
988 const struct nlattr * const nla[], in nf_tables_gettable()
1215 const struct nlattr * const nla[], in nf_tables_newtable()
1378 const struct nlattr * const *nla = ctx->nla; in nft_flush() local
1406 const struct nlattr * const nla[], in nf_tables_deltable()
1506 const struct nlattr *nla, u8 genmask) in nft_chain_lookup()
[all …]
/kernel/linux/linux-6.6/net/netfilter/
Dnf_tables_api.c137 const struct nlattr * const *nla) in nft_ctx_init()
782 const struct nlattr *nla, in nft_table_lookup()
809 const struct nlattr *nla, in nft_table_lookup_byhandle()
849 __nf_tables_chain_type_lookup(const struct nlattr *nla, u8 family) in __nf_tables_chain_type_lookup()
919 nf_tables_chain_type_lookup(struct net *net, const struct nlattr *nla, in nf_tables_chain_type_lookup()
1105 const struct nlattr * const nla[]) in nf_tables_gettable()
1338 const struct nlattr * const nla[]) in nf_tables_newtable()
1505 const struct nlattr * const *nla = ctx->nla; in nft_flush() local
1536 const struct nlattr * const nla[]) in nf_tables_deltable()
1642 const struct nlattr *nla, u8 genmask) in nft_chain_lookup()
[all …]
/kernel/linux/linux-6.6/drivers/net/vxlan/
Dvxlan_private.h89 const struct nlattr *nla) in vxlan_nla_get_addr()
130 const struct nlattr *nla) in vxlan_nla_get_addr()

123456789