/net/8021q/ |
D | vlan_gvrp.c | 30 __be16 vlan_id = htons(vlan->vlan_id); in vlan_gvrp_request_join() local 35 &vlan_id, sizeof(vlan_id), GVRP_ATTR_VID); in vlan_gvrp_request_join() 41 __be16 vlan_id = htons(vlan->vlan_id); in vlan_gvrp_request_leave() local 46 &vlan_id, sizeof(vlan_id), GVRP_ATTR_VID); in vlan_gvrp_request_leave()
|
D | vlan_mvrp.c | 36 __be16 vlan_id = htons(vlan->vlan_id); in vlan_mvrp_request_join() local 41 &vlan_id, sizeof(vlan_id), MVRP_ATTR_VID); in vlan_mvrp_request_join() 47 __be16 vlan_id = htons(vlan->vlan_id); in vlan_mvrp_request_leave() local 52 &vlan_id, sizeof(vlan_id), MVRP_ATTR_VID); in vlan_mvrp_request_leave()
|
D | vlan.c | 51 __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() 95 u16 vlan_id = vlan->vlan_id; in unregister_vlan_dev() local 111 vlan_group_set_device(grp, vlan->vlan_proto, vlan_id, NULL); in unregister_vlan_dev() 125 vlan_vid_del(real_dev, vlan->vlan_proto, vlan_id); in unregister_vlan_dev() 129 __be16 protocol, u16 vlan_id, in vlan_check_real_dev() argument 140 if (vlan_find_dev(real_dev, protocol, vlan_id) != NULL) { in vlan_check_real_dev() 152 u16 vlan_id = vlan->vlan_id; in register_vlan_dev() local 157 err = vlan_vid_add(real_dev, vlan->vlan_proto, vlan_id); in register_vlan_dev() 175 err = vlan_group_prealloc_vid(grp, vlan->vlan_proto, vlan_id); in register_vlan_dev() [all …]
|
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() 64 return array ? array[vlan_id % VLAN_GROUP_ARRAY_PART_LEN] : NULL; in __vlan_group_get_device() 69 u16 vlan_id) in vlan_group_get_device() argument 76 return __vlan_group_get_device(vg, pidx, vlan_id); in vlan_group_get_device() 80 __be16 vlan_proto, u16 vlan_id, in vlan_group_set_device() argument 89 [vlan_id / VLAN_GROUP_ARRAY_PART_LEN]; in vlan_group_set_device() 90 array[vlan_id % VLAN_GROUP_ARRAY_PART_LEN] = dev; in vlan_group_set_device() 95 __be16 vlan_proto, u16 vlan_id) in vlan_find_dev() argument 101 vlan_proto, vlan_id); in vlan_find_dev() [all …]
|
D | vlan_core.c | 14 u16 vlan_id = skb_vlan_tag_get_id(skb); in vlan_do_receive() local 18 vlan_dev = vlan_find_dev(skb->dev, vlan_proto, vlan_id); in vlan_do_receive() 77 __be16 vlan_proto, u16 vlan_id) in __vlan_find_dev_deep_rcu() argument 83 vlan_proto, vlan_id); in __vlan_find_dev_deep_rcu() 95 vlan_proto, vlan_id); in __vlan_find_dev_deep_rcu() 115 return vlan_dev_priv(dev)->vlan_id; in vlan_dev_vlan_id()
|
D | vlan_netlink.c | 172 vlan->vlan_id = nla_get_u16(data[IFLA_VLAN_ID]); in vlan_newlink() 177 err = vlan_check_real_dev(real_dev, vlan->vlan_proto, vlan->vlan_id, in vlan_newlink() 232 nla_put_u16(skb, IFLA_VLAN_ID, vlan->vlan_id)) in vlan_fill_info()
|
D | vlanproc.c | 236 vlan->vlan_id, vlan->real_dev->name); in vlan_seq_show() 256 vlandev->name, vlan->vlan_id, in vlandev_seq_show()
|
D | vlan_dev.c | 59 vlan_tci = vlan->vlan_id; in vlan_dev_hard_header() 115 vlan_tci = vlan->vlan_id; in vlan_dev_hard_start_xmit() 811 path->encap.id = vlan->vlan_id; in vlan_dev_fill_forward_path() 818 ctx->vlan[ctx->num_vlans].id = vlan->vlan_id; in vlan_dev_fill_forward_path()
|
/net/smc/ |
D | smc_ism.c | 47 int smc_ism_cantalk(u64 peer_gid, unsigned short vlan_id, struct smcd_dev *smcd) in smc_ism_cantalk() argument 49 return smcd->ops->query_remote_gid(smcd, peer_gid, vlan_id ? 1 : 0, in smc_ism_cantalk() 50 vlan_id); in smc_ism_cantalk() 210 dmb.vlan_id = lgr->vlan_id; in smc_ism_register_dmb() 336 unsigned short vlan_id; member 348 smc_smcd_terminate(wrk->smcd, wrk->event.tok, ev_info.vlan_id); in smcd_handle_sw_event() 526 ev_info.vlan_id = lgr->vlan_id; in smc_ism_signal_shutdown()
|
D | smc_ism.h | 33 int smc_ism_cantalk(u64 peer_gid, unsigned short vlan_id, struct smcd_dev *dev); 36 int smc_ism_get_vlan(struct smcd_dev *dev, unsigned short vlan_id); 37 int smc_ism_put_vlan(struct smcd_dev *dev, unsigned short vlan_id);
|
D | smc_core.c | 357 if (nla_put_u8(skb, SMC_NLA_LGR_R_VLAN_ID, lgr->vlan_id)) in smc_nl_fill_lgr() 531 if (nla_put_u8(skb, SMC_NLA_LGR_D_VLAN_ID, lgr->vlan_id)) in smc_nl_fill_smcd_lgr() 782 ini->vlan_id, lnk->gid, &lnk->sgid_index, in smcr_link_init() 837 if (ini->is_smcd && ini->vlan_id) { in smc_lgr_create() 839 ini->vlan_id)) { in smc_lgr_create() 860 lgr->vlan_id = ini->vlan_id; in smc_lgr_create() 941 if (ini->is_smcd && ini->vlan_id) in smc_lgr_create() 942 smc_ism_put_vlan(ini->ism_dev[ini->ism_selected], ini->vlan_id); in smc_lgr_create() 1400 smc_ism_put_vlan(lgr->smcd, lgr->vlan_id); in smc_lgr_free() 1526 (vlan == VLAN_VID_MASK || lgr->vlan_id == vlan)) { in smc_smcd_terminate() [all …]
|
D | smc_ib.c | 275 unsigned short vlan_id, u8 gid[], u8 *sgid_index, in smc_ib_determine_gid() argument 290 ((!vlan_id && !is_vlan_dev(ndev)) || in smc_ib_determine_gid() 291 (vlan_id && is_vlan_dev(ndev) && in smc_ib_determine_gid() 292 vlan_dev_vlan_id(ndev) == vlan_id))) { in smc_ib_determine_gid()
|
D | smc_ib.h | 113 unsigned short vlan_id, u8 gid[], u8 *sgid_index,
|
D | smc_core.h | 276 unsigned short vlan_id; /* vlan id of link group */ member 404 unsigned short vlan_id; member
|
D | smc_llc.c | 1053 ini->vlan_id = lgr->vlan_id; in smc_llc_cli_add_link() 1184 ini->vlan_id = lgr->vlan_id; in smc_llc_cli_add_link_invite() 1431 ini->vlan_id = lgr->vlan_id; in smc_llc_srv_add_link()
|
D | smc_pnet.c | 984 !smc_ib_determine_gid(ibdev, i, ini->vlan_id, ini->ib_gid, NULL, in smc_pnet_determine_gid() 991 !smc_ib_determine_gid(ibdev, i, ini->vlan_id, ini->smcrv2.ib_gid_v2, in smc_pnet_determine_gid() 1117 !smc_ism_cantalk(ini->ism_peer_gid[0], ini->vlan_id, in smc_pnet_find_ism_by_pnetid()
|
D | af_smc.c | 1068 if (ini->vlan_id && smc_ism_get_vlan(ini->ism_dev[0], ini->vlan_id)) in smc_connect_ism_vlan_setup() 1128 if (ini->vlan_id && smc_ism_put_vlan(ini->ism_dev[0], ini->vlan_id)) in smc_connect_ism_vlan_cleanup() 1167 alt_ini->vlan_id = lgr->vlan_id; in smc_fill_gid_list()
|
/net/bridge/ |
D | br_fdb.c | 146 if (fdb->key.vlan_id && nla_put(skb, NDA_VLAN, sizeof(u16), in fdb_fill_info() 147 &fdb->key.vlan_id)) in fdb_fill_info() 223 key.vlan_id = vid; in fdb_find_rcu() 345 u16 vid = f->key.vlan_id; in fdb_delete_local() 400 fdb->key.vlan_id = vid; in fdb_create() 575 if (desc->vlan_id && desc->vlan_id != f->key.vlan_id) in __fdb_flush_matches() 669 struct net_bridge_fdb_flush_desc desc = { .vlan_id = vid }; in br_fdb_delete_bulk() 718 desc.port_ifindex, desc.vlan_id, desc.flags, desc.flags_mask); in br_fdb_delete_bulk() 746 (vid && f->key.vlan_id != vid)) in br_fdb_delete_by_port() 1505 if (f->dst == p && f->key.vlan_id == vid) in br_fdb_clear_offload()
|
D | br_device.c | 413 f = br_fdb_find_rcu(br, ctx->daddr, path->bridge.vlan_id); in br_fill_forward_path() 432 ctx->vlan[ctx->num_vlans].id = path->bridge.vlan_id; in br_fill_forward_path()
|
D | br_vlan.c | 1466 path->bridge.vlan_id = vid; in br_vlan_fill_forward_path_pvid() 1481 v = br_vlan_find(vg, path->bridge.vlan_id); in br_vlan_fill_forward_path_mode() 1589 vlan_dev_priv(dev)->vlan_id == data->vid) { in br_vlan_match_bind_vlan_dev_fn() 1623 u16 vid = vlan_dev_priv(vlan_dev)->vlan_id; in br_vlan_set_vlan_dev_state()
|
/net/core/ |
D | pktgen.c | 245 #define VLAN_TAG_SIZE(x) ((x)->vlan_id == 0xffff ? 0 : 4) 368 __u16 vlan_id; /* 0xffff means no vlan tag */ member 642 if (pkt_dev->vlan_id != 0xffff) in pktgen_if_show() 644 pkt_dev->vlan_id, pkt_dev->vlan_p, in pktgen_if_show() 1640 if (pkt_dev->nr_labels && pkt_dev->vlan_id != 0xffff) { in pktgen_if_write() 1641 pkt_dev->vlan_id = 0xffff; /* turn off VLAN/SVLAN */ in pktgen_if_write() 1657 pkt_dev->vlan_id = value; /* turn on VLAN */ in pktgen_if_write() 1666 sprintf(pg_result, "OK: vlan_id=%u", pkt_dev->vlan_id); in pktgen_if_write() 1668 pkt_dev->vlan_id = 0xffff; /* turn off VLAN/SVLAN */ in pktgen_if_write() 1683 if ((value <= 7) && (pkt_dev->vlan_id != 0xffff)) { in pktgen_if_write() [all …]
|
D | selftests.c | 37 int vlan_id; member
|
D | flow_dissector.c | 1309 key_vlan->vlan_id = skb_vlan_tag_get_id(skb); in __skb_flow_dissect() 1312 key_vlan->vlan_id = ntohs(vlan->h_vlan_TCI) & in __skb_flow_dissect()
|
/net/netfilter/ |
D | nf_flow_table_offload.c | 82 u16 vlan_id, __be16 proto) in nf_flow_rule_vlan_match() argument 84 key->vlan_id = vlan_id; in nf_flow_rule_vlan_match() 85 mask->vlan_id = VLAN_VID_MASK; in nf_flow_rule_vlan_match()
|
D | nft_flow_offload.c | 143 info->encap[info->num_encaps].id = path->bridge.vlan_id; in nft_dev_path_info()
|