/linux/tools/lib/bpf/ |
H 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
|
H 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/lib/ |
H A D | nlattr.c | 66 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 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/net/sched/ |
H 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()
|
H 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()
|
H 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()
|
H A D | act_pedit.c | 42 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()
|
H A D | em_meta.c | 695 static int meta_var_change(struct meta_value *dst, struct nlattr *nla) in meta_var_change() 748 static int meta_int_change(struct meta_value *dst, struct nlattr *nla) in meta_int_change() 885 static inline int meta_change_data(struct meta_value *dst, struct nlattr *nla) in meta_change_data()
|
/linux/net/netfilter/ |
H A D | nf_tables_api.c | 138 const struct nlattr * const *nla) in nft_ctx_init() 941 const struct nlattr *nla, in nft_table_lookup() 968 const struct nlattr *nla, in nft_table_lookup_byhandle() 1008 __nf_tables_chain_type_lookup(const struct nlattr *nla, u8 family) in __nf_tables_chain_type_lookup() 1078 nf_tables_chain_type_lookup(struct net *net, const struct nlattr *nla, in nf_tables_chain_type_lookup() 1264 const struct nlattr * const nla[]) in nf_tables_gettable() 1529 const struct nlattr * const nla[]) in nf_tables_newtable() 1696 const struct nlattr * const *nla = ctx->nla; in nft_flush() local 1727 const struct nlattr * const nla[]) in nf_tables_deltable() 1833 const struct nlattr *nla, u8 genmask) in nft_chain_lookup() [all …]
|
H A D | nfnetlink_hook.c | 346 const struct nlattr * const *nla = cb->data; in nfnl_hook_dump_start() local 395 const struct nlattr * const nla[]) in nfnl_hook_get()
|
/linux/net/openvswitch/ |
H A D | meter.c | 235 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 D | vport.c | 313 struct nlattr *nla; in ovs_vport_get_upcall_stats() local 369 struct nlattr *nla; in ovs_vport_get_options() local
|
H A D | flow_netlink.c | 55 struct nlattr *nla; in actions_may_change_flow() local 481 const struct nlattr *nla; in __parse_flow_nlattrs() local 870 struct nlattr *nla; in vxlan_opt_to_nlattr() local 963 struct nlattr *nla; in ip_tun_to_nlattr() local 1776 struct nlattr *nla; in nlattr_set() local 2029 struct nlattr *nla; in __ovs_nla_put_key() local 2282 struct nlattr *nla; in ovs_nla_put_key() local 3764 struct nlattr *nla; in masked_set_action_to_set_action_attr() local
|
H A D | conntrack.h | 50 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 D | vxlan_private.h | 89 const struct nlattr *nla) in vxlan_nla_get_addr() 130 const struct nlattr *nla) in vxlan_nla_get_addr()
|
/linux/net/psample/ |
H A D | psample.c | 293 struct nlattr *nla; in psample_ip_tun_to_nlattr() local 480 struct nlattr *nla; in psample_sample_packet() local
|
/linux/include/linux/ |
H A D | genl_magic_func.h | 102 #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/ipv6/ |
H A D | rpl_iptunnel.c | 67 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
|
H A D | seg6_iptunnel.c | 74 struct nlattr *nla; in nla_put_srh() local 639 static int seg6_build_state(struct net *net, struct nlattr *nla, in seg6_build_state()
|
/linux/include/net/ |
H A D | bpf_sk_storage.h | 47 bpf_sk_storage_diag_alloc(const struct nlattr *nla) in bpf_sk_storage_diag_alloc()
|
/linux/net/ipv4/ |
H A D | metrics.c | 15 struct nlattr *nla; in ip_metrics_convert() local
|
H A D | fib_semantics.c | 655 static int fib_gw_from_attr(__be32 *gw, struct nlattr *nla, in fib_gw_from_attr() 700 struct nlattr *nla, *nlav, *attrs = rtnh_attrs(rtnh); in fib_get_nhs() local 926 struct nlattr *nla, *nlav, *attrs = rtnh_attrs(rtnh); in fib_nh_match() local 990 struct nlattr *nla; in fib_metrics_match() local 1644 struct nlattr *nla; in fib_nexthop_info() local
|
/linux/net/mpls/ |
H A D | af_mpls.c | 720 static int nla_get_via(const struct nlattr *nla, u8 *via_alen, u8 *via_table, in nla_get_via() 847 struct nlattr *nla, *attrs = rtnh_attrs(rtnh); in mpls_count_nexthops() local 1104 struct nlattr *nla; in mpls_fill_stats_af() local 1669 struct nlattr *nla; in nla_put_via() local 1689 struct nlattr *nla; in nla_put_labels() local 1708 int nla_get_labels(const struct nlattr *nla, u8 max_labels, u8 *labels, in nla_get_labels() 1859 struct nlattr *nla = tb[index]; in rtm_to_route_config() local
|
/linux/drivers/net/ |
H A D | gtp.c | 1380 const struct nlattr *nla, int family) in gtp_sock_udp_config() 1401 const struct nlattr *nla, int family) in gtp_create_sock() 1439 static int gtp_create_sockets(struct gtp_dev *gtp, const struct nlattr *nla, in gtp_create_sockets() 1739 static struct gtp_dev *gtp_find_dev(struct net *src_net, struct nlattr *nla[]) in gtp_find_dev() 2064 struct nlattr *nla[]) in gtp_find_pdp_by_link() 2108 static struct pdp_ctx *gtp_find_pdp(struct net *net, struct nlattr *nla[]) in gtp_find_pdp()
|