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 static inline int nla_type(const struct nlattr *nla) in nla_type()
1285 static inline void *nla_data(const struct nlattr *nla) in nla_data()
1294 static inline u16 nla_len(const struct nlattr *nla) in nla_len()
1304 static inline int nla_ok(const struct nlattr *nla, int remaining) in nla_ok()
1319 static inline struct nlattr *nla_next(const struct nlattr *nla, int *remaining) in nla_next()
1335 nla_find_nested(const struct nlattr *nla, int attrtype) in nla_find_nested()
1351 const struct nlattr *nla, in nla_parse_nested()
1375 const struct nlattr *nla, in nla_parse_nested_deprecated()
1732 static inline u32 nla_get_u32(const struct nlattr *nla) in nla_get_u32()
1744 static inline u32 nla_get_u32_default(const struct nlattr *nla, u32 defvalue) in nla_get_u32_default()
[all …]
H A Dbpf_sk_storage.h47 bpf_sk_storage_diag_alloc(const struct nlattr *nla) in bpf_sk_storage_diag_alloc()
/linux/tools/lib/bpf/
H A 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
H A 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
149 struct nlattr *nla, in libbpf_nla_parse_nested()
/linux/lib/
H A Dnlattr.c66 static int validate_nla_bitfield32(const struct nlattr *nla, in validate_nla_bitfield32()
171 const struct nlattr *nla, in nla_validate_range_unsigned()
288 const struct nlattr *nla, in nla_validate_int_range_signed()
326 const struct nlattr *nla, in nla_validate_int_range()
354 const struct nlattr *nla, in nla_validate_mask()
393 static int validate_nla(const struct nlattr *nla, int maxtype, in validate_nla()
610 const struct nlattr *nla; in __nla_validate_parse() local
747 const struct nlattr *nla; in nla_find() local
772 ssize_t nla_strscpy(char *dst, const struct nlattr *nla, size_t dstsize) in nla_strscpy()
808 char *nla_strdup(const struct nlattr *nla, gfp_t flags) in nla_strdup()
[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()
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()
/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()
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()
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 static int tcf_bpf_init(struct net *net, struct nlattr *nla, in tcf_bpf_init()
H A 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()
H A Dact_api.c1332 struct tc_action_ops *tc_action_load_ops(struct nlattr *nla, u32 flags, in tc_action_load_ops()
1396 struct nlattr *nla, struct nlattr *est, in tcf_action_init_1()
1464 int tcf_action_init(struct net *net, struct tcf_proto *tp, struct nlattr *nla, in tcf_action_init()
1700 static struct tc_action *tcf_action_get_1(struct net *net, struct nlattr *nla, in tcf_action_get_1()
1744 static int tca_action_flush(struct net *net, struct nlattr *nla, in tca_action_flush()
2003 tca_action_gd(struct net *net, struct nlattr *nla, struct nlmsghdr *n, in tca_action_gd()
2090 static int tcf_action_add(struct net *net, struct nlattr *nla, in tcf_action_add()
2175 static struct nlattr *find_dump_kind(struct nlattr **nla) in find_dump_kind()
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()
156 static int tcf_pedit_init(struct net *net, struct nlattr *nla, in tcf_pedit_init()
/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()
H A Dnft_set_bitmap.c256 static u64 nft_bitmap_privsize(const struct nlattr * const nla[], in nft_bitmap_privsize()
266 const struct nlattr * const nla[]) in nft_bitmap_init()
/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
H A Dvport.c313 struct nlattr *nla; in ovs_vport_get_upcall_stats() local
369 struct nlattr *nla; in ovs_vport_get_options() local
H A Dconntrack.h50 static inline int ovs_ct_copy_action(struct net *net, const struct nlattr *nla, in ovs_ct_copy_action()
/linux/drivers/net/vxlan/
H A Dvxlan_private.h94 const struct nlattr *nla) in vxlan_nla_get_addr()
135 const struct nlattr *nla) in vxlan_nla_get_addr()
/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
/linux/net/ipv6/
H A Drpl_iptunnel.c67 static int rpl_build_state(struct net *net, struct nlattr *nla, in rpl_build_state()
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) do {} while (0) argument
/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()
246 static int fib4_nl2rule_dscp_mask(const struct nlattr *nla, in fib4_nl2rule_dscp_mask()
/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 static int xfrm_xlate32_attr(void *dst, const struct nlattr *nla, in xfrm_xlate32_attr()
/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()
1863 ieee802154_llsec_parse_key_id(struct nlattr *nla, in ieee802154_llsec_parse_key_id()
2261 ieee802154_llsec_parse_device(struct nlattr *nla, in ieee802154_llsec_parse_device()
2613 llsec_parse_seclevel(struct nlattr *nla, struct ieee802154_llsec_seclevel *sl) in llsec_parse_seclevel()

1234