Home
last modified time | relevance | path

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

1234

/Linux-v5.4/tools/lib/bpf/
Dnlattr.c24 static struct nlattr *nla_next(const struct nlattr *nla, int *remaining) in nla_next()
32 static int nla_ok(const struct nlattr *nla, int remaining) in nla_ok()
39 static int nla_type(const struct nlattr *nla) in nla_type()
44 static int validate_nla(struct nlattr *nla, int maxtype, in validate_nla()
106 struct nlattr *nla; in libbpf_nla_parse() local
149 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()
/Linux-v5.4/lib/
Dnlattr.c47 static int validate_nla_bitfield32(const struct nlattr *nla, in validate_nla_bitfield32()
100 const struct nlattr *nla, in nla_validate_int_range()
157 static int validate_nla(const struct nlattr *nla, int maxtype, in validate_nla()
363 const struct nlattr *nla; in __nla_validate_parse() local
493 const struct nlattr *nla; in nla_find() local
516 size_t nla_strlcpy(char *dst, const struct nlattr *nla, size_t dstsize) in nla_strlcpy()
542 char *nla_strdup(const struct nlattr *nla, gfp_t flags) in nla_strdup()
588 int nla_memcmp(const struct nlattr *nla, const void *data, in nla_memcmp()
605 int nla_strcmp(const struct nlattr *nla, const char *str) in nla_strcmp()
638 struct nlattr *nla; in __nla_reserve() local
[all …]
/Linux-v5.4/include/net/
Dnetlink.h1063 static inline int nla_type(const struct nlattr *nla) in nla_type()
1072 static inline void *nla_data(const struct nlattr *nla) in nla_data()
1081 static inline int nla_len(const struct nlattr *nla) in nla_len()
1091 static inline int nla_ok(const struct nlattr *nla, int remaining) in nla_ok()
1106 static inline struct nlattr *nla_next(const struct nlattr *nla, int *remaining) in nla_next()
1122 nla_find_nested(const struct nlattr *nla, int attrtype) in nla_find_nested()
1138 const struct nlattr *nla, in nla_parse_nested()
1162 const struct nlattr *nla, in nla_parse_nested_deprecated()
1472 static inline u32 nla_get_u32(const struct nlattr *nla) in nla_get_u32()
1481 static inline __be32 nla_get_be32(const struct nlattr *nla) in nla_get_be32()
[all …]
/Linux-v5.4/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()
/Linux-v5.4/net/netfilter/
Dnf_tables_api.c91 const struct nlattr * const *nla) in nft_ctx_init()
449 const struct nlattr *nla, in nft_table_lookup()
468 const struct nlattr *nla, in nft_table_lookup_byhandle()
490 __nf_tables_chain_type_lookup(const struct nlattr *nla, u8 family) in __nf_tables_chain_type_lookup()
541 nf_tables_chain_type_lookup(struct net *net, const struct nlattr *nla, in nf_tables_chain_type_lookup()
689 const struct nlattr * const nla[], in nf_tables_gettable()
874 const struct nlattr * const nla[], in nf_tables_newtable()
1011 const struct nlattr * const *nla = ctx->nla; in nft_flush() local
1039 const struct nlattr * const nla[], in nf_tables_deltable()
1139 const struct nlattr *nla, u8 genmask) in nft_chain_lookup()
[all …]
Dnft_set_bitmap.c253 static u64 nft_bitmap_privsize(const struct nlattr * const nla[], in nft_bitmap_privsize()
263 const struct nlattr * const nla[]) in nft_bitmap_init()
Dnf_tables_trace.c48 struct nlattr *nla; in trace_fill_header() local
/Linux-v5.4/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
/Linux-v5.4/net/sched/
Dact_tunnel_key.c68 tunnel_key_copy_geneve_opt(const struct nlattr *nla, void *dst, int dst_len, in tunnel_key_copy_geneve_opt()
119 static int tunnel_key_copy_opts(const struct nlattr *nla, u8 *dst, in tunnel_key_copy_opts()
163 static int tunnel_key_get_opts_len(struct nlattr *nla, in tunnel_key_get_opts_len()
169 static int tunnel_key_opts_set(struct nlattr *nla, struct ip_tunnel_info *info, in tunnel_key_opts_set()
212 static int tunnel_key_init(struct net *net, struct nlattr *nla, in tunnel_key_init()
Dact_bpf.c98 struct nlattr *nla; in tcf_bpf_dump_bpf_info() local
116 struct nlattr *nla; in tcf_bpf_dump_ebpf_info() local
275 static int tcf_bpf_init(struct net *net, struct nlattr *nla, in tcf_bpf_init()
Dact_ipt.c95 static int __tcf_ipt_init(struct net *net, unsigned int id, struct nlattr *nla, in __tcf_ipt_init()
205 static int tcf_ipt_init(struct net *net, struct nlattr *nla, in tcf_ipt_init()
214 static int tcf_xt_init(struct net *net, struct nlattr *nla, in tcf_xt_init()
Dematch.c171 struct tcf_ematch *em, struct nlattr *nla, int idx) in tcf_em_validate()
300 int tcf_em_tree_validate(struct tcf_proto *tp, struct nlattr *nla, in tcf_em_tree_validate()
Dact_api.c843 struct nlattr *nla, struct nlattr *est, in tcf_action_init_1()
955 int tcf_action_init(struct net *net, struct tcf_proto *tp, struct nlattr *nla, in tcf_action_init()
1092 static struct tc_action *tcf_action_get_1(struct net *net, struct nlattr *nla, in tcf_action_get_1()
1136 static int tca_action_flush(struct net *net, struct nlattr *nla, in tca_action_flush()
1278 tca_action_gd(struct net *net, struct nlattr *nla, struct nlmsghdr *n, in tca_action_gd()
1351 static int tcf_action_add(struct net *net, struct nlattr *nla, in tcf_action_add()
1433 static struct nlattr *find_dump_kind(struct nlattr **nla) in find_dump_kind()
Dact_pedit.c37 static struct tcf_pedit_key_ex *tcf_pedit_keys_ex_parse(struct nlattr *nla, in tcf_pedit_keys_ex_parse()
137 static int tcf_pedit_init(struct net *net, struct nlattr *nla, in tcf_pedit_init()
Dsch_fifo.c144 struct nlattr *nla; in fifo_set_limit() local
Dsch_mqprio.c119 static int parse_attr(struct nlattr *tb[], int maxtype, struct nlattr *nla, in parse_attr()
387 struct nlattr *nla = (struct nlattr *)skb_tail_pointer(skb); in mqprio_dump() local
/Linux-v5.4/net/openvswitch/
Dmeter.c111 struct nlattr *nla; in ovs_meter_cmd_reply_stats() local
154 struct nlattr *nla, *band_nla; in ovs_meter_cmd_features() local
190 struct nlattr *nla; in dp_meter_create() local
Dflow_netlink.c53 struct nlattr *nla; in actions_may_change_flow() local
465 const struct nlattr *nla; in __parse_flow_nlattrs() local
844 struct nlattr *nla; in vxlan_opt_to_nlattr() local
935 struct nlattr *nla; in ip_tun_to_nlattr() local
1722 struct nlattr *nla; in nlattr_set() local
1975 struct nlattr *nla; in __ovs_nla_put_key() local
2215 struct nlattr *nla; in ovs_nla_put_key() local
3404 struct nlattr *nla; in masked_set_action_to_set_action_attr() local
Dconntrack.h49 static inline int ovs_ct_copy_action(struct net *net, const struct nlattr *nla, in ovs_ct_copy_action()
/Linux-v5.4/net/ipv4/
Dmetrics.c14 struct nlattr *nla; in ip_metrics_convert() local
/Linux-v5.4/include/linux/
Dgenl_magic_func.h101 #define DPRINT_FIELD(dir, nla_type, name, s, nla) \ argument
111 #define DPRINT_ARRAY(dir, nla_type, name, s, nla) \ argument
122 #define DPRINT_FIELD(dir, nla_type, name, s, nla) do {} while (0) argument
123 #define DPRINT_ARRAY(dir, nla_type, name, s, nla) do {} while (0) argument
/Linux-v5.4/net/ipv6/
Dseg6_local.c672 struct nlattr *nla; in put_nla_srh() local
730 struct nlattr *nla; in put_nla_nh4() local
756 struct nlattr *nla; in put_nla_nh6() local
957 static int seg6_local_build_state(struct nlattr *nla, unsigned int family, in seg6_local_build_state()
Dseg6_iptunnel.c54 struct nlattr *nla; in nla_put_srh() local
379 static int seg6_build_state(struct nlattr *nla, in seg6_build_state()
/Linux-v5.4/net/mpls/
Daf_mpls.c718 static int nla_get_via(const struct nlattr *nla, u8 *via_alen, u8 *via_table, in nla_get_via()
845 struct nlattr *nla, *attrs = rtnh_attrs(rtnh); in mpls_count_nexthops() local
1103 struct nlattr *nla; in mpls_fill_stats_af() local
1662 struct nlattr *nla; in nla_put_via() local
1682 struct nlattr *nla; in nla_put_labels() local
1701 int nla_get_labels(const struct nlattr *nla, u8 max_labels, u8 *labels, in nla_get_labels()
1852 struct nlattr *nla = tb[index]; in rtm_to_route_config() local

1234