Home
last modified time | relevance | path

Searched refs:ETH_P_8021Q (Results 1 – 25 of 54) sorted by relevance

123

/linux-3.4.99/include/linux/
Dif_vlan.h184 veth->h_vlan_proto = htons(ETH_P_8021Q); in vlan_insert_tag()
207 skb->protocol = htons(ETH_P_8021Q); in __vlan_put_tag()
255 if (veth->h_vlan_proto != htons(ETH_P_8021Q)) { in __vlan_get_tag()
312 skb->protocol != cpu_to_be16(ETH_P_8021Q)) in vlan_get_protocol()
Dif_ether.h63 #define ETH_P_8021Q 0x8100 /* 802.1Q VLAN Extended Header */ macro
Dnetfilter_bridge.h62 case __cpu_to_be16(ETH_P_8021Q): in nf_bridge_encap_header_len()
Dptp_classify.h120 /*L40*/ {OP_JEQ, 0, 9, ETH_P_8021Q }, /* f goto L50 */ \
/linux-3.4.99/net/dsa/
Dtag_dsa.c32 if (skb->protocol == htons(ETH_P_8021Q)) { in dsa_xmit()
138 new_header[0] = (ETH_P_8021Q >> 8) & 0xff; in dsa_rcv()
139 new_header[1] = ETH_P_8021Q & 0xff; in dsa_rcv()
Dtag_edsa.c34 if (skb->protocol == htons(ETH_P_8021Q)) { in edsa_xmit()
151 new_header[0] = (ETH_P_8021Q >> 8) & 0xff; in edsa_rcv()
152 new_header[1] = ETH_P_8021Q & 0xff; in edsa_rcv()
/linux-3.4.99/drivers/staging/rtl8712/
Dif_ether.h86 #define ETH_P_8021Q 0x8100 /* 802.1Q VLAN Extended Header */ macro
/linux-3.4.99/net/bridge/netfilter/
Debt_vlan.c95 if (e->ethproto != htons(ETH_P_8021Q)) { in ebt_vlan_mt_check()
/linux-3.4.99/net/core/
Dflow_dissector.c63 case __constant_htons(ETH_P_8021Q): { in skb_flow_dissect()
Dpktgen.c2663 protocol = htons(ETH_P_8021Q); in fill_packet_ipv4()
2714 *svlan_encapsulated_proto = htons(ETH_P_8021Q); in fill_packet_ipv4()
2887 protocol = htons(ETH_P_8021Q); in fill_packet_ipv6()
2919 *svlan_encapsulated_proto = htons(ETH_P_8021Q); in fill_packet_ipv6()
Ddev.c1970 while (type == htons(ETH_P_8021Q)) { in skb_gso_segment()
2146 if (protocol == htons(ETH_P_8021Q)) { in netif_skb_features()
2155 if (protocol != htons(ETH_P_8021Q)) { in netif_skb_features()
3195 if (skb->protocol == cpu_to_be16(ETH_P_8021Q)) { in __netif_receive_skb()
/linux-3.4.99/net/openvswitch/
Dactions.c83 if (unlikely(skb->protocol != htons(ETH_P_8021Q) || in pop_vlan()
92 if (likely(skb->protocol != htons(ETH_P_8021Q) || in pop_vlan()
Dvport-netdev.c147 if (skb->protocol == htons(ETH_P_8021Q)) in packet_length()
Dflow.c631 else if (eth->h_proto == htons(ETH_P_8021Q)) in ovs_flow_extract()
1015 nla_get_be16(a[OVS_KEY_ATTR_ETHERTYPE]) == htons(ETH_P_8021Q)) { in ovs_flow_from_nlattrs()
1037 swkey->eth.type = htons(ETH_P_8021Q); in ovs_flow_from_nlattrs()
1191 if (swkey->eth.tci || swkey->eth.type == htons(ETH_P_8021Q)) { in ovs_flow_to_nlattrs()
1192 NLA_PUT_BE16(skb, OVS_KEY_ATTR_ETHERTYPE, htons(ETH_P_8021Q)); in ovs_flow_to_nlattrs()
/linux-3.4.99/drivers/scsi/fnic/
Dfnic_fcs.c147 if (eh->h_proto == htons(ETH_P_8021Q)) { in fnic_import_rq_eth_pkt()
482 vlan_hdr->h_vlan_proto = htons(ETH_P_8021Q); in fnic_eth_send()
529 vlan_hdr->h_vlan_proto = htons(ETH_P_8021Q); in fnic_send_frame()
/linux-3.4.99/drivers/net/ethernet/stmicro/stmmac/
Ddwmac100_core.c42 writel(ETH_P_8021Q, ioaddr + MAC_VLAN1); in dwmac100_core_init()
/linux-3.4.99/net/8021q/
Dvlan_dev.c125 skb->protocol = htons(ETH_P_8021Q); in vlan_dev_hard_header()
126 type = ETH_P_8021Q; in vlan_dev_hard_header()
154 if (veth->h_vlan_proto != htons(ETH_P_8021Q) || in vlan_dev_hard_start_xmit()
/linux-3.4.99/net/batman-adv/
Dsoft-interface.c452 if (ntohs(ethhdr->h_proto) == ETH_P_8021Q) in softif_batman_recv()
577 case ETH_P_8021Q: in interface_tx()
707 case ETH_P_8021Q: in interface_rx()
Dgateway_client.c585 if (ntohs(ethhdr->h_proto) == ETH_P_8021Q) { in gw_is_dhcp_target()
/linux-3.4.99/net/bridge/
Dbr_netfilter.c78 else if (skb->protocol == htons(ETH_P_8021Q)) in vlan_proto()
240 skb->protocol = htons(ETH_P_8021Q); in nf_bridge_update_protocol()
522 if (skb->protocol == htons(ETH_P_8021Q)) in setup_pre_routing()
Dbr_forward.c39 return skb->len - (skb->protocol == htons(ETH_P_8021Q) ? VLAN_HLEN : 0); in packet_length()
/linux-3.4.99/net/ipv4/
Dinet_lro.c339 if ((skb->protocol == htons(ETH_P_8021Q)) && in __lro_proc_skb()
459 if ((skb->protocol == htons(ETH_P_8021Q)) && in __lro_proc_segment()
/linux-3.4.99/drivers/infiniband/core/
Dud_header.c253 header->eth.type = cpu_to_be16(ETH_P_8021Q); in ib_ud_header_init()
/linux-3.4.99/drivers/net/ethernet/adi/
Dbfin_mac.c1530 lp->vlan1_mask = ETH_P_8021Q | mii_bus_data->vlan1_mask; in bfin_mac_probe()
1531 lp->vlan2_mask = ETH_P_8021Q | mii_bus_data->vlan2_mask; in bfin_mac_probe()
/linux-3.4.99/drivers/net/ethernet/intel/ixgbe/
Dixgbe_fcoe.c377 if (eth_hdr(skb)->h_proto == htons(ETH_P_8021Q)) in ixgbe_fcoe_ddp()

123