/Linux-v5.15/lib/ |
D | nlattr.c | 61 static int validate_nla_bitfield32(const struct nlattr *nla, in validate_nla_bitfield32() 163 const struct nlattr *nla, in nla_validate_range_unsigned() 268 const struct nlattr *nla, in nla_validate_int_range_signed() 303 const struct nlattr *nla, in nla_validate_int_range() 327 const struct nlattr *nla, in nla_validate_mask() 357 static int validate_nla(const struct nlattr *nla, int maxtype, in validate_nla() 564 const struct nlattr *nla; in __nla_validate_parse() local 700 const struct nlattr *nla; in nla_find() local 725 ssize_t nla_strscpy(char *dst, const struct nlattr *nla, size_t dstsize) in nla_strscpy() 761 char *nla_strdup(const struct nlattr *nla, gfp_t flags) in nla_strdup() [all …]
|
/Linux-v5.15/tools/lib/bpf/ |
D | nlattr.c | 25 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()
|
D | nlattr.h | 82 static inline void *libbpf_nla_data(const struct nlattr *nla) in libbpf_nla_data() 87 static inline uint8_t libbpf_nla_getattr_u8(const struct nlattr *nla) in libbpf_nla_getattr_u8() 92 static inline uint32_t libbpf_nla_getattr_u32(const struct nlattr *nla) in libbpf_nla_getattr_u32() 97 static inline const char *libbpf_nla_getattr_str(const struct nlattr *nla) in libbpf_nla_getattr_str() 106 static inline int libbpf_nla_len(const struct nlattr *nla) in libbpf_nla_len() 119 static inline struct nlattr *nla_data(struct nlattr *nla) in nla_data() 132 struct nlattr *nla; in nlattr_add() local
|
/Linux-v5.15/include/net/ |
D | netlink.h | 1128 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 …]
|
D | bpf_sk_storage.h | 47 bpf_sk_storage_diag_alloc(const struct nlattr *nla) in bpf_sk_storage_diag_alloc()
|
/Linux-v5.15/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() 44 struct nlattr *drbd_nla_find_nested(int maxtype, struct nlattr *nla, int attrtype) in drbd_nla_find_nested()
|
/Linux-v5.15/net/sched/ |
D | act_tunnel_key.c | 87 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()
|
D | act_bpf.c | 99 struct nlattr *nla; in tcf_bpf_dump_bpf_info() local 117 struct nlattr *nla; in tcf_bpf_dump_ebpf_info() local 276 static int tcf_bpf_init(struct net *net, struct nlattr *nla, in tcf_bpf_init()
|
D | act_ipt.c | 95 static int __tcf_ipt_init(struct net *net, unsigned int id, struct nlattr *nla, in __tcf_ipt_init() 204 static int tcf_ipt_init(struct net *net, struct nlattr *nla, in tcf_ipt_init() 213 static int tcf_xt_init(struct net *net, struct nlattr *nla, in tcf_xt_init()
|
D | act_api.c | 944 struct tc_action_ops *tc_action_load_ops(struct nlattr *nla, bool police, in tc_action_load_ops() 1006 struct nlattr *nla, struct nlattr *est, in tcf_action_init_1() 1064 int tcf_action_init(struct net *net, struct tcf_proto *tp, struct nlattr *nla, in tcf_action_init() 1246 static struct tc_action *tcf_action_get_1(struct net *net, struct nlattr *nla, in tcf_action_get_1() 1290 static int tca_action_flush(struct net *net, struct nlattr *nla, in tca_action_flush() 1428 tca_action_gd(struct net *net, struct nlattr *nla, struct nlmsghdr *n, in tca_action_gd() 1497 static int tcf_action_add(struct net *net, struct nlattr *nla, in tcf_action_add() 1584 static struct nlattr *find_dump_kind(struct nlattr **nla) in find_dump_kind()
|
D | ematch.c | 171 struct tcf_ematch *em, struct nlattr *nla, int idx) in tcf_em_validate() 303 int tcf_em_tree_validate(struct tcf_proto *tp, struct nlattr *nla, in tcf_em_tree_validate()
|
D | act_pedit.c | 37 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()
|
/Linux-v5.15/net/netfilter/ |
D | nf_tables_api.c | 133 const struct nlattr * const *nla) in nft_ctx_init() 558 const struct nlattr *nla, in nft_table_lookup() 585 const struct nlattr *nla, in nft_table_lookup_byhandle() 624 __nf_tables_chain_type_lookup(const struct nlattr *nla, u8 family) in __nf_tables_chain_type_lookup() 694 nf_tables_chain_type_lookup(struct net *net, const struct nlattr *nla, in nf_tables_chain_type_lookup() 872 const struct nlattr * const nla[]) in nf_tables_gettable() 1076 const struct nlattr * const nla[]) in nf_tables_newtable() 1240 const struct nlattr * const *nla = ctx->nla; in nft_flush() local 1271 const struct nlattr * const nla[]) in nf_tables_deltable() 1373 const struct nlattr *nla, u8 genmask) in nft_chain_lookup() [all …]
|
D | nfnetlink_hook.c | 289 const struct nlattr * const *nla = cb->data; in nfnl_hook_dump_start() local 338 const struct nlattr * const nla[]) in nfnl_hook_get()
|
D | nft_set_bitmap.c | 254 static u64 nft_bitmap_privsize(const struct nlattr * const nla[], in nft_bitmap_privsize() 264 const struct nlattr * const nla[]) in nft_bitmap_init()
|
/Linux-v5.15/net/ipv6/ |
D | ioam6_iptunnel.c | 58 struct nlattr *nla; in nla_put_ioam6_trace() local 96 static int ioam6_build_state(struct net *net, struct nlattr *nla, in ioam6_build_state()
|
D | rpl_iptunnel.c | 67 static int rpl_build_state(struct net *net, struct nlattr *nla, in rpl_build_state() 301 struct nlattr *nla; in nla_put_rpl_srh() local
|
/Linux-v5.15/net/openvswitch/ |
D | meter.c | 238 struct nlattr *nla; in ovs_meter_cmd_reply_stats() local 280 struct nlattr *nla, *band_nla; in ovs_meter_cmd_features() local 331 struct nlattr *nla; in dp_meter_create() local
|
D | flow_netlink.c | 53 struct nlattr *nla; in actions_may_change_flow() local 467 const struct nlattr *nla; in __parse_flow_nlattrs() local 846 struct nlattr *nla; in vxlan_opt_to_nlattr() local 937 struct nlattr *nla; in ip_tun_to_nlattr() local 1739 struct nlattr *nla; in nlattr_set() local 1992 struct nlattr *nla; in __ovs_nla_put_key() local 2237 struct nlattr *nla; in ovs_nla_put_key() local 3591 struct nlattr *nla; in masked_set_action_to_set_action_attr() local
|
D | conntrack.h | 50 static inline int ovs_ct_copy_action(struct net *net, const struct nlattr *nla, in ovs_ct_copy_action()
|
/Linux-v5.15/net/psample/ |
D | psample.c | 290 struct nlattr *nla; in psample_ip_tun_to_nlattr() local 467 struct nlattr *nla; in psample_sample_packet() local
|
/Linux-v5.15/net/ipv4/ |
D | metrics.c | 14 struct nlattr *nla; in ip_metrics_convert() local
|
/Linux-v5.15/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-v5.15/net/xfrm/ |
D | xfrm_compat.c | 289 const struct nlattr *nla, *attrs; in xfrm_xlate64() local 400 struct nlattr *nla; in xfrm_attr_cpy32() local 425 static int xfrm_xlate32_attr(void *dst, const struct nlattr *nla, in xfrm_xlate32_attr()
|
/Linux-v5.15/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 1103 struct nlattr *nla; in mpls_fill_stats_af() local 1651 struct nlattr *nla; in nla_put_via() local 1671 struct nlattr *nla; in nla_put_labels() local 1690 int nla_get_labels(const struct nlattr *nla, u8 max_labels, u8 *labels, in nla_get_labels() 1841 struct nlattr *nla = tb[index]; in rtm_to_route_config() local
|