/linux-4.1.27/net/bridge/netfilter/ |
D | ebt_vlan.c | 70 id = TCI & VLAN_VID_MASK; in ebt_vlan_mt()
|
/linux-4.1.27/include/linux/ |
D | if_vlan.h | 70 #define VLAN_VID_MASK 0x0fff /* VLAN Identifier */ macro 83 #define skb_vlan_tag_get_id(__skb) ((__skb)->vlan_tci & VLAN_VID_MASK)
|
/linux-4.1.27/net/sched/ |
D | act_vlan.c | 97 if (push_vid >= VLAN_VID_MASK) in tcf_vlan_init()
|
D | cls_flow.c | 216 return tag & VLAN_VID_MASK; in flow_get_vlan_tag()
|
/linux-4.1.27/net/8021q/ |
D | vlan_netlink.c | 69 if (id >= VLAN_VID_MASK) in vlan_validate()
|
D | vlan.c | 220 if (vlan_id >= VLAN_VID_MASK) in register_vlan_device()
|
/linux-4.1.27/net/batman-adv/ |
D | main.h | 188 (int)(vid & VLAN_VID_MASK) : -1)
|
D | distributed-arp-table.c | 959 vid & VLAN_VID_MASK); in batadv_dat_snoop_outgoing_arp_request() 1039 vid & VLAN_VID_MASK); in batadv_dat_snoop_incoming_arp_request()
|
D | sysfs.c | 670 vlan->vid & VLAN_VID_MASK); in batadv_sysfs_add_vlan()
|
D | main.c | 1195 vid = ntohs(vhdr->h_vlan_TCI) & VLAN_VID_MASK; in batadv_get_vid()
|
D | bridge_loop_avoidance.c | 342 vid & VLAN_VID_MASK); in batadv_bla_send_claim()
|
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/ |
D | en_ethtool.c | 1266 !((cmd->fs.m_ext.vlan_tci & cpu_to_be16(VLAN_VID_MASK)) == in mlx4_en_validate_flow() 1268 (cmd->fs.m_ext.vlan_tci & cpu_to_be16(VLAN_VID_MASK)) == in mlx4_en_validate_flow() 1269 cpu_to_be16(VLAN_VID_MASK))) in mlx4_en_validate_flow() 1295 (cmd->fs.m_ext.vlan_tci & cpu_to_be16(VLAN_VID_MASK))) { in mlx4_en_ethtool_add_mac_rule() 1297 spec_l2->eth.vlan_id_msk = cpu_to_be16(VLAN_VID_MASK); in mlx4_en_ethtool_add_mac_rule()
|
/linux-4.1.27/drivers/net/ethernet/sfc/ |
D | siena_sriov.c | 326 vlan = ntohs(vf->addr.tci) & VLAN_VID_MASK; in efx_siena_sriov_reset_tx_filter() 364 vlan = ntohs(vf->addr.tci) & VLAN_VID_MASK; in efx_siena_sriov_reset_rx_filter() 1614 tci = (vlan & VLAN_VID_MASK) | ((qos & 0x7) << VLAN_PRIO_SHIFT); in efx_siena_sriov_set_vf_vlan() 1662 ivi->vlan = tci & VLAN_VID_MASK; in efx_siena_sriov_get_vf_config()
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb3/ |
D | l2t.c | 103 V_L2T_W_VLAN(e->vlan & VLAN_VID_MASK) | in setup_l2e_send_pending()
|
D | cxgb3_offload.c | 187 if (vlan && vlan != VLAN_VID_MASK) { in get_iff_from_mac() 420 VLAN_VID_MASK); in cxgb_offload_ctl()
|
/linux-4.1.27/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_iov.c | 446 if (qos || (vid > (VLAN_VID_MASK - 1))) in fm10k_ndo_set_vf_vlan()
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_sriov.c | 777 if ((vlvf & VLAN_VID_MASK) == vlan) in ixgbe_find_vlvf_entry() 850 if ((vlvf & VLAN_VID_MASK) == vid && in ixgbe_set_vf_vlan_msg()
|
/linux-4.1.27/net/bridge/ |
D | br_vlan.c | 605 if (val >= VLAN_VID_MASK) in br_vlan_set_default_pvid()
|
D | br_private.h | 637 *vid = skb_vlan_tag_get(skb) & VLAN_VID_MASK; in br_vlan_get_tag()
|
D | br_netfilter.c | 483 skb_vlan_tag_get(skb) & VLAN_VID_MASK); in brnf_get_logical_dev()
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/ |
D | l2t.c | 632 e->vlan & VLAN_VID_MASK, vlan_prio(e), e->lport, in l2t_seq_show()
|
/linux-4.1.27/drivers/net/hyperv/ |
D | netvsc_drv.c | 481 vlan->vlanid = packet->vlan_tci & VLAN_VID_MASK; in netvsc_start_xmit()
|
/linux-4.1.27/drivers/staging/gdm724x/ |
D | gdm_lte.c | 452 nic->vlan_id = ntohs(vlan_eth->h_vlan_TCI) & VLAN_VID_MASK; in gdm_lte_tx()
|
/linux-4.1.27/drivers/net/ethernet/freescale/ |
D | gianfar_ethtool.c | 1134 return be16_to_cpu(rule->h_ext.vlan_tci) & VLAN_VID_MASK; in vlan_tci_vid() 1139 return be16_to_cpu(rule->m_ext.vlan_tci) & VLAN_VID_MASK; in vlan_tci_vidm()
|
/linux-4.1.27/arch/arm/net/ |
D | bpf_jit_32.c | 849 OP_IMM3(ARM_AND, r_A, r_A, VLAN_VID_MASK, ctx); in build_body()
|
/linux-4.1.27/drivers/net/ethernet/toshiba/ |
D | ps3_gelic_net.c | 1002 vid = *(u16 *)(descr->skb->data) & VLAN_VID_MASK; in gelic_card_decode_one_descr()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_sriov.c | 2937 vlan & VLAN_VID_MASK; in bnx2x_set_vf_vlan() 2938 update_params->silent_removal_mask = VLAN_VID_MASK; in bnx2x_set_vf_vlan()
|
D | bnx2x_main.c | 3255 rxq_init->silent_removal_mask = VLAN_VID_MASK; in bnx2x_pf_rx_q_prep() 5352 (bp->afex_def_vlan_tag & VLAN_VID_MASK); in bnx2x_after_function_update() 5353 q_update_params->silent_removal_mask = VLAN_VID_MASK; in bnx2x_after_function_update()
|
/linux-4.1.27/drivers/net/ethernet/intel/i40evf/ |
D | i40e_txrx.c | 834 if (vlan_tag & VLAN_VID_MASK) in i40e_receive_skb()
|
/linux-4.1.27/drivers/net/ethernet/intel/i40e/ |
D | i40e_virtchnl_pf.c | 2111 VLAN_VID_MASK)); in i40e_ndo_set_vf_port_vlan()
|
D | i40e_txrx.c | 1351 if (vlan_tag & VLAN_VID_MASK) in i40e_receive_skb()
|
/linux-4.1.27/drivers/net/ethernet/via/ |
D | via-rhine.c | 1792 vid_pcp = (vid_pcp & VLAN_VID_MASK) | in rhine_start_tx()
|
/linux-4.1.27/drivers/scsi/bnx2fc/ |
D | bnx2fc_fcoe.c | 849 interface->vlan_id == (vlan_id & VLAN_VID_MASK)) in bnx2fc_indicate_netevent()
|
/linux-4.1.27/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-dev.c | 1033 bits = get_bitmask_order(VLAN_VID_MASK); in xgbe_vid_crc32_le()
|
/linux-4.1.27/drivers/net/ethernet/emulex/benet/ |
D | be_main.c | 1465 vi->vlan = vf_cfg->vlan_tag & VLAN_VID_MASK; in be_get_vf_config() 2031 if (adapter->pvid == (rxcp->vlan_tag & VLAN_VID_MASK) && in be_rx_compl_get()
|
D | be_cmds.c | 326 adapter->pvid = le16_to_cpu(evt->tag) & VLAN_VID_MASK; in be_async_grp5_pvid_state_process()
|
/linux-4.1.27/net/core/ |
D | rtnetlink.c | 2546 if (!vid || vid >= VLAN_VID_MASK) { in fdb_vid_parse()
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgbevf/ |
D | ixgbevf_main.c | 515 if (test_bit(vid & VLAN_VID_MASK, active_vlans)) in ixgbevf_process_skb_fields()
|
/linux-4.1.27/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 6022 if ((vlvf & VLAN_VID_MASK) == vid && in igb_set_vf_vlan()
|