/net/8021q/ |
D | vlan_gvrp.c | 33 __be16 vlan_id = htons(vlan->vlan_id); in vlan_gvrp_request_join() local 38 &vlan_id, sizeof(vlan_id), GVRP_ATTR_VID); in vlan_gvrp_request_join() 44 __be16 vlan_id = htons(vlan->vlan_id); in vlan_gvrp_request_leave() local 49 &vlan_id, sizeof(vlan_id), GVRP_ATTR_VID); in vlan_gvrp_request_leave()
|
D | vlan_mvrp.c | 39 __be16 vlan_id = htons(vlan->vlan_id); in vlan_mvrp_request_join() local 44 &vlan_id, sizeof(vlan_id), MVRP_ATTR_VID); in vlan_mvrp_request_join() 50 __be16 vlan_id = htons(vlan->vlan_id); in vlan_mvrp_request_leave() local 55 &vlan_id, sizeof(vlan_id), MVRP_ATTR_VID); in vlan_mvrp_request_leave()
|
D | vlan.h | 54 u16 vlan_id) in __vlan_group_get_device() argument 59 [vlan_id / VLAN_GROUP_ARRAY_PART_LEN]; in __vlan_group_get_device() 60 return array ? array[vlan_id % VLAN_GROUP_ARRAY_PART_LEN] : NULL; in __vlan_group_get_device() 65 u16 vlan_id) in vlan_group_get_device() argument 67 return __vlan_group_get_device(vg, vlan_proto_idx(vlan_proto), vlan_id); in vlan_group_get_device() 71 __be16 vlan_proto, u16 vlan_id, in vlan_group_set_device() argument 78 [vlan_id / VLAN_GROUP_ARRAY_PART_LEN]; in vlan_group_set_device() 79 array[vlan_id % VLAN_GROUP_ARRAY_PART_LEN] = dev; in vlan_group_set_device() 84 __be16 vlan_proto, u16 vlan_id) in vlan_find_dev() argument 90 vlan_proto, vlan_id); in vlan_find_dev() [all …]
|
D | vlan.c | 55 __be16 vlan_proto, u16 vlan_id) in vlan_group_prealloc_vid() argument 64 vidx = vlan_id / VLAN_GROUP_ARRAY_PART_LEN; in vlan_group_prealloc_vid() 84 u16 vlan_id = vlan->vlan_id; in unregister_vlan_dev() local 100 vlan_group_set_device(grp, vlan->vlan_proto, vlan_id, NULL); in unregister_vlan_dev() 114 vlan_vid_del(real_dev, vlan->vlan_proto, vlan_id); in unregister_vlan_dev() 121 __be16 protocol, u16 vlan_id) in vlan_check_real_dev() argument 130 if (vlan_find_dev(real_dev, protocol, vlan_id) != NULL) in vlan_check_real_dev() 140 u16 vlan_id = vlan->vlan_id; in register_vlan_dev() local 145 err = vlan_vid_add(real_dev, vlan->vlan_proto, vlan_id); in register_vlan_dev() 163 err = vlan_group_prealloc_vid(grp, vlan->vlan_proto, vlan_id); in register_vlan_dev() [all …]
|
D | vlan_core.c | 13 u16 vlan_id = skb_vlan_tag_get_id(skb); in vlan_do_receive() local 17 vlan_dev = vlan_find_dev(skb->dev, vlan_proto, vlan_id); in vlan_do_receive() 76 __be16 vlan_proto, u16 vlan_id) in __vlan_find_dev_deep_rcu() argument 82 vlan_proto, vlan_id); in __vlan_find_dev_deep_rcu() 94 vlan_proto, vlan_id); in __vlan_find_dev_deep_rcu() 114 return vlan_dev_priv(dev)->vlan_id; in vlan_dev_vlan_id()
|
D | vlan_netlink.c | 148 vlan->vlan_id = nla_get_u16(data[IFLA_VLAN_ID]); in vlan_newlink() 152 err = vlan_check_real_dev(real_dev, vlan->vlan_proto, vlan->vlan_id); in vlan_newlink() 201 nla_put_u16(skb, IFLA_VLAN_ID, vlan->vlan_id)) in vlan_fill_info()
|
D | vlanproc.c | 270 vlan->vlan_id, vlan->real_dev->name); in vlan_seq_show() 290 vlandev->name, vlan->vlan_id, in vlandev_seq_show()
|
D | vlan_dev.c | 64 vlan_tci = vlan->vlan_id; in vlan_dev_hard_header() 121 vlan_tci = vlan->vlan_id; in vlan_dev_hard_start_xmit()
|
/net/smc/ |
D | smc_core.c | 148 char *peer_systemid, unsigned short vlan_id) in smc_lgr_create() argument 165 lgr->vlan_id = vlan_id; in smc_lgr_create() 345 static int smc_vlan_by_tcpsk(struct socket *clcsock, unsigned short *vlan_id) in smc_vlan_by_tcpsk() argument 350 *vlan_id = 0; in smc_vlan_by_tcpsk() 361 *vlan_id = vlan_dev_vlan_id(dst->dev); in smc_vlan_by_tcpsk() 377 if (!lgr->vlan_id) { in smc_link_determine_gid() 388 (vlan_dev_vlan_id(gattr.ndev) == lgr->vlan_id)) { in smc_link_determine_gid() 403 unsigned short vlan_id; in smc_conn_create() local 409 rc = smc_vlan_by_tcpsk(smc->clcsock, &vlan_id); in smc_conn_create() 429 (lgr->vlan_id == vlan_id) && in smc_conn_create() [all …]
|
D | smc_core.h | 134 unsigned short vlan_id; /* vlan id of link group */ member
|
/net/bridge/ |
D | br_switchdev.c | 125 fdb->vlan_id, in br_switchdev_fdb_notify() 130 fdb->vlan_id, in br_switchdev_fdb_notify()
|
D | br_fdb.c | 96 if (ether_addr_equal(f->addr.addr, addr) && f->vlan_id == vid) in fdb_find_rcu() 194 u16 vid = f->vlan_id; in fdb_delete_local() 393 if (f->is_static || (vid && f->vlan_id != vid)) in br_fdb_delete_by_port() 494 fdb->vlan_id = vid; in fdb_create() 660 if (fdb->vlan_id && nla_put(skb, NDA_VLAN, sizeof(u16), &fdb->vlan_id)) in fdb_fill_info()
|
D | br_private.h | 169 __u16 vlan_id; member
|
/net/core/ |
D | pktgen.c | 229 #define VLAN_TAG_SIZE(x) ((x)->vlan_id == 0xffff ? 0 : 4) 340 __u16 vlan_id; /* 0xffff means no vlan tag */ member 606 if (pkt_dev->vlan_id != 0xffff) in pktgen_if_show() 608 pkt_dev->vlan_id, pkt_dev->vlan_p, in pktgen_if_show() 1629 if (pkt_dev->nr_labels && pkt_dev->vlan_id != 0xffff) { in pktgen_if_write() 1630 pkt_dev->vlan_id = 0xffff; /* turn off VLAN/SVLAN */ in pktgen_if_write() 1646 pkt_dev->vlan_id = value; /* turn on VLAN */ in pktgen_if_write() 1655 sprintf(pg_result, "OK: vlan_id=%u", pkt_dev->vlan_id); in pktgen_if_write() 1657 pkt_dev->vlan_id = 0xffff; /* turn off VLAN/SVLAN */ in pktgen_if_write() 1672 if ((value <= 7) && (pkt_dev->vlan_id != 0xffff)) { in pktgen_if_write() [all …]
|
D | flow_dissector.c | 632 key_vlan->vlan_id = skb_vlan_tag_get_id(skb); in __skb_flow_dissect() 636 key_vlan->vlan_id = ntohs(vlan->h_vlan_TCI) & in __skb_flow_dissect()
|
/net/l2tp/ |
D | l2tp_core.h | 61 u16 vlan_id; /* VLAN pseudowire only */ member
|
D | l2tp_netlink.c | 585 cfg.vlan_id = nla_get_u16(info->attrs[L2TP_ATTR_VLAN_ID]); in l2tp_nl_cmd_session_create()
|
/net/sched/ |
D | cls_flower.c | 507 key_val->vlan_id = in fl_set_key_vlan() 509 key_mask->vlan_id = VLAN_VID_MASK; in fl_set_key_vlan() 1127 if (vlan_mask->vlan_id) { in fl_dump_key_vlan() 1129 vlan_key->vlan_id); in fl_dump_key_vlan()
|