/linux-6.3-rc2/tools/lib/bpf/ |
A D | nlattr.h | 84 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
|
A 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()
|
/linux-6.3-rc2/lib/ |
A D | nlattr.c | 62 static int validate_nla_bitfield32(const struct nlattr *nla, in validate_nla_bitfield32() 166 const struct nlattr *nla, in nla_validate_range_unsigned() 279 const struct nlattr *nla, in nla_validate_int_range_signed() 314 const struct nlattr *nla, in nla_validate_int_range() 340 const struct nlattr *nla, in nla_validate_mask() 578 const struct nlattr *nla; in __nla_validate_parse() local 715 const struct nlattr *nla; in nla_find() local 776 char *nla_strdup(const struct nlattr *nla, gfp_t flags) in nla_strdup() 872 struct nlattr *nla; in __nla_reserve() local 1006 struct nlattr *nla; in __nla_put() local [all …]
|
/linux-6.3-rc2/include/net/ |
A D | netlink.h | 1178 static inline int nla_type(const struct nlattr *nla) in nla_type() 1187 static inline void *nla_data(const struct nlattr *nla) in nla_data() 1196 static inline int nla_len(const struct nlattr *nla) in nla_len() 1237 nla_find_nested(const struct nlattr *nla, int attrtype) in nla_find_nested() 1253 const struct nlattr *nla, in nla_parse_nested() 1277 const struct nlattr *nla, in nla_parse_nested_deprecated() 1602 static inline u32 nla_get_u32(const struct nlattr *nla) in nla_get_u32() 1629 static inline u16 nla_get_u16(const struct nlattr *nla) in nla_get_u16() 1656 static inline u8 nla_get_u8(const struct nlattr *nla) in nla_get_u8() 1718 static inline s8 nla_get_s8(const struct nlattr *nla) in nla_get_s8() [all …]
|
A D | bpf_sk_storage.h | 47 bpf_sk_storage_diag_alloc(const struct nlattr *nla) in bpf_sk_storage_diag_alloc()
|
/linux-6.3-rc2/drivers/block/drbd/ |
A 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-6.3-rc2/net/sched/ |
A D | act_tunnel_key.c | 88 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()
|
A D | act_ipt.c | 93 static int __tcf_ipt_init(struct net *net, unsigned int id, struct nlattr *nla, in __tcf_ipt_init() 202 static int tcf_ipt_init(struct net *net, struct nlattr *nla, in tcf_ipt_init() 211 static int tcf_xt_init(struct net *net, struct nlattr *nla, in tcf_xt_init()
|
A D | act_bpf.c | 102 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()
|
A D | ematch.c | 171 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()
|
A D | act_api.c | 1297 struct tc_action_ops *tc_action_load_ops(struct nlattr *nla, bool police, in tc_action_load_ops() 1359 struct nlattr *nla, struct nlattr *est, in tcf_action_init_1() 1427 int tcf_action_init(struct net *net, struct tcf_proto *tp, struct nlattr *nla, in tcf_action_init() 1634 static struct tc_action *tcf_action_get_1(struct net *net, struct nlattr *nla, in tcf_action_get_1() 1678 static int tca_action_flush(struct net *net, struct nlattr *nla, in tca_action_flush() 1906 tca_action_gd(struct net *net, struct nlattr *nla, struct nlmsghdr *n, in tca_action_gd() 1975 static int tcf_action_add(struct net *net, struct nlattr *nla, in tcf_action_add() 2062 static struct nlattr *find_dump_kind(struct nlattr **nla) in find_dump_kind()
|
A 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() 148 static int tcf_pedit_init(struct net *net, struct nlattr *nla, in tcf_pedit_init()
|
/linux-6.3-rc2/net/netfilter/ |
A D | nf_tables_api.c | 132 const struct nlattr * const *nla) in nft_ctx_init() 638 const struct nlattr *nla, in nft_table_lookup() 665 const struct nlattr *nla, in nft_table_lookup_byhandle() 2720 struct nlattr *nla) in __nft_expr_type_get() 2737 struct nlattr *nla) in nft_expr_type_request_module() 2749 struct nlattr *nla) in nft_expr_type_get() 2827 const struct nlattr *nla, in nf_tables_expr_parse() 3028 const struct nlattr *nla) in nft_rule_lookup() 4403 const struct nlattr *nla) in nf_tables_set_desc_parse() 6820 const struct nlattr *nla, in nft_obj_lookup_byhandle() [all …]
|
A D | nfnetlink_hook.c | 291 const struct nlattr * const *nla = cb->data; in nfnl_hook_dump_start() local 340 const struct nlattr * const nla[]) in nfnl_hook_get()
|
A 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-6.3-rc2/net/openvswitch/ |
A D | meter.c | 237 struct nlattr *nla; in ovs_meter_cmd_reply_stats() local 279 struct nlattr *nla, *band_nla; in ovs_meter_cmd_features() local 330 struct nlattr *nla; in dp_meter_create() local
|
A D | vport.c | 299 struct nlattr *nla; in ovs_vport_get_upcall_stats() local 355 struct nlattr *nla; in ovs_vport_get_options() local
|
A D | flow_netlink.c | 53 struct nlattr *nla; in actions_may_change_flow() local 470 const struct nlattr *nla; in __parse_flow_nlattrs() local 856 struct nlattr *nla; in vxlan_opt_to_nlattr() local 947 struct nlattr *nla; in ip_tun_to_nlattr() local 1760 struct nlattr *nla; in nlattr_set() local 2013 struct nlattr *nla; in __ovs_nla_put_key() local 2266 struct nlattr *nla; in ovs_nla_put_key() local 3707 struct nlattr *nla; in masked_set_action_to_set_action_attr() local
|
/linux-6.3-rc2/net/psample/ |
A D | psample.c | 291 struct nlattr *nla; in psample_ip_tun_to_nlattr() local 468 struct nlattr *nla; in psample_sample_packet() local
|
/linux-6.3-rc2/net/ipv6/ |
A 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-6.3-rc2/include/linux/ |
A 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-6.3-rc2/net/ipv4/ |
A D | metrics.c | 15 struct nlattr *nla; in ip_metrics_convert() local
|
A D | fib_semantics.c | 676 static int fib_gw_from_attr(__be32 *gw, struct nlattr *nla, in fib_gw_from_attr() 721 struct nlattr *nla, *nlav, *attrs = rtnh_attrs(rtnh); in fib_get_nhs() local 947 struct nlattr *nla, *nlav, *attrs = rtnh_attrs(rtnh); in fib_nh_match() local 1011 struct nlattr *nla; in fib_metrics_match() local 1663 struct nlattr *nla; in fib_nexthop_info() local
|
/linux-6.3-rc2/net/mpls/ |
A 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 1685 struct nlattr *nla; in nla_put_via() local 1705 struct nlattr *nla; in nla_put_labels() local 1724 int nla_get_labels(const struct nlattr *nla, u8 max_labels, u8 *labels, in nla_get_labels() 1875 struct nlattr *nla = tb[index]; in rtm_to_route_config() local
|
/linux-6.3-rc2/net/xfrm/ |
A D | xfrm_compat.c | 292 const struct nlattr *nla, *attrs; in xfrm_xlate64() local 403 struct nlattr *nla; in xfrm_attr_cpy32() local 428 static int xfrm_xlate32_attr(void *dst, const struct nlattr *nla, in xfrm_xlate32_attr()
|