/Linux-v4.19/tools/lib/bpf/ |
D | nlattr.c | 29 static int nla_len(const struct nlattr *nla) in nla_len() 34 static struct nlattr *nla_next(const struct nlattr *nla, int *remaining) in nla_next() 42 static int nla_ok(const struct nlattr *nla, int remaining) in nla_ok() 49 static void *nla_data(const struct nlattr *nla) in nla_data() 54 static int nla_type(const struct nlattr *nla) in nla_type() 59 static int validate_nla(struct nlattr *nla, int maxtype, in validate_nla() 120 struct nlattr *nla; in nla_parse() local
|
/Linux-v4.19/include/net/ |
D | netlink.h | 686 static inline int nla_type(const struct nlattr *nla) in nla_type() 695 static inline void *nla_data(const struct nlattr *nla) in nla_data() 704 static inline int nla_len(const struct nlattr *nla) in nla_len() 714 static inline int nla_ok(const struct nlattr *nla, int remaining) in nla_ok() 729 static inline struct nlattr *nla_next(const struct nlattr *nla, int *remaining) in nla_next() 745 nla_find_nested(const struct nlattr *nla, int attrtype) in nla_find_nested() 761 const struct nlattr *nla, in nla_parse_nested() 1071 static inline u32 nla_get_u32(const struct nlattr *nla) in nla_get_u32() 1080 static inline __be32 nla_get_be32(const struct nlattr *nla) in nla_get_be32() 1089 static inline __le32 nla_get_le32(const struct nlattr *nla) in nla_get_le32() [all …]
|
/Linux-v4.19/lib/ |
D | nlattr.c | 47 static int validate_nla_bitfield32(const struct nlattr *nla, in validate_nla_bitfield32() 71 static int validate_nla(const struct nlattr *nla, int maxtype, in validate_nla() 179 const struct nlattr *nla; in nla_validate() local 244 const struct nlattr *nla; in nla_parse() local 286 const struct nlattr *nla; in nla_find() local 309 size_t nla_strlcpy(char *dst, const struct nlattr *nla, size_t dstsize) in nla_strlcpy() 335 char *nla_strdup(const struct nlattr *nla, gfp_t flags) in nla_strdup() 381 int nla_memcmp(const struct nlattr *nla, const void *data, in nla_memcmp() 398 int nla_strcmp(const struct nlattr *nla, const char *str) in nla_strcmp() 431 struct nlattr *nla; in __nla_reserve() local [all …]
|
/Linux-v4.19/drivers/block/drbd/ |
D | drbd_nla.c | 7 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() 43 struct nlattr *drbd_nla_find_nested(int maxtype, struct nlattr *nla, int attrtype) in drbd_nla_find_nested()
|
/Linux-v4.19/net/netfilter/ |
D | nf_tables_api.c | 75 const struct nlattr * const *nla) in nft_ctx_init() 406 const struct nlattr *nla, in nft_table_lookup() 425 const struct nlattr *nla, in nft_table_lookup_byhandle() 447 __nf_tables_chain_type_lookup(const struct nlattr *nla, u8 family) in __nf_tables_chain_type_lookup() 498 nf_tables_chain_type_lookup(struct net *net, const struct nlattr *nla, in nf_tables_chain_type_lookup() 646 const struct nlattr * const nla[], in nf_tables_gettable() 803 const struct nlattr * const nla[], in nf_tables_newtable() 940 const struct nlattr * const *nla = ctx->nla; in nft_flush() local 968 const struct nlattr * const nla[], in nf_tables_deltable() 1067 const struct nlattr *nla, u8 genmask) in nft_chain_lookup() [all …]
|
D | nft_set_bitmap.c | 256 static u64 nft_bitmap_privsize(const struct nlattr * const nla[], in nft_bitmap_privsize() 266 const struct nlattr * const nla[]) in nft_bitmap_init()
|
D | nf_tables_trace.c | 51 struct nlattr *nla; in trace_fill_header() local
|
/Linux-v4.19/net/wimax/ |
D | op-msg.c | 187 struct nlattr *nla; in wimax_msg_data_len() local 209 struct nlattr *nla; in wimax_msg_data() local 230 struct nlattr *nla; in wimax_msg_len() local
|
/Linux-v4.19/net/sched/ |
D | act_tunnel_key.c | 71 tunnel_key_copy_geneve_opt(const struct nlattr *nla, void *dst, int dst_len, in tunnel_key_copy_geneve_opt() 121 static int tunnel_key_copy_opts(const struct nlattr *nla, u8 *dst, in tunnel_key_copy_opts() 161 static int tunnel_key_get_opts_len(struct nlattr *nla, in tunnel_key_get_opts_len() 167 static int tunnel_key_opts_set(struct nlattr *nla, struct ip_tunnel_info *info, in tunnel_key_opts_set() 200 static int tunnel_key_init(struct net *net, struct nlattr *nla, in tunnel_key_init()
|
D | act_bpf.c | 101 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()
|
D | act_ipt.c | 98 static int __tcf_ipt_init(struct net *net, unsigned int id, struct nlattr *nla, in __tcf_ipt_init() 207 static int tcf_ipt_init(struct net *net, struct nlattr *nla, in tcf_ipt_init() 216 static int tcf_xt_init(struct net *net, struct nlattr *nla, in tcf_xt_init()
|
D | ematch.c | 175 struct tcf_ematch *em, struct nlattr *nla, int idx) in tcf_em_validate() 304 int tcf_em_tree_validate(struct tcf_proto *tp, struct nlattr *nla, in tcf_em_tree_validate()
|
D | act_api.c | 791 struct nlattr *nla, struct nlattr *est, in tcf_action_init_1() 917 int tcf_action_init(struct net *net, struct tcf_proto *tp, struct nlattr *nla, in tcf_action_init() 1051 static struct tc_action *tcf_action_get_1(struct net *net, struct nlattr *nla, in tcf_action_get_1() 1092 static int tca_action_flush(struct net *net, struct nlattr *nla, in tca_action_flush() 1233 tca_action_gd(struct net *net, struct nlattr *nla, struct nlmsghdr *n, in tca_action_gd() 1306 static int tcf_action_add(struct net *net, struct nlattr *nla, in tcf_action_add() 1386 static struct nlattr *find_dump_kind(struct nlattr **nla) in find_dump_kind()
|
D | act_pedit.c | 40 static struct tcf_pedit_key_ex *tcf_pedit_keys_ex_parse(struct nlattr *nla, in tcf_pedit_keys_ex_parse() 138 static int tcf_pedit_init(struct net *net, struct nlattr *nla, in tcf_pedit_init()
|
D | sch_fifo.c | 148 struct nlattr *nla; in fifo_set_limit() local
|
D | sch_mqprio.c | 122 static int parse_attr(struct nlattr *tb[], int maxtype, struct nlattr *nla, in parse_attr() 389 struct nlattr *nla = (struct nlattr *)skb_tail_pointer(skb); in mqprio_dump() local
|
/Linux-v4.19/net/openvswitch/ |
D | meter.c | 114 struct nlattr *nla; in ovs_meter_cmd_reply_stats() local 157 struct nlattr *nla, *band_nla; in ovs_meter_cmd_features() local 193 struct nlattr *nla; in dp_meter_create() local
|
D | flow_netlink.c | 66 struct nlattr *nla; in actions_may_change_flow() local 476 const struct nlattr *nla; in __parse_flow_nlattrs() local 837 struct nlattr *nla; in vxlan_opt_to_nlattr() local 923 struct nlattr *nla; in ip_tun_to_nlattr() local 1710 struct nlattr *nla; in nlattr_set() local 1963 struct nlattr *nla; in __ovs_nla_put_key() local 2202 struct nlattr *nla; in ovs_nla_put_key() local 3224 struct nlattr *nla; in masked_set_action_to_set_action_attr() local
|
D | conntrack.h | 57 static inline int ovs_ct_copy_action(struct net *net, const struct nlattr *nla, in ovs_ct_copy_action()
|
/Linux-v4.19/net/ipv4/ |
D | metrics.c | 12 struct nlattr *nla; in ip_metrics_convert() local
|
/Linux-v4.19/include/linux/ |
D | genl_magic_func.h | 101 #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-v4.19/net/core/ |
D | drop_monitor.c | 75 struct nlattr *nla; in reset_per_cpu_data() local 158 struct nlattr *nla; in trace_drop_common() local
|
/Linux-v4.19/net/ipv6/ |
D | seg6_local.c | 666 struct nlattr *nla; in put_nla_srh() local 724 struct nlattr *nla; in put_nla_nh4() local 750 struct nlattr *nla; in put_nla_nh6() local 950 static int seg6_local_build_state(struct nlattr *nla, unsigned int family, in seg6_local_build_state()
|
D | seg6_iptunnel.c | 59 struct nlattr *nla; in nla_put_srh() local 381 static int seg6_build_state(struct nlattr *nla, in seg6_build_state()
|
/Linux-v4.19/net/mpls/ |
D | af_mpls.c | 719 static int nla_get_via(const struct nlattr *nla, u8 *via_alen, u8 *via_table, in nla_get_via() 846 struct nlattr *nla, *attrs = rtnh_attrs(rtnh); in mpls_count_nexthops() local 1104 struct nlattr *nla; in mpls_fill_stats_af() local 1609 struct nlattr *nla; in nla_put_via() local 1629 struct nlattr *nla; in nla_put_labels() local 1648 int nla_get_labels(const struct nlattr *nla, u8 max_labels, u8 *labels, in nla_get_labels() 1799 struct nlattr *nla = tb[index]; in rtm_to_route_config() local
|