Home
last modified time | relevance | path

Searched refs:attrtype (Results 1 – 6 of 6) sorted by relevance

/net/core/
Dsock_diag.c35 int sock_diag_put_meminfo(struct sock *sk, struct sk_buff *skb, int attrtype) in sock_diag_put_meminfo() argument
48 return nla_put(skb, attrtype, sizeof(mem), &mem); in sock_diag_put_meminfo()
53 struct sk_buff *skb, int attrtype) in sock_diag_put_filterinfo() argument
62 nla_reserve(skb, attrtype, 0); in sock_diag_put_filterinfo()
74 attr = nla_reserve(skb, attrtype, flen); in sock_diag_put_filterinfo()
/net/802/
Dgarp.c265 static int garp_pdu_append_msg(struct garp_applicant *app, u8 attrtype) in garp_pdu_append_msg() argument
272 gm->attrtype = attrtype; in garp_pdu_append_msg()
273 garp_cb(app->pdu)->cur_type = attrtype; in garp_pdu_append_msg()
429 u8 attrtype) in garp_pdu_parse_attr() argument
447 if (attrtype > app->app->maxattr) in garp_pdu_parse_attr()
474 attr = garp_attr_lookup(app, ga->data, dlen, attrtype); in garp_pdu_parse_attr()
488 if (gm->attrtype == 0) in garp_pdu_parse_msg()
493 if (garp_pdu_parse_attr(app, skb, gm->attrtype) < 0) in garp_pdu_parse_msg()
Dmrp.c358 u8 attrtype, u8 attrlen) in mrp_pdu_append_msg_hdr() argument
372 mh->attrtype = attrtype; in mrp_pdu_append_msg_hdr()
413 mrp_cb(app->pdu)->mh->attrtype != attr->type || in mrp_pdu_append_vecattr_event()
643 mrp_cb(skb)->mh->attrtype); in mrp_pdu_parse_vecattr_event()
756 if (mrp_cb(skb)->mh->attrtype == 0 || in mrp_pdu_parse_msg()
757 mrp_cb(skb)->mh->attrtype > app->app->maxattr || in mrp_pdu_parse_msg()
/net/bridge/
Dbr_netlink.c313 int attrtype, unsigned long mask) in br_set_port_flag() argument
315 if (tb[attrtype]) { in br_set_port_flag()
316 u8 flag = nla_get_u8(tb[attrtype]); in br_set_port_flag()
/net/openvswitch/
Dflow_netlink.c1294 int attrtype, void *data, int len) in __add_action() argument
1302 a->nla_type = attrtype; in __add_action()
1312 static int add_action(struct sw_flow_actions **sfa, int attrtype, in add_action() argument
1317 a = __add_action(sfa, attrtype, data, len); in add_action()
1325 int attrtype) in add_nested_action_start() argument
1330 err = add_action(sfa, attrtype, NULL, 0); in add_nested_action_start()
/net/ipv6/
Daddrconf.c4536 static void snmp6_fill_stats(u64 *stats, struct inet6_dev *idev, int attrtype, in snmp6_fill_stats() argument
4539 switch (attrtype) { in snmp6_fill_stats()