| /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() argument 33 static int nla_ok(const struct nlattr *nla, int remaining) in nla_ok() argument 40 static int nla_type(const struct nlattr *nla) in nla_type() argument 45 validate_nla(struct nlattr * nla,int maxtype,struct libbpf_nla_policy * policy) validate_nla() argument 107 struct nlattr *nla; libbpf_nla_parse() local 150 libbpf_nla_parse_nested(struct nlattr * tb[],int maxtype,struct nlattr * nla,struct libbpf_nla_policy * policy) libbpf_nla_parse_nested() argument [all...] |
| /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/net/netfilter/ |
| H A D | nf_tables_api.c | 162 const struct nlattr * const *nla) in nft_ctx_init() 982 const struct nlattr *nla, in nft_table_lookup() 1009 const struct nlattr *nla, in nft_table_lookup_byhandle() 1049 __nf_tables_chain_type_lookup(const struct nlattr *nla, u8 family) in __nf_tables_chain_type_lookup() 1119 nf_tables_chain_type_lookup(struct net *net, const struct nlattr *nla, in nf_tables_chain_type_lookup() 1309 const struct nlattr * const nla[]) in nf_tables_gettable() 1574 const struct nlattr * const nla[]) in nf_tables_newtable() 1741 const struct nlattr * const *nla = ctx->nla; in nft_flush() local 1772 const struct nlattr * const nla[]) in nf_tables_deltable() 1878 const struct nlattr *nla, u8 genmask) in nft_chain_lookup() [all …]
|
| H A D | nft_set_bitmap.c | 257 static u64 nft_bitmap_privsize(const struct nlattr * const nla[], in nft_bitmap_privsize() 267 const struct nlattr * const nla[]) in nft_bitmap_init()
|
| /linux/net/sched/ |
| H A D | act_bpf.c | 100 struct nlattr *nla; in tcf_bpf_dump_bpf_info() local 118 struct nlattr *nla; in tcf_bpf_dump_ebpf_info() local 277 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_api.c | 1334 struct tc_action_ops *tc_action_load_ops(struct nlattr *nla, u32 flags, in tc_action_load_ops() 1398 struct nlattr *nla, struct nlattr *est, in tcf_action_init_1() 1466 int tcf_action_init(struct net *net, struct tcf_proto *tp, struct nlattr *nla, in tcf_action_init() 1706 static struct tc_action *tcf_action_get_1(struct net *net, struct nlattr *nla, in tcf_action_get_1() 1750 static int tca_action_flush(struct net *net, struct nlattr *nla, in tca_action_flush() 2009 tca_action_gd(struct net *net, struct nlattr *nla, struct nlmsghdr *n, in tca_action_gd() 2096 static int tcf_action_add(struct net *net, struct nlattr *nla, in tcf_action_add() 2181 static struct nlattr *find_dump_kind(struct nlattr **nla) in find_dump_kind()
|
| 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()
|
| H A D | act_connmark.c | 98 static int tcf_connmark_init(struct net *net, struct nlattr *nla, in tcf_connmark_init()
|
| H A D | act_skbmod.c | 101 static int tcf_skbmod_init(struct net *net, struct nlattr *nla, in tcf_skbmod_init()
|
| H A D | cls_bpf.c | 541 struct nlattr *nla; in cls_bpf_dump_bpf_info() local 559 struct nlattr *nla; in cls_bpf_dump_ebpf_info() local
|
| /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 [all...] |
| 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 1739 struct nlattr *nla; in nlattr_set() local 1992 struct nlattr *nla; in __ovs_nla_put_key() local 2245 struct nlattr *nla; in ovs_nla_put_key() local 3727 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/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/net/ipv6/ |
| H A D | rpl_iptunnel.c | 67 static int rpl_build_state(struct net *net, struct nlattr *nla, in rpl_build_state() 328 struct nlattr *nla; in nla_put_rpl_srh() local
|
| H A D | seg6_iptunnel.c | 77 struct nlattr *nla; in nla_put_srh() local 666 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/mpls/ |
| H A D | af_mpls.c | 752 static int nla_get_via(const struct nlattr *nla, u8 *via_alen, u8 *via_table, in nla_get_via() 879 struct nlattr *nla, *attrs = rtnh_attrs(rtnh); in mpls_count_nexthops() local 1132 struct nlattr *nla; in mpls_fill_stats_af() local 1726 struct nlattr *nla; in nla_put_via() local 1746 struct nlattr *nla; in nla_put_labels() local 1765 int nla_get_labels(const struct nlattr *nla, u8 max_labels, u8 *labels, in nla_get_labels() 1916 struct nlattr *nla = tb[index]; in rtm_to_route_config() local
|
| H A D | mpls_iptunnel.c | 163 static int mpls_build_state(struct net *net, struct nlattr *nla, in mpls_build_state() argument
|
| /linux/net/ieee802154/ |
| H A D | nl802154.c | 1304 struct nlattr *nla; in nl802154_prep_scan_event_msg() local 1727 struct nlattr *nla; in nl802154_send_peer_info() local 1823 ieee802154_llsec_parse_dev_addr(struct nlattr *nla, in ieee802154_llsec_parse_dev_addr() 1863 ieee802154_llsec_parse_key_id(struct nlattr *nla, in ieee802154_llsec_parse_key_id() 2261 ieee802154_llsec_parse_device(struct nlattr *nla, in ieee802154_llsec_parse_device() 2613 llsec_parse_seclevel(struct nlattr *nla, struct ieee802154_llsec_seclevel *sl) in llsec_parse_seclevel()
|
| /linux/tools/lib/thermal/ |
| H A D | thermal_nl.c | 24 static int nl_error_handler(struct sockaddr_nl *nla, struct nlmsgerr *nl_err, in nl_error_handler()
|