/linux-4.4.14/include/net/ |
D | netlink.h | 236 int nla_validate(const struct nlattr *head, int len, int maxtype, 238 int nla_parse(struct nlattr **tb, int maxtype, const struct nlattr *head, 241 struct nlattr *nla_find(const struct nlattr *head, int len, int attrtype); 242 size_t nla_strlcpy(char *dst, const struct nlattr *nla, size_t dstsize); 243 int nla_memcpy(void *dest, const struct nlattr *src, int count); 244 int nla_memcmp(const struct nlattr *nla, const void *data, size_t size); 245 int nla_strcmp(const struct nlattr *nla, const char *str); 246 struct nlattr *__nla_reserve(struct sk_buff *skb, int attrtype, int attrlen); 248 struct nlattr *nla_reserve(struct sk_buff *skb, int attrtype, int attrlen); 311 static inline struct nlattr *nlmsg_attrdata(const struct nlmsghdr *nlh, in nlmsg_attrdata() [all …]
|
D | rtnetlink.h | 61 int (*validate)(struct nlattr *tb[], 62 struct nlattr *data[]); 66 struct nlattr *tb[], 67 struct nlattr *data[]); 69 struct nlattr *tb[], 70 struct nlattr *data[]); 86 int (*slave_validate)(struct nlattr *tb[], 87 struct nlattr *data[]); 90 struct nlattr *tb[], 91 struct nlattr *data[]); [all …]
|
D | act_api.h | 107 int (*init)(struct net *net, struct nlattr *nla, 108 struct nlattr *est, struct tc_action *act, int ovr, 116 int tcf_hash_create(u32 index, struct nlattr *est, struct tc_action *a, 118 void tcf_hash_cleanup(struct tc_action *a, struct nlattr *est); 133 int tcf_action_init(struct net *net, struct nlattr *nla, 134 struct nlattr *est, char *n, int ovr, 136 struct tc_action *tcf_action_init_1(struct net *net, struct nlattr *nla, 137 struct nlattr *est, char *n, int ovr,
|
D | gen_stats.h | 17 struct nlattr * tail; 53 spinlock_t *stats_lock, struct nlattr *opt); 59 spinlock_t *stats_lock, struct nlattr *opt);
|
D | nexthop.h | 23 static inline struct nlattr *rtnh_attrs(const struct rtnexthop *rtnh) in rtnh_attrs() 25 return (struct nlattr *) ((char *) rtnh + NLA_ALIGN(sizeof(*rtnh))); in rtnh_attrs()
|
D | fib_rules.h | 62 struct nlattr **); 66 struct nlattr **); 105 static inline u32 frh_get_table(struct fib_rule_hdr *frh, struct nlattr **nla) in frh_get_table()
|
D | lwtunnel.h | 28 int (*build_state)(struct net_device *dev, struct nlattr *encap, 83 struct nlattr *encap, 134 struct nlattr *encap, in lwtunnel_build_state()
|
D | pkt_cls.h | 134 struct nlattr **tb, struct nlattr *rate_tlv, 245 int tcf_em_tree_validate(struct tcf_proto *, struct nlattr *, 337 tcf_change_indev(struct net *net, struct nlattr *indev_tlv) in tcf_change_indev()
|
D | dn_fib.h | 81 struct nlattr *attrs[], struct nlmsghdr *n, 84 struct nlattr *attrs[], struct nlmsghdr *n, 103 struct nlattr *attrs[],
|
D | switchdev.h | 198 int switchdev_port_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], 201 int switchdev_port_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], 305 static inline int switchdev_port_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in switchdev_port_fdb_add() 313 static inline int switchdev_port_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], in switchdev_port_fdb_del()
|
D | ip6_fib.h | 48 struct nlattr *fc_mx; 51 struct nlattr *fc_mp; 54 struct nlattr *fc_encap;
|
D | genetlink.h | 66 struct nlattr ** attrbuf; /* private */ 94 struct nlattr ** attrs; 220 struct nlattr *tb[], int maxtype, in genlmsg_parse()
|
D | sch_generic.h | 165 struct nlattr **, unsigned long *); 193 int (*init)(struct Qdisc *, struct nlattr *arg); 196 int (*change)(struct Qdisc *, struct nlattr *arg); 224 u32 handle, struct nlattr **,
|
D | ip_tunnels.h | 246 int ip_tunnel_changelink(struct net_device *dev, struct nlattr *tb[], 248 int ip_tunnel_newlink(struct net_device *dev, struct nlattr *tb[],
|
D | ip_fib.h | 40 struct nlattr *fc_mx; 47 struct nlattr *fc_encap;
|
D | pkt_sched.h | 97 struct nlattr *tab);
|
/linux-4.4.14/lib/ |
D | nlattr.c | 30 static int validate_nla(const struct nlattr *nla, int maxtype, in validate_nla() 122 int nla_validate(const struct nlattr *head, int len, int maxtype, in nla_validate() 125 const struct nlattr *nla; in nla_validate() 182 int nla_parse(struct nlattr **tb, int maxtype, const struct nlattr *head, in nla_parse() 185 const struct nlattr *nla; in nla_parse() 188 memset(tb, 0, sizeof(struct nlattr *) * (maxtype + 1)); in nla_parse() 200 tb[type] = (struct nlattr *)nla; in nla_parse() 222 struct nlattr *nla_find(const struct nlattr *head, int len, int attrtype) in nla_find() 224 const struct nlattr *nla; in nla_find() 229 return (struct nlattr *)nla; in nla_find() [all …]
|
/linux-4.4.14/net/openvswitch/ |
D | flow_netlink.h | 48 int ovs_nla_get_flow_metadata(struct net *, const struct nlattr *, 56 const struct nlattr *key, const struct nlattr *mask, 62 bool ovs_nla_get_ufid(struct sw_flow_id *, const struct nlattr *, bool log); 63 int ovs_nla_get_identifier(struct sw_flow_id *sfid, const struct nlattr *ufid, 65 u32 ovs_nla_get_ufid_flags(const struct nlattr *attr); 67 int ovs_nla_copy_actions(struct net *net, const struct nlattr *attr, 72 int ovs_nla_put_actions(const struct nlattr *attr,
|
D | flow_netlink.c | 381 static int __parse_flow_nlattrs(const struct nlattr *attr, in __parse_flow_nlattrs() 382 const struct nlattr *a[], in __parse_flow_nlattrs() 385 const struct nlattr *nla; in __parse_flow_nlattrs() 426 static int parse_flow_mask_nlattrs(const struct nlattr *attr, in parse_flow_mask_nlattrs() 427 const struct nlattr *a[], u64 *attrsp, in parse_flow_mask_nlattrs() 433 static int parse_flow_nlattrs(const struct nlattr *attr, in parse_flow_nlattrs() 434 const struct nlattr *a[], u64 *attrsp, in parse_flow_nlattrs() 440 static int genev_tun_opt_from_nlattr(const struct nlattr *a, in genev_tun_opt_from_nlattr() 491 static int vxlan_tun_opt_from_nlattr(const struct nlattr *attr, in vxlan_tun_opt_from_nlattr() 495 struct nlattr *a; in vxlan_tun_opt_from_nlattr() [all …]
|
D | vport-vxlan.c | 44 struct nlattr *exts; in vxlan_get_options() 64 static int vxlan_configure_exts(struct vport *vport, struct nlattr *attr, in vxlan_configure_exts() 67 struct nlattr *exts[OVS_VXLAN_EXT_MAX + 1]; in vxlan_configure_exts() 70 if (nla_len(attr) < sizeof(struct nlattr)) in vxlan_configure_exts() 86 struct nlattr *options = parms->options; in vxlan_tnl_create() 89 struct nlattr *a; in vxlan_tnl_create()
|
D | conntrack.h | 26 int ovs_ct_copy_action(struct net *, const struct nlattr *, 36 void ovs_ct_free_action(const struct nlattr *a); 53 static inline int ovs_ct_copy_action(struct net *net, const struct nlattr *nla, in ovs_ct_copy_action() 89 static inline void ovs_ct_free_action(const struct nlattr *a) { } in ovs_ct_free_action()
|
D | vport.h | 48 int ovs_vport_set_options(struct vport *, struct nlattr *options); 51 int ovs_vport_set_upcall_portids(struct vport *, const struct nlattr *pids); 109 struct nlattr *options; 114 struct nlattr *upcall_portids; 140 int (*set_options)(struct vport *, struct nlattr *);
|
D | actions.c | 49 const struct nlattr *attr, int len); 53 const struct nlattr *actions; 114 const struct nlattr *attr) in add_deferred_actions() 767 struct sw_flow_key *key, const struct nlattr *attr, in output_userspace() 768 const struct nlattr *actions, int actions_len) in output_userspace() 771 const struct nlattr *a; in output_userspace() 819 struct sw_flow_key *key, const struct nlattr *attr, in sample() 820 const struct nlattr *actions, int actions_len) in sample() 822 const struct nlattr *acts_list = NULL; in sample() 823 const struct nlattr *a; in sample() [all …]
|
D | vport-geneve.c | 58 struct nlattr *options = parms->options; in geneve_tnl_create() 62 struct nlattr *a; in geneve_tnl_create()
|
D | datapath.h | 120 const struct nlattr *userdata; 121 const struct nlattr *actions;
|
D | datapath.c | 424 struct nlattr *nla; in queue_userspace_packet() 547 struct nlattr **a = info->attrs; in ovs_packet_cmd_execute() 779 struct nlattr *start; in ovs_flow_cmd_fill_actions() 910 struct nlattr **a = info->attrs; in ovs_flow_cmd_new() 1069 const struct nlattr *a, in get_flow_actions() 1092 struct nlattr **a = info->attrs; in ovs_flow_cmd_set() 1204 struct nlattr **a = info->attrs; in ovs_flow_cmd_get() 1263 struct nlattr **a = info->attrs; in ovs_flow_cmd_del() 1338 struct nlattr *a[__OVS_FLOW_ATTR_MAX]; in ovs_flow_cmd_dump() 1492 struct nlattr *a[OVS_DP_ATTR_MAX + 1]) in lookup_datapath() [all …]
|
D | flow.h | 158 struct nlattr actions[]; 225 int ovs_flow_key_extract_userspace(struct net *net, const struct nlattr *attr,
|
D | vport.c | 247 int ovs_vport_set_options(struct vport *vport, struct nlattr *options) in ovs_vport_set_options() 316 struct nlattr *nla; in ovs_vport_get_options() 349 int ovs_vport_set_upcall_portids(struct vport *vport, const struct nlattr *ids) in ovs_vport_set_upcall_portids()
|
D | conntrack.c | 571 static int parse_ct(const struct nlattr *attr, struct ovs_conntrack_info *info, in parse_ct() 574 struct nlattr *a; in parse_ct() 670 int ovs_ct_copy_action(struct net *net, const struct nlattr *attr, in ovs_ct_copy_action() 725 struct nlattr *start; in ovs_ct_action_to_attr() 756 void ovs_ct_free_action(const struct nlattr *a) in ovs_ct_free_action()
|
/linux-4.4.14/drivers/block/drbd/ |
D | drbd_nla.c | 6 static int drbd_nla_check_mandatory(int maxtype, struct nlattr *nla) in drbd_nla_check_mandatory() 8 struct nlattr *head = nla_data(nla); in drbd_nla_check_mandatory() 30 int drbd_nla_parse_nested(struct nlattr *tb[], int maxtype, struct nlattr *nla, in drbd_nla_parse_nested() 42 struct nlattr *drbd_nla_find_nested(int maxtype, struct nlattr *nla, int attrtype) in drbd_nla_find_nested()
|
D | drbd_nla.h | 4 extern int drbd_nla_parse_nested(struct nlattr *tb[], int maxtype, struct nlattr *nla, 6 extern struct nlattr *drbd_nla_find_nested(int maxtype, struct nlattr *nla, int attrtype);
|
/linux-4.4.14/net/tipc/ |
D | netlink_compat.c | 67 int (*format)(struct tipc_nl_compat_msg *msg, struct nlattr **attrs); 195 struct nlattr **attrs; in __tipc_nl_compat_dumpit() 279 struct nlattr **attrbuf; in __tipc_nl_compat_doit() 291 sizeof(struct nlattr *), GFP_KERNEL); in __tipc_nl_compat_doit() 298 (const struct nlattr *)trans_buf->data, in __tipc_nl_compat_doit() 346 struct nlattr **attrs) in tipc_nl_compat_bearer_dump() 348 struct nlattr *bearer[TIPC_NLA_BEARER_MAX + 1]; in tipc_nl_compat_bearer_dump() 362 struct nlattr *prop; in tipc_nl_compat_bearer_enable() 363 struct nlattr *bearer; in tipc_nl_compat_bearer_enable() 396 struct nlattr *bearer; in tipc_nl_compat_bearer_disable() [all …]
|
D | bearer.c | 218 struct nlattr *attr[]) in tipc_enable_bearer() 375 struct nlattr *attr[]) in tipc_enable_l2_media() 643 struct nlattr *attrs; in __tipc_nl_add_bearer() 644 struct nlattr *prop; in __tipc_nl_add_bearer() 723 struct nlattr *attrs[TIPC_NLA_BEARER_MAX + 1]; in tipc_nl_bearer_get() 772 struct nlattr *attrs[TIPC_NLA_BEARER_MAX + 1]; in tipc_nl_bearer_disable() 806 struct nlattr *attrs[TIPC_NLA_BEARER_MAX + 1]; in tipc_nl_bearer_enable() 833 struct nlattr *props[TIPC_NLA_PROP_MAX + 1]; in tipc_nl_bearer_enable() 860 struct nlattr *attrs[TIPC_NLA_BEARER_MAX + 1]; in tipc_nl_bearer_set() 884 struct nlattr *props[TIPC_NLA_PROP_MAX + 1]; in tipc_nl_bearer_set() [all …]
|
D | bcast.c | 339 struct nlattr *nest; in __tipc_nl_add_bc_link_stat() 390 struct nlattr *attrs; in tipc_nl_add_bc_link() 391 struct nlattr *prop; in tipc_nl_add_bc_link() 482 int tipc_nl_bc_link_set(struct net *net, struct nlattr *attrs[]) in tipc_nl_bc_link_set() 486 struct nlattr *props[TIPC_NLA_PROP_MAX + 1]; in tipc_nl_bc_link_set()
|
D | net.c | 152 struct nlattr *attrs; in __tipc_nl_add_net() 208 struct nlattr *attrs[TIPC_NLA_NET_MAX + 1]; in tipc_nl_net_set()
|
D | netlink.h | 40 int tipc_nlmsg_parse(const struct nlmsghdr *nlh, struct nlattr ***buf);
|
D | bearer.h | 109 struct nlattr *attr[]); 207 struct nlattr *attrs[]);
|
D | link.h | 260 int tipc_nl_parse_link_prop(struct nlattr *prop, struct nlattr *props[]);
|
D | bcast.h | 62 int tipc_nl_bc_link_set(struct net *net, struct nlattr *attrs[]);
|
D | udp_media.c | 283 static int parse_options(struct nlattr *attrs[], struct udp_bearer *ub, in parse_options() 287 struct nlattr *opts[TIPC_NLA_UDP_MAX + 1]; in parse_options() 348 struct nlattr *attrs[]) in tipc_udp_enable()
|
D | netlink.c | 151 int tipc_nlmsg_parse(const struct nlmsghdr *nlh, struct nlattr ***attr) in tipc_nlmsg_parse()
|
/linux-4.4.14/net/dcb/ |
D | dcbnl.c | 222 u32 seq, struct nlattr **tb, struct sk_buff *skb) in dcbnl_getstate() 233 u32 seq, struct nlattr **tb, struct sk_buff *skb) in dcbnl_getpfccfg() 235 struct nlattr *data[DCB_PFC_UP_ATTR_MAX + 1], *nest; in dcbnl_getpfccfg() 278 u32 seq, struct nlattr **tb, struct sk_buff *skb) in dcbnl_getperm_hwaddr() 292 u32 seq, struct nlattr **tb, struct sk_buff *skb) in dcbnl_getcap() 294 struct nlattr *data[DCB_CAP_ATTR_MAX + 1], *nest; in dcbnl_getcap() 336 u32 seq, struct nlattr **tb, struct sk_buff *skb) in dcbnl_getnumtcs() 338 struct nlattr *data[DCB_NUMTCS_ATTR_MAX + 1], *nest; in dcbnl_getnumtcs() 382 u32 seq, struct nlattr **tb, struct sk_buff *skb) in dcbnl_setnumtcs() 384 struct nlattr *data[DCB_NUMTCS_ATTR_MAX + 1]; in dcbnl_setnumtcs() [all …]
|
/linux-4.4.14/net/8021q/ |
D | vlan_netlink.c | 34 static inline int vlan_validate_qos_map(struct nlattr *attr) in vlan_validate_qos_map() 41 static int vlan_validate(struct nlattr *tb[], struct nlattr *data[]) in vlan_validate() 90 struct nlattr *tb[], struct nlattr *data[]) in vlan_changelink() 94 struct nlattr *attr; in vlan_changelink() 117 struct nlattr *tb[], struct nlattr *data[]) in vlan_newlink() 164 return nla_total_size(sizeof(struct nlattr)) + in vlan_qos_map_size() 185 struct nlattr *nest; in vlan_fill_info()
|
/linux-4.4.14/net/sched/ |
D | act_api.c | 87 struct nlattr *nest; in tcf_dump_walker() 135 struct nlattr *nest; in tcf_del_walker() 236 void tcf_hash_cleanup(struct tc_action *a, struct nlattr *est) in tcf_hash_cleanup() 246 int tcf_hash_create(u32 index, struct nlattr *est, struct tc_action *a, in tcf_hash_create() 387 static struct tc_action_ops *tc_lookup_action(struct nlattr *kind) in tc_lookup_action() 457 struct nlattr *nest; in tcf_action_dump_1() 483 struct nlattr *nest; in tcf_action_dump() 504 struct tc_action *tcf_action_init_1(struct net *net, struct nlattr *nla, in tcf_action_init_1() 505 struct nlattr *est, char *name, int ovr, in tcf_action_init_1() 511 struct nlattr *tb[TCA_ACT_MAX + 1]; in tcf_action_init_1() [all …]
|
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() 308 struct nlattr *tb[TCA_EMATCH_TREE_MAX + 1]; in tcf_em_tree_validate() 309 struct nlattr *rt_match, *rt_hdr, *rt_list; in tcf_em_tree_validate() 440 struct nlattr *top_start; in tcf_em_tree_dump() 441 struct nlattr *list_start; in tcf_em_tree_dump() 456 struct nlattr *match_start = (struct nlattr *)tail; in tcf_em_tree_dump()
|
D | sch_netem.c | 703 static int get_dist_table(struct Qdisc *sch, const struct nlattr *attr) in get_dist_table() 737 static void get_correlation(struct netem_sched_data *q, const struct nlattr *attr) in get_correlation() 746 static void get_reorder(struct netem_sched_data *q, const struct nlattr *attr) in get_reorder() 754 static void get_corrupt(struct netem_sched_data *q, const struct nlattr *attr) in get_corrupt() 762 static void get_rate(struct netem_sched_data *q, const struct nlattr *attr) in get_rate() 776 static int get_loss_clg(struct netem_sched_data *q, const struct nlattr *attr) in get_loss_clg() 778 const struct nlattr *la; in get_loss_clg() 840 static int parse_attr(struct nlattr *tb[], int maxtype, struct nlattr *nla, in parse_attr() 854 memset(tb, 0, sizeof(struct nlattr *) * (maxtype + 1)); in parse_attr() 859 static int netem_change(struct Qdisc *sch, struct nlattr *opt) in netem_change() [all …]
|
D | cls_bpf.c | 226 static int cls_bpf_prog_from_ops(struct nlattr **tb, struct cls_bpf_prog *prog) in cls_bpf_prog_from_ops() 265 static int cls_bpf_prog_from_efd(struct nlattr **tb, struct cls_bpf_prog *prog, in cls_bpf_prog_from_efd() 306 unsigned long base, struct nlattr **tb, in cls_bpf_modify_existing() 307 struct nlattr *est, bool ovr) in cls_bpf_modify_existing() 375 u32 handle, struct nlattr **tca, in cls_bpf_change() 380 struct nlattr *tb[TCA_BPF_MAX + 1]; in cls_bpf_change() 436 struct nlattr *nla; in cls_bpf_dump_bpf_info() 468 struct nlattr *nest; in cls_bpf_dump()
|
D | act_bpf.c | 101 struct nlattr *nla; in tcf_bpf_dump_bpf_info() 176 static int tcf_bpf_init_from_ops(struct nlattr **tb, struct tcf_bpf_cfg *cfg) in tcf_bpf_init_from_ops() 215 static int tcf_bpf_init_from_efd(struct nlattr **tb, struct tcf_bpf_cfg *cfg) in tcf_bpf_init_from_efd() 274 static int tcf_bpf_init(struct net *net, struct nlattr *nla, in tcf_bpf_init() 275 struct nlattr *est, struct tc_action *act, in tcf_bpf_init() 278 struct nlattr *tb[TCA_ACT_BPF_MAX + 1]; in tcf_bpf_init()
|
D | cls_basic.c | 134 struct nlattr **tb, in basic_set_parms() 135 struct nlattr *est, bool ovr) in basic_set_parms() 167 struct nlattr **tca, unsigned long *arg, bool ovr) in basic_change() 171 struct nlattr *tb[TCA_BASIC_MAX + 1]; in basic_change() 255 struct nlattr *nest; in basic_dump()
|
D | sch_dsmark.c | 113 struct nlattr **tca, unsigned long *arg) in dsmark_change() 116 struct nlattr *opt = tca[TCA_OPTIONS]; in dsmark_change() 117 struct nlattr *tb[TCA_DSMARK_MAX + 1]; in dsmark_change() 340 static int dsmark_init(struct Qdisc *sch, struct nlattr *opt) in dsmark_init() 343 struct nlattr *tb[TCA_DSMARK_MAX + 1]; in dsmark_init() 420 struct nlattr *opts = NULL; in dsmark_dump_class() 447 struct nlattr *opts = NULL; in dsmark_dump()
|
D | cls_fw.c | 191 struct nlattr **tb, struct nlattr **tca, unsigned long base, bool ovr) in fw_change_attrs() 239 struct nlattr **tca, in fw_change() 244 struct nlattr *opt = tca[TCA_OPTIONS]; in fw_change() 245 struct nlattr *tb[TCA_FW_MAX + 1]; in fw_change() 369 struct nlattr *nest; in fw_dump()
|
D | sch_ingress.c | 51 static int ingress_init(struct Qdisc *sch, struct nlattr *opt) in ingress_init() 69 struct nlattr *nest; in ingress_dump()
|
D | act_connmark.c | 96 static int tcf_connmark_init(struct net *net, struct nlattr *nla, in tcf_connmark_init() 97 struct nlattr *est, struct tc_action *a, in tcf_connmark_init() 100 struct nlattr *tb[TCA_CONNMARK_MAX + 1]; in tcf_connmark_init()
|
D | act_simple.c | 79 static int tcf_simp_init(struct net *net, struct nlattr *nla, in tcf_simp_init() 80 struct nlattr *est, struct tc_action *a, in tcf_simp_init() 83 struct nlattr *tb[TCA_DEF_MAX + 1]; in tcf_simp_init()
|
D | sch_codel.c | 116 static int codel_change(struct Qdisc *sch, struct nlattr *opt) in codel_change() 119 struct nlattr *tb[TCA_CODEL_MAX + 1]; in codel_change() 170 static int codel_init(struct Qdisc *sch, struct nlattr *opt) in codel_init() 198 struct nlattr *opts; in codel_dump()
|
D | act_gact.c | 56 static int tcf_gact_init(struct net *net, struct nlattr *nla, in tcf_gact_init() 57 struct nlattr *est, struct tc_action *a, in tcf_gact_init() 60 struct nlattr *tb[TCA_GACT_MAX + 1]; in tcf_gact_init()
|
D | act_skbedit.c | 60 static int tcf_skbedit_init(struct net *net, struct nlattr *nla, in tcf_skbedit_init() 61 struct nlattr *est, struct tc_action *a, in tcf_skbedit_init() 64 struct nlattr *tb[TCA_SKBEDIT_MAX + 1]; in tcf_skbedit_init()
|
D | cls_cgroup.c | 73 u32 handle, struct nlattr **tca, in cls_cgroup_change() 76 struct nlattr *tb[TCA_CGROUP_MAX + 1]; in cls_cgroup_change() 165 struct nlattr *nest; in cls_cgroup_dump()
|
D | act_vlan.c | 67 static int tcf_vlan_init(struct net *net, struct nlattr *nla, in tcf_vlan_init() 68 struct nlattr *est, struct tc_action *a, in tcf_vlan_init() 71 struct nlattr *tb[TCA_VLAN_MAX + 1]; in tcf_vlan_init()
|
D | sch_plug.c | 123 static int plug_init(struct Qdisc *sch, struct nlattr *opt) in plug_init() 158 static int plug_change(struct Qdisc *sch, struct nlattr *opt) in plug_change()
|
D | act_pedit.c | 32 static int tcf_pedit_init(struct net *net, struct nlattr *nla, in tcf_pedit_init() 33 struct nlattr *est, struct tc_action *a, in tcf_pedit_init() 36 struct nlattr *tb[TCA_PEDIT_MAX + 1]; in tcf_pedit_init()
|
D | act_mirred.c | 53 static int tcf_mirred_init(struct net *net, struct nlattr *nla, in tcf_mirred_init() 54 struct nlattr *est, struct tc_action *a, int ovr, in tcf_mirred_init() 57 struct nlattr *tb[TCA_MIRRED_MAX + 1]; in tcf_mirred_init()
|
D | cls_route.c | 383 struct nlattr **tb, struct nlattr *est, int new, in route4_set_parms() 477 struct nlattr **tca, in route4_change() 484 struct nlattr *opt = tca[TCA_OPTIONS]; in route4_change() 485 struct nlattr *tb[TCA_ROUTE4_MAX + 1]; in route4_change() 604 struct nlattr *nest; in route4_dump()
|
D | cls_tcindex.c | 239 struct tcindex_filter_result *r, struct nlattr **tb, in tcindex_set_parms() 240 struct nlattr *est, bool ovr) in tcindex_set_parms() 430 struct nlattr **tca, unsigned long *arg, bool ovr) in tcindex_change() 432 struct nlattr *opt = tca[TCA_OPTIONS]; in tcindex_change() 433 struct nlattr *tb[TCA_TCINDEX_MAX + 1]; in tcindex_change() 517 struct nlattr *nest; in tcindex_dump()
|
D | sch_gred.c | 336 static inline int gred_change_table_def(struct Qdisc *sch, struct nlattr *dps) in gred_change_table_def() 424 static int gred_change(struct Qdisc *sch, struct nlattr *opt) in gred_change() 428 struct nlattr *tb[TCA_GRED_MAX + 1]; in gred_change() 498 static int gred_init(struct Qdisc *sch, struct nlattr *opt) in gred_init() 500 struct nlattr *tb[TCA_GRED_MAX + 1]; in gred_init() 525 struct nlattr *parms, *opts = NULL; in gred_dump()
|
D | cls_api.c | 41 static const struct tcf_proto_ops *tcf_proto_lookup_ops(struct nlattr *kind) in tcf_proto_lookup_ops() 124 struct nlattr *tca[TCA_MAX + 1]; in tc_ctl_tfilter() 241 struct nlattr *kind = tca[TCA_KIND]; in tc_ctl_tfilter() 518 int tcf_exts_validate(struct net *net, struct tcf_proto *tp, struct nlattr **tb, in tcf_exts_validate() 519 struct nlattr *rate_tlv, struct tcf_exts *exts, bool ovr) in tcf_exts_validate() 576 struct nlattr *nest; in tcf_exts_dump()
|
D | act_police.c | 65 struct nlattr *nest; in tcf_act_police_walker() 114 static int tcf_act_police_locate(struct net *net, struct nlattr *nla, in tcf_act_police_locate() 115 struct nlattr *est, struct tc_action *a, in tcf_act_police_locate() 120 struct nlattr *tb[TCA_POLICE_MAX + 1]; in tcf_act_police_locate()
|
D | sch_red.c | 179 static int red_change(struct Qdisc *sch, struct nlattr *opt) in red_change() 182 struct nlattr *tb[TCA_RED_MAX + 1]; in red_change() 249 static int red_init(struct Qdisc *sch, struct nlattr *opt) in red_init() 261 struct nlattr *opts = NULL; in red_dump()
|
D | act_nat.c | 38 static int tcf_nat_init(struct net *net, struct nlattr *nla, struct nlattr *est, in tcf_nat_init() 41 struct nlattr *tb[TCA_NAT_MAX + 1]; in tcf_nat_init()
|
D | sch_drr.c | 67 struct nlattr **tca, unsigned long *arg) in drr_change_class() 71 struct nlattr *opt = tca[TCA_OPTIONS]; in drr_change_class() 72 struct nlattr *tb[TCA_DRR_MAX + 1]; in drr_change_class() 253 struct nlattr *nest; in drr_dump_class() 439 static int drr_init_qdisc(struct Qdisc *sch, struct nlattr *opt) in drr_init_qdisc()
|
D | cls_flower.c | 223 static void fl_set_key_val(struct nlattr **tb, in fl_set_key_val() 236 static int fl_set_key(struct net *net, struct nlattr **tb, in fl_set_key() 400 unsigned long base, struct nlattr **tb, in fl_set_parms() 401 struct nlattr *est, bool ovr) in fl_set_parms() 454 u32 handle, struct nlattr **tca, in fl_change() 460 struct nlattr *tb[TCA_FLOWER_MAX + 1]; in fl_change() 576 struct nlattr *nest; in fl_dump()
|
D | sch_fifo.c | 51 static int fifo_init(struct Qdisc *sch, struct nlattr *opt) in fifo_init() 143 struct nlattr *nla; in fifo_set_limit()
|
D | act_ipt.c | 86 static int tcf_ipt_init(struct net *net, struct nlattr *nla, struct nlattr *est, in tcf_ipt_init() 89 struct nlattr *tb[TCA_IPT_MAX + 1]; in tcf_ipt_init()
|
D | sch_pie.c | 182 static int pie_change(struct Qdisc *sch, struct nlattr *opt) in pie_change() 185 struct nlattr *tb[TCA_PIE_MAX + 1]; in pie_change() 440 static int pie_init(struct Qdisc *sch, struct nlattr *opt) in pie_init() 464 struct nlattr *opts; in pie_dump()
|
D | sch_tbf.c | 314 static int tbf_change(struct Qdisc *sch, struct nlattr *opt) in tbf_change() 318 struct nlattr *tb[TCA_TBF_MAX + 1]; in tbf_change() 431 static int tbf_init(struct Qdisc *sch, struct nlattr *opt) in tbf_init() 456 struct nlattr *nest; in tbf_dump()
|
D | sch_atm.c | 186 struct nlattr **tca, unsigned long *arg) in atm_tc_change() 191 struct nlattr *opt = tca[TCA_OPTIONS]; in atm_tc_change() 192 struct nlattr *tb[TCA_ATM_MAX + 1]; in atm_tc_change() 536 static int atm_tc_init(struct Qdisc *sch, struct nlattr *opt) in atm_tc_init() 591 struct nlattr *nest; in atm_tc_dump_class()
|
D | sch_sfb.c | 483 static int sfb_change(struct Qdisc *sch, struct nlattr *opt) in sfb_change() 487 struct nlattr *tb[TCA_SFB_MAX + 1]; in sfb_change() 542 static int sfb_init(struct Qdisc *sch, struct nlattr *opt) in sfb_init() 553 struct nlattr *opts; in sfb_dump() 631 struct nlattr **tca, unsigned long *arg) in sfb_change_class()
|
D | sch_choke.c | 416 static int choke_change(struct Qdisc *sch, struct nlattr *opt) in choke_change() 419 struct nlattr *tb[TCA_CHOKE_MAX + 1]; in choke_change() 503 static int choke_init(struct Qdisc *sch, struct nlattr *opt) in choke_init() 511 struct nlattr *opts = NULL; in choke_dump()
|
D | sch_api.c | 331 static struct Qdisc_ops *qdisc_lookup_ops(struct nlattr *kind) in qdisc_lookup_ops() 390 struct qdisc_rate_table *qdisc_get_rtab(struct tc_ratespec *r, struct nlattr *tab) in qdisc_get_rtab() 447 static struct qdisc_size_table *qdisc_get_stab(struct nlattr *opt) in qdisc_get_stab() 449 struct nlattr *tb[TCA_STAB_MAX + 1]; in qdisc_get_stab() 527 struct nlattr *nest; in qdisc_dump_stab() 893 struct nlattr **tca, int *errp) in qdisc_create() 896 struct nlattr *kind = tca[TCA_KIND]; in qdisc_create() 1029 static int qdisc_change(struct Qdisc *sch, struct nlattr **tca) in qdisc_change() 1114 struct nlattr *tca[TCA_MAX + 1]; in tc_get_qdisc() 1183 struct nlattr *tca[TCA_MAX + 1]; in tc_modify_qdisc() [all …]
|
D | em_meta.c | 694 static int meta_var_change(struct meta_value *dst, struct nlattr *nla) in meta_var_change() 747 static int meta_int_change(struct meta_value *dst, struct nlattr *nla) in meta_int_change() 794 int (*change)(struct meta_value *, struct nlattr *); 884 static inline int meta_change_data(struct meta_value *dst, struct nlattr *nla) in meta_change_data() 909 struct nlattr *tb[TCA_EM_META_MAX + 1]; in em_meta_change()
|
D | sch_hhf.c | 528 static int hhf_change(struct Qdisc *sch, struct nlattr *opt) in hhf_change() 531 struct nlattr *tb[TCA_HHF_MAX + 1]; in hhf_change() 595 static int hhf_init(struct Qdisc *sch, struct nlattr *opt) in hhf_init() 669 struct nlattr *opts; in hhf_dump()
|
D | cls_u32.c | 594 struct tc_u_knode *n, struct nlattr **tb, in u32_set_parms() 595 struct nlattr *est, bool ovr) in u32_set_parms() 727 struct nlattr **tca, in u32_change() 734 struct nlattr *opt = tca[TCA_OPTIONS]; in u32_change() 735 struct nlattr *tb[TCA_U32_MAX + 1]; in u32_change() 942 struct nlattr *nest; in u32_dump()
|
D | cls_flow.c | 377 u32 handle, struct nlattr **tca, in flow_change() 382 struct nlattr *opt = tca[TCA_OPTIONS]; in flow_change() 383 struct nlattr *tb[TCA_FLOW_MAX + 1]; in flow_change() 606 struct nlattr *nest; in flow_dump()
|
D | sch_fq_codel.c | 328 static int fq_codel_change(struct Qdisc *sch, struct nlattr *opt) in fq_codel_change() 331 struct nlattr *tb[TCA_FQ_CODEL_MAX + 1]; in fq_codel_change() 415 static int fq_codel_init(struct Qdisc *sch, struct nlattr *opt) in fq_codel_init() 463 struct nlattr *opts; in fq_codel_dump()
|
D | act_csum.c | 45 static int tcf_csum_init(struct net *n, struct nlattr *nla, struct nlattr *est, in tcf_csum_init() 48 struct nlattr *tb[TCA_CSUM_MAX + 1]; in tcf_csum_init()
|
D | cls_rsvp.h | 467 struct nlattr **tca, in rsvp_change() 476 struct nlattr *opt = tca[TCA_OPTIONS]; in rsvp_change() 477 struct nlattr *tb[TCA_RSVP_MAX + 1]; in rsvp_change() 674 struct nlattr *nest; in rsvp_dump()
|
D | sch_htb.c | 1020 static int htb_init(struct Qdisc *sch, struct nlattr *opt) in htb_init() 1023 struct nlattr *tb[TCA_HTB_MAX + 1]; in htb_init() 1067 struct nlattr *nest; in htb_dump() 1098 struct nlattr *nest; in htb_dump_class() 1331 u32 parentid, struct nlattr **tca, in htb_change_class() 1337 struct nlattr *opt = tca[TCA_OPTIONS]; in htb_change_class() 1338 struct nlattr *tb[TCA_HTB_MAX + 1]; in htb_change_class() 1371 struct nlattr nla; in htb_change_class()
|
/linux-4.4.14/include/linux/ |
D | inet_diag.h | 8 struct nlattr; 17 struct nlattr *bc); 39 struct nlattr *bc); 44 int inet_diag_bc_sk(const struct nlattr *_bc, struct sock *sk);
|
D | if_macvlan.h | 88 struct nlattr *tb[], struct nlattr *data[]);
|
D | rtnetlink.h | 104 struct nlattr *tb[], 110 struct nlattr *tb[],
|
D | genl_magic_func.h | 132 static struct nlattr *nested_attr_tb[128]; 152 struct nlattr *tla = info->attrs[tag_number]; \ 153 struct nlattr **ntb = nested_attr_tb; \ 154 struct nlattr *nla; \ 331 struct nlattr *tla = nla_nest_start(skb, tag_number); \
|
D | netfilter.h | 392 struct nlattr; 401 int (*parse)(const struct nlattr *attr, struct nf_conn *ct); 402 int (*attach_expect)(const struct nlattr *attr, struct nf_conn *ct,
|
/linux-4.4.14/net/netfilter/ |
D | nf_conntrack_netlink.c | 67 struct nlattr *nest_parms; in ctnetlink_dump_tuples_proto() 92 struct nlattr *nest_parms; in ctnetlink_dump_tuples_ip() 175 struct nlattr *nest_proto; in ctnetlink_dump_protoinfo() 199 struct nlattr *nest_helper; in ctnetlink_dump_helpinfo() 233 struct nlattr *nest_count; in dump_counters() 279 struct nlattr *nest_count; in ctnetlink_dump_timestamp() 321 struct nlattr *nest_secctx; in ctnetlink_dump_secctx() 386 struct nlattr *nest_parms; in ctnetlink_dump_master() 407 struct nlattr *nest_parms; in dump_ct_seq_adj() 478 struct nlattr *nest_parms; in ctnetlink_fill_info() [all …]
|
D | nfnetlink_cthelper.c | 68 const struct nlattr *attr) in nfnl_cthelper_parse_tuple() 71 struct nlattr *tb[NFCTH_TUPLE_MAX+1]; in nfnl_cthelper_parse_tuple() 90 nfnl_cthelper_from_nlattr(struct nlattr *attr, struct nf_conn *ct) in nfnl_cthelper_from_nlattr() 128 const struct nlattr *attr) in nfnl_cthelper_expect_policy() 131 struct nlattr *tb[NFCTH_POLICY_MAX+1]; in nfnl_cthelper_expect_policy() 159 const struct nlattr *attr) in nfnl_cthelper_parse_expect_policy() 163 struct nlattr *tb[NFCTH_POLICY_SET_MAX+1]; in nfnl_cthelper_parse_expect_policy() 202 nfnl_cthelper_create(const struct nlattr * const tb[], in nfnl_cthelper_create() 257 nfnl_cthelper_update(const struct nlattr * const tb[], in nfnl_cthelper_update() 291 const struct nlmsghdr *nlh, const struct nlattr * const tb[]) in nfnl_cthelper_new() [all …]
|
D | nf_tables_api.c | 98 const struct nlattr * const *nla) in nft_ctx_init() 366 const struct nlattr *nla) in nft_table_lookup() 378 const struct nlattr *nla) in nf_tables_table_lookup() 400 __nf_tables_chain_type_lookup(int family, const struct nlattr *nla) in __nf_tables_chain_type_lookup() 414 const struct nlattr *nla, in nf_tables_chain_type_lookup() 547 const struct nlattr * const nla[]) in nf_tables_gettable() 678 const struct nlattr * const nla[]) in nf_tables_newtable() 681 const struct nlattr *name; in nf_tables_newtable() 789 const struct nlattr * const *nla = ctx->nla; in nft_flush() 815 const struct nlattr * const nla[]) in nf_tables_deltable() [all …]
|
D | nfnetlink_cttimeout.c | 53 struct net *net, const struct nlattr *attr) in ctnl_timeout_parse_policy() 58 struct nlattr *tb[l4proto->ctnl_timeout.nlattr_max+1]; in ctnl_timeout_parse_policy() 73 const struct nlattr * const cda[]) in cttimeout_new_timeout() 185 struct nlattr *nest_parms; in ctnl_timeout_fill_info() 246 const struct nlattr * const cda[]) in cttimeout_get_timeout() 345 const struct nlattr * const cda[]) in cttimeout_del_timeout() 375 const struct nlattr * const cda[]) in cttimeout_default_set() 437 struct nlattr *nest_parms; in cttimeout_default_fill_info() 464 const struct nlattr * const cda[]) in cttimeout_default_get()
|
D | nft_limit.c | 55 const struct nlattr * const tb[]) in nft_limit_init() 127 const struct nlattr * const tb[]) in nft_limit_pkts_init() 169 const struct nlattr * const tb[]) in nft_limit_pkt_bytes_init() 194 const struct nlattr * const tb[]) in nft_limit_select_ops()
|
D | nfnetlink.c | 191 struct nlattr *cda[ss->cb[cb_id].attr_count + 1]; in nfnetlink_rcv_msg() 192 struct nlattr *attr = (void *)nlh + min_len; in nfnetlink_rcv_msg() 205 (const struct nlattr **)cda); in nfnetlink_rcv_msg() 216 (const struct nlattr **)cda); in nfnetlink_rcv_msg() 372 struct nlattr *cda[ss->cb[cb_id].attr_count + 1]; in nfnetlink_rcv_batch() 373 struct nlattr *attr = (void *)nlh + min_len; in nfnetlink_rcv_batch() 383 (const struct nlattr **)cda); in nfnetlink_rcv_batch()
|
D | nft_cmp.c | 72 const struct nlattr * const tb[]) in nft_cmp_init() 121 const struct nlattr * const tb[]) in nft_cmp_fast_init() 175 nft_cmp_select_ops(const struct nft_ctx *ctx, const struct nlattr * const tb[]) in nft_cmp_select_ops()
|
D | nfnetlink_acct.c | 51 const struct nlmsghdr *nlh, const struct nlattr * const tb[]) in nfnl_acct_new() 236 nfacct_filter_alloc(const struct nlattr * const attr) in nfacct_filter_alloc() 239 struct nlattr *tb[NFACCT_FILTER_MAX + 1]; in nfacct_filter_alloc() 258 const struct nlmsghdr *nlh, const struct nlattr * const tb[]) in nfnl_acct_get() 338 const struct nlmsghdr *nlh, const struct nlattr * const tb[]) in nfnl_acct_del()
|
D | nfnetlink_queue.c | 307 struct nlattr *nla; in nfqnl_build_packet_message() 362 size += sizeof(struct nlattr) + hlen; in nfqnl_build_packet_message() 531 struct nlattr *nla; in nfqnl_build_packet_message() 536 nla = (struct nlattr *)skb_put(skb, sizeof(*nla)); in nfqnl_build_packet_message() 940 verdicthdr_get(const struct nlattr * const nfqa[]) in verdicthdr_get() 963 const struct nlattr * const nfqa[]) in nfqnl_recv_verdict_batch() 1012 const struct nlattr * const nfqa[], in nfqnl_ct_parse() 1035 const struct nlattr * const nfqa[]) in nfqnl_recv_verdict() 1098 const struct nlattr * const nfqa[]) in nfqnl_recv_unsupp() 1116 const struct nlattr * const nfqa[]) in nfqnl_recv_config()
|
D | nft_compat.c | 182 static int nft_parse_compat(const struct nlattr *attr, u16 *proto, bool *inv) in nft_parse_compat() 184 struct nlattr *tb[NFTA_RULE_COMPAT_MAX+1]; in nft_parse_compat() 208 const struct nlattr * const tb[]) in nft_target_init() 396 const struct nlattr * const tb[]) in nft_match_init() 524 const struct nlmsghdr *nlh, const struct nlattr * const tb[]) in nfnl_compat_get() 631 const struct nlattr * const tb[]) in nft_match_select_ops() 711 const struct nlattr * const tb[]) in nft_target_select_ops()
|
D | nft_meta.c | 224 const struct nlattr * const tb[]) in nft_meta_get_init() 276 const struct nlattr * const tb[]) in nft_meta_set_init() 356 const struct nlattr * const tb[]) in nft_meta_select_ops()
|
D | nf_nat_core.c | 728 static int nfnetlink_parse_nat_proto(struct nlattr *attr, in nfnetlink_parse_nat_proto() 732 struct nlattr *tb[CTA_PROTONAT_MAX+1]; in nfnetlink_parse_nat_proto() 756 nfnetlink_parse_nat(const struct nlattr *nat, in nfnetlink_parse_nat() 760 struct nlattr *tb[CTA_NAT_MAX+1]; in nfnetlink_parse_nat() 783 const struct nlattr *attr) in nfnetlink_parse_nat_setup() 816 const struct nlattr *attr) in nfnetlink_parse_nat_setup()
|
D | nf_conntrack_proto_dccp.c | 635 static int dccp_to_nlattr(struct sk_buff *skb, struct nlattr *nla, in dccp_to_nlattr() 638 struct nlattr *nest_parms; in dccp_to_nlattr() 665 static int nlattr_to_dccp(struct nlattr *cda[], struct nf_conn *ct) in nlattr_to_dccp() 667 struct nlattr *attr = cda[CTA_PROTOINFO_DCCP]; in nlattr_to_dccp() 668 struct nlattr *tb[CTA_PROTOINFO_DCCP_MAX + 1]; in nlattr_to_dccp() 716 static int dccp_timeout_nlattr_to_obj(struct nlattr *tb[], in dccp_timeout_nlattr_to_obj()
|
D | nft_ct.c | 224 const struct nlattr * const tb[]) in nft_ct_get_init() 324 const struct nlattr * const tb[]) in nft_ct_set_init() 422 const struct nlattr * const tb[]) in nft_ct_select_ops()
|
D | nft_payload.c | 118 const struct nlattr * const tb[]) in nft_payload_init() 165 const struct nlattr * const tb[]) in nft_payload_select_ops()
|
D | nft_log.c | 50 const struct nlattr * const tb[]) in nft_log_init() 54 const struct nlattr *nla; in nft_log_init()
|
D | nft_masq.c | 41 const struct nlattr * const tb[]) in nft_masq_init()
|
D | nf_conntrack_proto_sctp.c | 526 static int sctp_to_nlattr(struct sk_buff *skb, struct nlattr *nla, in sctp_to_nlattr() 529 struct nlattr *nest_parms; in sctp_to_nlattr() 560 static int nlattr_to_sctp(struct nlattr *cda[], struct nf_conn *ct) in nlattr_to_sctp() 562 struct nlattr *attr = cda[CTA_PROTOINFO_SCTP]; in nlattr_to_sctp() 563 struct nlattr *tb[CTA_PROTOINFO_SCTP_MAX+1]; in nlattr_to_sctp() 605 static int sctp_timeout_nlattr_to_obj(struct nlattr *tb[], in sctp_timeout_nlattr_to_obj()
|
D | nft_reject.c | 31 const struct nlattr * const tb[]) in nft_reject_init()
|
D | nft_rbtree.c | 205 static unsigned int nft_rbtree_privsize(const struct nlattr * const nla[]) in nft_rbtree_privsize() 212 const struct nlattr * const nla[]) in nft_rbtree_init()
|
D | nft_redir.c | 44 const struct nlattr * const tb[]) in nft_redir_init()
|
D | nf_nat_proto_common.c | 99 int nf_nat_l4proto_nlattr_to_range(struct nlattr *tb[], in nf_nat_l4proto_nlattr_to_range()
|
D | nft_queue.c | 65 const struct nlattr * const tb[]) in nft_queue_init()
|
D | nft_reject_inet.c | 66 const struct nlattr * const tb[]) in nft_reject_inet_init()
|
D | nft_immediate.c | 42 const struct nlattr * const tb[]) in nft_immediate_init()
|
/linux-4.4.14/include/net/netfilter/ |
D | nf_conntrack_l4proto.h | 69 int (*to_nlattr)(struct sk_buff *skb, struct nlattr *nla, 75 int (*from_nlattr)(struct nlattr *tb[], struct nf_conn *ct); 81 int (*nlattr_to_tuple)(struct nlattr *tb[], 90 int (*nlattr_to_obj)(struct nlattr *tb[], 145 int nf_ct_port_nlattr_to_tuple(struct nlattr *tb[],
|
D | nf_nat_core.h | 24 struct nlattr; 29 const struct nlattr *attr);
|
D | nft_meta.h | 16 const struct nlattr * const tb[]); 20 const struct nlattr * const tb[]);
|
D | nf_tables.h | 104 const struct nlattr * const *nla; 117 struct nft_data_desc *desc, const struct nlattr *nla); 132 unsigned int nft_parse_register(const struct nlattr *attr); 264 unsigned int (*privsize)(const struct nlattr * const nla[]); 270 const struct nlattr * const nla[]); 336 const struct nlattr *nla); 338 const struct nlattr *nla); 591 const struct nlattr * const tb[]); 627 const struct nlattr * const tb[]); 660 const struct nlattr *nla);
|
D | nf_nat_l4proto.h | 40 int (*nlattr_to_range)(struct nlattr *tb[], 69 int nf_nat_l4proto_nlattr_to_range(struct nlattr *tb[],
|
D | nft_masq.h | 12 const struct nlattr * const tb[]);
|
D | nft_reject.h | 13 const struct nlattr * const tb[]);
|
D | nft_redir.h | 14 const struct nlattr * const tb[]);
|
D | nf_conntrack_l3proto.h | 60 int (*nlattr_to_tuple)(struct nlattr *tb[],
|
D | nf_conntrack_helper.h | 47 int (*from_nlattr)(struct nlattr *attr, struct nf_conn *ct);
|
D | nf_nat_l3proto.h | 34 int (*nlattr_to_range)(struct nlattr *tb[],
|
/linux-4.4.14/include/linux/netfilter/ipset/ |
D | ip_set.h | 165 int (*uadt)(struct ip_set *set, struct nlattr *tb[], 215 struct nlattr *tb[], u32 flags); 421 extern int ip_set_get_ipaddr4(struct nlattr *nla, __be32 *ipaddr); 422 extern int ip_set_get_ipaddr6(struct nlattr *nla, union nf_inet_addr *ipaddr); 423 extern size_t ip_set_elem_len(struct ip_set *set, struct nlattr *tb[], 425 extern int ip_set_get_extensions(struct ip_set *set, struct nlattr *tb[], 429 ip_set_get_hostipaddr4(struct nlattr *nla, u32 *ipaddr) in ip_set_get_hostipaddr4() 459 ip_set_attr_netorder(struct nlattr *tb[], int type) in ip_set_attr_netorder() 465 ip_set_optattr_netorder(struct nlattr *tb[], int type) in ip_set_optattr_netorder() 472 ip_set_get_h32(const struct nlattr *attr) in ip_set_get_h32() [all …]
|
D | ip_set_timeout.h | 30 ip_set_timeout_uget(struct nlattr *tb) in ip_set_timeout_uget()
|
D | ip_set_comment.h | 14 ip_set_comment_uget(struct nlattr *tb) in ip_set_comment_uget()
|
/linux-4.4.14/Documentation/accounting/ |
D | getdelays.c | 122 struct nlattr *na; in send_cmd() 136 na = (struct nlattr *) GENLMSG_DATA(&msg); in send_cmd() 171 struct nlattr *na; in get_family_id() 186 na = (struct nlattr *) GENLMSG_DATA(&ans); in get_family_id() 187 na = (struct nlattr *) ((char *) na + NLA_ALIGN(na->nla_len)); in get_family_id() 262 struct nlattr *na; in main() 466 na = (struct nlattr *) GENLMSG_DATA(&msg); in main() 477 na = (struct nlattr *) NLA_DATA(na); in main() 514 na = (struct nlattr *) ((char *) na + len2); in main() 527 na = (struct nlattr *) (GENLMSG_DATA(&msg) + len); in main()
|
/linux-4.4.14/net/xfrm/ |
D | xfrm_user.c | 36 static int verify_one_alg(struct nlattr **attrs, enum xfrm_attr_type_t type) in verify_one_alg() 38 struct nlattr *rt = attrs[type]; in verify_one_alg() 62 static int verify_auth_trunc(struct nlattr **attrs) in verify_auth_trunc() 64 struct nlattr *rt = attrs[XFRMA_ALG_AUTH_TRUNC]; in verify_auth_trunc() 78 static int verify_aead(struct nlattr **attrs) in verify_aead() 80 struct nlattr *rt = attrs[XFRMA_ALG_AEAD]; in verify_aead() 94 static void verify_one_addr(struct nlattr **attrs, enum xfrm_attr_type_t type, in verify_one_addr() 97 struct nlattr *rt = attrs[type]; in verify_one_addr() 103 static inline int verify_sec_ctx_len(struct nlattr **attrs) in verify_sec_ctx_len() 105 struct nlattr *rt = attrs[XFRMA_SEC_CTX]; in verify_sec_ctx_len() [all …]
|
/linux-4.4.14/net/decnet/ |
D | dn_fib.c | 148 static int dn_fib_count_nhs(const struct nlattr *attr) in dn_fib_count_nhs() 163 static int dn_fib_get_nhs(struct dn_fib_info *fi, const struct nlattr *attr, in dn_fib_get_nhs() 179 struct nlattr *gw_attr; in dn_fib_get_nhs() 181 gw_attr = nla_find((struct nlattr *) (nhp + 1), attrlen, RTA_GATEWAY); in dn_fib_get_nhs() 263 struct dn_fib_info *dn_fib_create_info(const struct rtmsg *r, struct nlattr *attrs[], in dn_fib_create_info() 294 struct nlattr *attr; in dn_fib_create_info() 493 static inline u32 rtm_get_table(struct nlattr *attrs[], u8 table) in rtm_get_table() 506 struct nlattr *attrs[RTA_MAX+1]; in dn_fib_rtm_delroute() 531 struct nlattr *attrs[RTA_MAX+1]; in dn_fib_rtm_newroute() 559 struct nlattr hdr; in fib_magic() [all …]
|
D | dn_rules.c | 123 struct nlattr **tb) in dn_fib_rule_configure() 161 struct nlattr **tb) in dn_fib_rule_compare()
|
D | dn_table.c | 227 static int dn_fib_nh_match(struct rtmsg *r, struct nlmsghdr *nlh, struct nlattr *attrs[], struct dn… in dn_fib_nh_match() 258 struct nlattr *gw_attr; in dn_fib_nh_match() 260 gw_attr = nla_find((struct nlattr *) (nhp + 1), attrlen, RTA_GATEWAY); in dn_fib_nh_match() 347 struct nlattr *mp_head; in dn_fib_dump_info() 526 static int dn_fib_table_insert(struct dn_fib_table *tb, struct rtmsg *r, struct nlattr *attrs[], in dn_fib_table_insert() 663 static int dn_fib_table_delete(struct dn_fib_table *tb, struct rtmsg *r, struct nlattr *attrs[], in dn_fib_table_delete()
|
/linux-4.4.14/net/core/ |
D | rtnetlink.c | 419 return nla_total_size(sizeof(struct nlattr)) + in rtnl_link_get_slave_info_data_size() 431 size = nla_total_size(sizeof(struct nlattr)) + /* IFLA_LINKINFO */ in rtnl_link_get_size() 436 size += nla_total_size(sizeof(struct nlattr)) + in rtnl_link_get_size() 507 size = nla_total_size(sizeof(struct nlattr)); in rtnl_link_get_af_size() 512 size += nla_total_size(sizeof(struct nlattr)) + in rtnl_link_get_af_size() 535 struct nlattr *slave_data; in rtnl_link_slave_info_fill() 566 struct nlattr *data; in rtnl_link_info_fill() 596 struct nlattr *linkinfo; in rtnl_link_fill() 665 struct nlattr *mx; in rtnetlink_put_metrics() 821 size_t size = nla_total_size(sizeof(struct nlattr)); in rtnl_vfinfo_size() [all …]
|
D | drop_monitor.c | 80 struct nlattr *nla; in reset_per_cpu_data() 86 al += sizeof(struct nlattr); in reset_per_cpu_data() 142 struct nlattr *nla; in trace_drop_common()
|
D | lwtunnel.c | 75 struct nlattr *encap, unsigned int family, in lwtunnel_build_state() 99 struct nlattr *nest; in lwtunnel_fill_encap()
|
D | gen_estimator.c | 211 struct nlattr *opt) in gen_new_estimator() 302 spinlock_t *stats_lock, struct nlattr *opt) in gen_replace_estimator()
|
D | filter.c | 104 struct nlattr *nla; in __skb_get_nlattr() 109 if (skb->len < sizeof(struct nlattr)) in __skb_get_nlattr() 112 if (a > skb->len - sizeof(struct nlattr)) in __skb_get_nlattr() 115 nla = nla_find((struct nlattr *) &skb->data[a], skb->len - a, x); in __skb_get_nlattr() 125 struct nlattr *nla; in __skb_get_nlattr_nest() 130 if (skb->len < sizeof(struct nlattr)) in __skb_get_nlattr_nest() 133 if (a > skb->len - sizeof(struct nlattr)) in __skb_get_nlattr_nest() 136 nla = (struct nlattr *) &skb->data[a]; in __skb_get_nlattr_nest()
|
/linux-4.4.14/drivers/net/wireless/ti/wlcore/ |
D | testmode.c | 72 static int wl1271_tm_cmd_test(struct wl1271 *wl, struct nlattr *tb[]) in wl1271_tm_cmd_test() 151 static int wl1271_tm_cmd_interrogate(struct wl1271 *wl, struct nlattr *tb[]) in wl1271_tm_cmd_interrogate() 215 static int wl1271_tm_cmd_configure(struct wl1271 *wl, struct nlattr *tb[]) in wl1271_tm_cmd_configure() 247 static int wl1271_tm_detect_fem(struct wl1271 *wl, struct nlattr *tb[]) in wl1271_tm_detect_fem() 284 static int wl1271_tm_cmd_set_plt_mode(struct wl1271 *wl, struct nlattr *tb[]) in wl1271_tm_cmd_set_plt_mode() 315 static int wl12xx_tm_cmd_get_mac(struct wl1271 *wl, struct nlattr *tb[]) in wl12xx_tm_cmd_get_mac() 365 struct nlattr *tb[WL1271_TM_ATTR_MAX + 1]; in wl1271_tm_cmd()
|
D | vendor_cmd.c | 35 struct nlattr *tb[NUM_WLCORE_VENDOR_ATTR]; in wlcore_vendor_cmd_smart_config_start() 110 struct nlattr *tb[NUM_WLCORE_VENDOR_ATTR]; in wlcore_vendor_cmd_smart_config_set_group_key()
|
/linux-4.4.14/drivers/infiniband/ulp/ipoib/ |
D | ipoib_netlink.c | 68 struct nlattr *tb[], struct nlattr *data[]) in ipoib_changelink() 96 struct nlattr *tb[], struct nlattr *data[]) in ipoib_new_child_link()
|
/linux-4.4.14/net/netfilter/ipset/ |
D | ip_set_core.c | 280 flag_nested(const struct nlattr *nla) in flag_nested() 292 ip_set_get_ipaddr4(struct nlattr *nla, __be32 *ipaddr) in ip_set_get_ipaddr4() 294 struct nlattr *tb[IPSET_ATTR_IPADDR_MAX + 1]; in ip_set_get_ipaddr4() 309 ip_set_get_ipaddr6(struct nlattr *nla, union nf_inet_addr *ipaddr) in ip_set_get_ipaddr6() 311 struct nlattr *tb[IPSET_ATTR_IPADDR_MAX + 1]; in ip_set_get_ipaddr6() 359 add_extension(enum ip_set_ext_id id, u32 flags, struct nlattr *tb[]) in add_extension() 367 ip_set_elem_len(struct ip_set *set, struct nlattr *tb[], size_t len, in ip_set_elem_len() 392 ip_set_get_extensions(struct ip_set *set, struct nlattr *tb[], in ip_set_get_extensions() 733 protocol_failed(const struct nlattr * const tb[]) in protocol_failed() 831 const struct nlattr * const attr[]) in ip_set_none() [all …]
|
D | ip_set_list_set.c | 351 list_set_uadt(struct ip_set *set, struct nlattr *tb[], in list_set_uadt() 449 struct nlattr *nested; in list_set_head() 478 struct nlattr *atd, *nested; in list_set_list() 605 list_set_create(struct net *net, struct ip_set *set, struct nlattr *tb[], in list_set_create()
|
D | ip_set_hash_ipmark.c | 101 hash_ipmark4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ipmark4_uadt() 227 hash_ipmark6_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ipmark6_uadt()
|
D | ip_set_hash_ip.c | 101 hash_ip4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ip4_uadt() 234 hash_ip6_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ip6_uadt()
|
D | ip_set_bitmap_port.c | 129 bitmap_port_uadt(struct ip_set *set, struct nlattr *tb[], in bitmap_port_uadt() 224 bitmap_port_create(struct net *net, struct ip_set *set, struct nlattr *tb[], in bitmap_port_create()
|
/linux-4.4.14/drivers/net/bonding/ |
D | bond_netlink.c | 121 static int bond_validate(struct nlattr *tb[], struct nlattr *data[]) in bond_validate() 134 struct nlattr *tb[], struct nlattr *data[]) in bond_slave_changelink() 160 struct nlattr *tb[], struct nlattr *data[]) in bond_changelink() 241 struct nlattr *attr; in bond_changelink() 441 struct nlattr *tb[], struct nlattr *data[]) in bond_newlink() 462 nla_total_size(sizeof(struct nlattr)) + in bond_get_size() 478 nla_total_size(sizeof(struct nlattr)) + /* IFLA_BOND_AD_INFO */ in bond_get_size() 509 struct nlattr *targets; in bond_fill_info() 632 struct nlattr *nest; in bond_fill_info()
|
/linux-4.4.14/include/linux/netfilter/ |
D | nfnetlink.h | 13 const struct nlattr * const cda[]); 16 const struct nlattr * const cda[]); 19 const struct nlattr * const cda[]);
|
/linux-4.4.14/crypto/ |
D | crypto_user.c | 219 struct nlattr **attrs) in crypto_report() 289 struct nlattr **attrs) in crypto_update_alg() 293 struct nlattr *priority = attrs[CRYPTOCFGA_PRIORITY_VAL]; in crypto_update_alg() 325 struct nlattr **attrs) in crypto_del_alg() 388 struct nlattr **attrs) in crypto_add_alg() 394 struct nlattr *priority = attrs[CRYPTOCFGA_PRIORITY_VAL]; in crypto_add_alg() 445 struct nlattr **attrs) in crypto_del_rng() 468 int (*doit)(struct sk_buff *, struct nlmsghdr *, struct nlattr **); 483 struct nlattr *attrs[CRYPTOCFGA_MAX+1]; in crypto_user_rcv_msg()
|
/linux-4.4.14/net/ieee802154/6lowpan/ |
D | core.c | 115 static int lowpan_validate(struct nlattr *tb[], struct nlattr *data[]) in lowpan_validate() 125 struct nlattr *tb[], struct nlattr *data[]) in lowpan_newlink()
|
/linux-4.4.14/net/bridge/ |
D | br_netlink.c | 374 struct nlattr *nest in br_fill_ifinfo() 386 struct nlattr *af; in br_fill_ifinfo() 511 struct nlattr *af_spec, in br_afspec() 516 struct nlattr *attr; in br_afspec() 607 static void br_set_port_flag(struct net_bridge_port *p, struct nlattr *tb[], in br_set_port_flag() 620 static int br_setport(struct net_bridge_port *p, struct nlattr *tb[]) in br_setport() 671 struct nlattr *protinfo; in br_setlink() 672 struct nlattr *afspec; in br_setlink() 674 struct nlattr *tb[IFLA_BRPORT_MAX + 1]; in br_setlink() 726 struct nlattr *afspec; in br_dellink() [all …]
|
D | br_mdb.c | 22 struct nlattr *nest; in br_rports_fill_info() 48 struct nlattr *nest, *nest2; in br_mdb_fill_info() 172 struct nlattr *nest, *nest2; in nlmsg_populate_mdb_fill() 257 struct nlattr *nest; in nlmsg_populate_rtr_fill() 348 struct nlattr *tb[MDBA_SET_ENTRY_MAX+1]; in br_mdb_parse()
|
/linux-4.4.14/net/netlabel/ |
D | netlabel_cipso_v4.c | 103 struct nlattr *nla; in netlbl_cipsov4_add_common() 146 struct nlattr *nla_a; in netlbl_cipsov4_add_std() 147 struct nlattr *nla_b; in netlbl_cipsov4_add_std() 228 struct nlattr *lvl_loc; in netlbl_cipsov4_add_std() 229 struct nlattr *lvl_rem; in netlbl_cipsov4_add_std() 303 struct nlattr *cat_loc; in netlbl_cipsov4_add_std() 304 struct nlattr *cat_rem; in netlbl_cipsov4_add_std() 471 struct nlattr *nla_a; in netlbl_cipsov4_list() 472 struct nlattr *nla_b; in netlbl_cipsov4_list()
|
/linux-4.4.14/net/wimax/ |
D | op-msg.c | 187 struct nlattr *nla; in wimax_msg_data_len() 209 struct nlattr *nla; in wimax_msg_data() 230 struct nlattr *nla; in wimax_msg_len() 368 struct nlattr *attr = info->attrs[WIMAX_GNL_MSG_PIPE_NAME]; in wimax_gnl_doit_msg_from_user()
|
/linux-4.4.14/net/ieee802154/ |
D | nl802154.c | 58 __cfg802154_wpan_dev_from_attrs(struct net *netns, struct nlattr **attrs) in __cfg802154_wpan_dev_from_attrs() 112 __cfg802154_rdev_from_attrs(struct net *netns, struct nlattr **attrs) in __cfg802154_rdev_from_attrs() 326 struct nlattr *nl_flags = nla_nest_start(msg, attr); in nl802154_put_flags() 349 struct nlattr *nl_page; in nl802154_send_wpan_phy_channels() 371 struct nlattr *nl_caps, *nl_channels; in nl802154_put_capabilities() 392 struct nlattr *nl_ed_lvls; in nl802154_put_capabilities() 408 struct nlattr *nl_tx_pwrs; in nl802154_put_capabilities() 457 struct nlattr *nl_cmds; in nl802154_send_wpan_phy() 574 struct nlattr **tb = nl802154_fam.attrbuf; in nl802154_dump_wpan_phy_parse() 700 struct nlattr *nl_dev_addr; in ieee802154_llsec_send_key_id() [all …]
|
/linux-4.4.14/net/ipv4/ |
D | udp_diag.c | 23 struct nlattr *bc) in sk_diag_dump() 97 const struct inet_diag_req_v2 *r, struct nlattr *bc) in udp_dump() 150 const struct inet_diag_req_v2 *r, struct nlattr *bc) in udp_diag_dump() 178 struct nlattr *bc) in udplite_diag_dump()
|
D | ipip.c | 310 static void ipip_netlink_parms(struct nlattr *data[], in ipip_netlink_parms() 345 static bool ipip_netlink_encap_parms(struct nlattr *data[], in ipip_netlink_encap_parms() 379 struct nlattr *tb[], struct nlattr *data[]) in ipip_newlink() 396 static int ipip_changelink(struct net_device *dev, struct nlattr *tb[], in ipip_changelink() 397 struct nlattr *data[]) in ipip_changelink()
|
D | ip_vti.c | 438 static int vti_tunnel_validate(struct nlattr *tb[], struct nlattr *data[]) in vti_tunnel_validate() 443 static void vti_netlink_parms(struct nlattr *data[], in vti_netlink_parms() 473 struct nlattr *tb[], struct nlattr *data[]) in vti_newlink() 481 static int vti_changelink(struct net_device *dev, struct nlattr *tb[], in vti_changelink() 482 struct nlattr *data[]) in vti_changelink()
|
D | ip_gre.c | 916 static int ipgre_tunnel_validate(struct nlattr *tb[], struct nlattr *data[]) in ipgre_tunnel_validate() 934 static int ipgre_tap_validate(struct nlattr *tb[], struct nlattr *data[]) in ipgre_tap_validate() 959 struct nlattr *data[], in ipgre_netlink_parms() 960 struct nlattr *tb[], in ipgre_netlink_parms() 1008 static bool ipgre_netlink_encap_parms(struct nlattr *data[], in ipgre_netlink_encap_parms() 1070 struct nlattr *tb[], struct nlattr *data[]) in ipgre_newlink() 1087 static int ipgre_changelink(struct net_device *dev, struct nlattr *tb[], in ipgre_changelink() 1088 struct nlattr *data[]) in ipgre_changelink() 1231 struct nlattr *tb[IFLA_MAX + 1]; in gretap_fb_dev_create()
|
D | inet_diag.c | 119 struct nlattr *attr; in inet_sk_diag_fill() 460 static int inet_diag_bc_run(const struct nlattr *_bc, in inet_diag_bc_run() 562 int inet_diag_bc_sk(const struct nlattr *bc, struct sock *sk) in inet_diag_bc_sk() 696 const struct nlattr *bc) in inet_csk_diag_dump() 735 const struct inet_diag_req_v2 *r, struct nlattr *bc) in inet_diag_dump_icsk() 871 struct nlattr *bc) in __inet_diag_dump() 889 struct nlattr *bc = NULL; in inet_diag_dump() 915 struct nlattr *bc = NULL; in inet_diag_dump_compat() 955 struct nlattr *attr; in inet_diag_rcv_msg_compat() 985 struct nlattr *attr; in inet_diag_handler_dump() [all …]
|
D | ip_tunnel_core.c | 232 static int ip_tun_build_state(struct net_device *dev, struct nlattr *attr, in ip_tun_build_state() 238 struct nlattr *tb[LWTUNNEL_IP_MAX + 1]; in ip_tun_build_state() 327 static int ip6_tun_build_state(struct net_device *dev, struct nlattr *attr, in ip6_tun_build_state() 333 struct nlattr *tb[LWTUNNEL_IP6_MAX + 1]; in ip6_tun_build_state()
|
D | tcp_diag.c | 38 const struct inet_diag_req_v2 *r, struct nlattr *bc) in tcp_diag_dump()
|
D | fib_rules.c | 169 struct nlattr **tb) in fib4_rule_configure() 246 struct nlattr **tb) in fib4_rule_compare()
|
/linux-4.4.14/drivers/net/ |
D | veth.c | 324 static int veth_validate(struct nlattr *tb[], struct nlattr *data[]) in veth_validate() 342 struct nlattr *tb[], struct nlattr *data[]) in veth_newlink() 348 struct nlattr *peer_tb[IFLA_MAX + 1], **tbp; in veth_newlink() 357 struct nlattr *nla_peer; in veth_newlink()
|
D | macvlan.c | 890 static int macvlan_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in macvlan_fdb_add() 915 static int macvlan_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], in macvlan_fdb_del() 1126 static int macvlan_validate(struct nlattr *tb[], struct nlattr *data[]) in macvlan_validate() 1185 struct nlattr *data[]) in macvlan_changelink_sources() 1189 struct nlattr *nla, *head; in macvlan_changelink_sources() 1245 struct nlattr *tb[], struct nlattr *data[]) in macvlan_common_newlink() 1341 struct nlattr *tb[], struct nlattr *data[]) in macvlan_newlink() 1359 struct nlattr *tb[], struct nlattr *data[]) in macvlan_changelink() 1449 struct nlattr *nest; in macvlan_fill_info()
|
D | nlmon.c | 150 static int nlmon_validate(struct nlattr *tb[], struct nlattr *data[]) in nlmon_validate()
|
D | dummy.c | 159 static int dummy_validate(struct nlattr *tb[], struct nlattr *data[]) in dummy_validate()
|
D | ifb.c | 279 static int ifb_validate(struct nlattr *tb[], struct nlattr *data[]) in ifb_validate()
|
/linux-4.4.14/net/switchdev/ |
D | switchdev.c | 778 struct nlattr *nlattr, in switchdev_port_br_setflag() argument 784 u8 flag = nla_get_u8(nlattr); in switchdev_port_br_setflag() 814 struct nlattr *protinfo) in switchdev_port_br_setlink_protinfo() 816 struct nlattr *attr; in switchdev_port_br_setlink_protinfo() 850 struct nlattr *afspec, in switchdev_port_br_afspec() 854 struct nlattr *attr; in switchdev_port_br_afspec() 916 struct nlattr *protinfo; in switchdev_port_bridge_setlink() 917 struct nlattr *afspec; in switchdev_port_bridge_setlink() 951 struct nlattr *afspec; in switchdev_port_bridge_dellink() 974 int switchdev_port_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in switchdev_port_fdb_add() [all …]
|
/linux-4.4.14/drivers/infiniband/core/ |
D | iwpm_util.h | 226 static inline int iwpm_validate_nlmsg_attr(struct nlattr *nltb[], in iwpm_validate_nlmsg_attr() 261 struct nlattr *nltb[], const char *msg_type);
|
D | iwpm_msg.c | 351 struct nlattr *nltb[IWPM_NLA_RREG_PID_MAX]; in iwpm_register_pid_cb() 418 struct nlattr *nltb[IWPM_NLA_RMANAGE_MAPPING_MAX]; in iwpm_add_mapping_cb() 491 struct nlattr *nltb[IWPM_NLA_RQUERY_MAPPING_MAX]; in iwpm_add_and_query_mapping_cb() 569 struct nlattr *nltb[IWPM_NLA_RQUERY_MAPPING_MAX]; in iwpm_remote_info_cb() 645 struct nlattr *nltb[IWPM_NLA_MAPINFO_REQ_MAX]; in iwpm_mapping_info_cb() 696 struct nlattr *nltb[IWPM_NLA_MAPINFO_NUM_MAX]; in iwpm_ack_mapping_info_cb() 726 struct nlattr *nltb[IWPM_NLA_ERR_MAX]; in iwpm_mapping_error_cb()
|
/linux-4.4.14/net/mpls/ |
D | internal.h | 125 int nla_get_labels(const struct nlattr *nla, u32 max_labels, u8 *labels, 127 int nla_get_via(const struct nlattr *nla, u8 *via_alen, u8 *via_table,
|
D | af_mpls.c | 596 struct nlattr *via, struct nlattr *newdst) in mpls_nh_build() 643 struct nlattr *nla, *attrs = rtnh_attrs(rtnh); in mpls_count_nexthops() 670 struct nlattr *nla_via, *nla_newdst; in mpls_nh_build_multi() 693 struct nlattr *attrs = rtnh_attrs(rtnh); in mpls_nh_build_multi() 969 struct nlattr *nla; in nla_put_via() 989 struct nlattr *nla; in nla_put_labels() 1008 int nla_get_labels(const struct nlattr *nla, in nla_get_labels() 1054 int nla_get_via(const struct nlattr *nla, u8 *via_alen, in nla_get_via() 1100 struct nlattr *tb[RTA_MAX+1]; in rtm_to_route_config() 1144 struct nlattr *nla = tb[index]; in rtm_to_route_config() [all …]
|
D | mpls_iptunnel.c | 125 static int mpls_build_state(struct net_device *dev, struct nlattr *nla, in mpls_build_state() 130 struct nlattr *tb[MPLS_IPTUNNEL_MAX + 1]; in mpls_build_state()
|
/linux-4.4.14/drivers/net/wireless/ath/ath10k/ |
D | testmode.c | 110 static int ath10k_tm_cmd_get_version(struct ath10k *ar, struct nlattr *tb[]) in ath10k_tm_cmd_get_version() 312 static int ath10k_tm_cmd_utf_start(struct ath10k *ar, struct nlattr *tb[]) in ath10k_tm_cmd_utf_start() 429 static int ath10k_tm_cmd_utf_stop(struct ath10k *ar, struct nlattr *tb[]) in ath10k_tm_cmd_utf_stop() 453 static int ath10k_tm_cmd_wmi(struct ath10k *ar, struct nlattr *tb[]) in ath10k_tm_cmd_wmi() 513 struct nlattr *tb[ATH10K_TM_ATTR_MAX + 1]; in ath10k_tm_cmd()
|
/linux-4.4.14/include/uapi/linux/ |
D | netlink.h | 165 struct nlattr { struct 186 #define NLA_HDRLEN ((int) NLA_ALIGN(sizeof(struct nlattr))) argument
|
/linux-4.4.14/net/bridge/netfilter/ |
D | nft_meta_bridge.c | 53 const struct nlattr * const tb[]) in nft_meta_bridge_get_init() 92 const struct nlattr * const tb[]) in nft_meta_bridge_select_ops()
|
/linux-4.4.14/net/caif/ |
D | chnl_net.c | 444 static void caif_netlink_parms(struct nlattr *data[], in caif_netlink_parms() 466 struct nlattr *tb[], struct nlattr *data[]) in ipcaif_newlink() 488 static int ipcaif_changelink(struct net_device *dev, struct nlattr *tb[], in ipcaif_changelink() 489 struct nlattr *data[]) in ipcaif_changelink()
|
/linux-4.4.14/net/netlink/ |
D | genetlink.c | 397 sizeof(struct nlattr *), GFP_KERNEL); in __genl_register_family() 550 struct nlattr **attrbuf; in genl_family_rcv_msg() 606 sizeof(struct nlattr *), GFP_KERNEL); in genl_family_rcv_msg() 703 struct nlattr *nla_ops; in ctrl_fill_info() 711 struct nlattr *nest; in ctrl_fill_info() 737 struct nlattr *nla_grps; in ctrl_fill_info() 745 struct nlattr *nest; in ctrl_fill_info() 779 struct nlattr *nla_grps; in ctrl_fill_mcgrp_info() 780 struct nlattr *nest; in ctrl_fill_mcgrp_info()
|
/linux-4.4.14/net/hsr/ |
D | hsr_netlink.c | 35 struct nlattr *tb[], struct nlattr *data[]) in hsr_newlink() 236 struct nlattr *na; in hsr_get_node_status() 370 struct nlattr *na; in hsr_get_node_list()
|
/linux-4.4.14/net/wireless/ |
D | nl80211.c | 75 __cfg80211_wdev_from_attrs(struct net *netns, struct nlattr **attrs) in __cfg80211_wdev_from_attrs() 128 __cfg80211_rdev_from_attrs(struct net *netns, struct nlattr **attrs) in __cfg80211_rdev_from_attrs() 551 static bool is_valid_ie_attr(const struct nlattr *attr) in is_valid_ie_attr() 680 static int nl80211_parse_key_new(struct nlattr *key, struct key_parse *k) in nl80211_parse_key_new() 682 struct nlattr *tb[NL80211_KEY_MAX + 1]; in nl80211_parse_key_new() 721 struct nlattr *kdt[NUM_NL80211_KEY_DEFAULT_TYPES]; in nl80211_parse_key_new() 770 struct nlattr *kdt[NUM_NL80211_KEY_DEFAULT_TYPES]; in nl80211_parse_key_old() 827 struct nlattr *keys, bool *no_ht) in nl80211_parse_connkeys() 830 struct nlattr *key; in nl80211_parse_connkeys() 913 struct nlattr *tb) in nl80211_get_valid_chan() [all …]
|
/linux-4.4.14/drivers/net/ipvlan/ |
D | ipvlan_main.c | 387 struct nlattr *tb[], struct nlattr *data[]) in ipvlan_nl_changelink() 407 static int ipvlan_nl_validate(struct nlattr *tb[], struct nlattr *data[]) in ipvlan_nl_validate() 439 struct nlattr *tb[], struct nlattr *data[]) in ipvlan_link_new()
|
/linux-4.4.14/net/ipv6/ |
D | ila.c | 130 static int ila_build_state(struct net_device *dev, struct nlattr *nla, in ila_build_state() 135 struct nlattr *tb[ILA_ATTR_MAX + 1]; in ila_build_state()
|
D | ip6_vti.c | 902 static int vti6_validate(struct nlattr *tb[], struct nlattr *data[]) in vti6_validate() 907 static void vti6_netlink_parms(struct nlattr *data[], in vti6_netlink_parms() 932 struct nlattr *tb[], struct nlattr *data[]) in vti6_newlink() 957 static int vti6_changelink(struct net_device *dev, struct nlattr *tb[], in vti6_changelink() 958 struct nlattr *data[]) in vti6_changelink()
|
D | ip6_gre.c | 1397 static int ip6gre_tunnel_validate(struct nlattr *tb[], struct nlattr *data[]) in ip6gre_tunnel_validate() 1415 static int ip6gre_tap_validate(struct nlattr *tb[], struct nlattr *data[]) in ip6gre_tap_validate() 1440 static void ip6gre_netlink_parms(struct nlattr *data[], in ip6gre_netlink_parms() 1521 struct nlattr *tb[], struct nlattr *data[]) in ip6gre_newlink() 1556 static int ip6gre_changelink(struct net_device *dev, struct nlattr *tb[], in ip6gre_changelink() 1557 struct nlattr *data[]) in ip6gre_changelink()
|
D | sit.c | 1413 static int ipip6_validate(struct nlattr *tb[], struct nlattr *data[]) in ipip6_validate() 1429 static void ipip6_netlink_parms(struct nlattr *data[], in ipip6_netlink_parms() 1472 static bool ipip6_netlink_encap_parms(struct nlattr *data[], in ipip6_netlink_encap_parms() 1507 static bool ipip6_netlink_6rd_parms(struct nlattr *data[], in ipip6_netlink_6rd_parms() 1543 struct nlattr *tb[], struct nlattr *data[]) in ipip6_newlink() 1578 static int ipip6_changelink(struct net_device *dev, struct nlattr *tb[], in ipip6_changelink() 1579 struct nlattr *data[]) in ipip6_changelink()
|
D | fib6_rules.c | 196 struct nlattr **tb) in fib6_rule_configure() 228 struct nlattr **tb) in fib6_rule_compare()
|
/linux-4.4.14/drivers/net/can/ |
D | dev.c | 791 static int can_validate(struct nlattr *tb[], struct nlattr *data[]) in can_validate() 821 struct nlattr *tb[], struct nlattr *data[]) in can_changelink() 1006 struct nlattr *tb[], struct nlattr *data[]) in can_newlink()
|
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/ |
D | testmode.c | 73 struct nlattr *tb[ATH6KL_TM_ATTR_MAX + 1]; in ath6kl_tm_cmd()
|
/linux-4.4.14/net/netfilter/ipvs/ |
D | ip_vs_ctl.c | 2872 struct nlattr *nl_stats = nla_nest_start(skb, container_type); in ip_vs_genl_fill_stats() 2900 struct nlattr *nl_stats = nla_nest_start(skb, container_type); in ip_vs_genl_fill_stats64() 2930 struct nlattr *nl_service; in ip_vs_genl_fill_service() 3040 struct nlattr *nla, int full_entry, in ip_vs_genl_parse_service() 3043 struct nlattr *attrs[IPVS_SVC_ATTR_MAX + 1]; in ip_vs_genl_parse_service() 3044 struct nlattr *nla_af, *nla_port, *nla_fwmark, *nla_protocol, *nla_addr; in ip_vs_genl_parse_service() 3092 struct nlattr *nla_sched, *nla_flags, *nla_pe, *nla_timeout, in ip_vs_genl_parse_service() 3124 struct nlattr *nla) in ip_vs_genl_find_service() 3136 struct nlattr *nl_dest; in ip_vs_genl_fill_dest() 3204 struct nlattr *attrs[IPVS_CMD_ATTR_MAX + 1]; in ip_vs_genl_dump_dests() [all …]
|
/linux-4.4.14/net/dccp/ |
D | diag.c | 52 const struct inet_diag_req_v2 *r, struct nlattr *bc) in dccp_diag_dump()
|
/linux-4.4.14/net/ipv6/netfilter/ |
D | nft_dup_ipv6.c | 36 const struct nlattr * const tb[]) in nft_dup_ipv6_init()
|
/linux-4.4.14/net/ipv4/netfilter/ |
D | nft_dup_ipv4.c | 38 const struct nlattr * const tb[]) in nft_dup_ipv4_init()
|
/linux-4.4.14/drivers/net/team/ |
D | team.c | 2086 struct nlattr *tb[], struct nlattr *data[]) in team_newlink() 2094 static int team_validate(struct nlattr *tb[], struct nlattr *data[]) in team_validate() 2228 struct nlattr *option_item; in team_nl_fill_one_option_get() 2327 struct nlattr *option_list; in team_nl_send_options_get() 2425 struct nlattr *nl_option; in team_nl_cmd_options_set() 2439 struct nlattr *opt_attrs[TEAM_ATTR_OPTION_MAX + 1]; in team_nl_cmd_options_set() 2440 struct nlattr *attr; in team_nl_cmd_options_set() 2441 struct nlattr *attr_data; in team_nl_cmd_options_set() 2564 struct nlattr *port_item; in team_nl_fill_one_port_get() 2595 struct nlattr *port_list; in team_nl_send_port_list_get()
|
/linux-4.4.14/net/phonet/ |
D | pn_netlink.c | 67 struct nlattr *tb[IFA_MAX+1]; in addr_doit() 232 struct nlattr *tb[RTA_MAX+1]; in route_doit()
|
/linux-4.4.14/drivers/acpi/ |
D | event.c | 99 struct nlattr *attr; in acpi_bus_generate_netlink_event()
|
/linux-4.4.14/fs/dlm/ |
D | netlink.c | 47 struct nlattr *ret; in mk_data()
|