| /freebsd/sys/dev/virtio/network/ |
| H A D | virtio_net.h | 391 struct ether_vlan_header *evh; in virtio_net_rx_csum() local 404 evh = mtod(m, struct ether_vlan_header *); in virtio_net_rx_csum() 405 eth_type = ntohs(evh->evl_proto); in virtio_net_rx_csum() 421 struct ether_vlan_header *evh; in virtio_net_tx_offload_ctx() local 426 evh = mtod(m, struct ether_vlan_header *); in virtio_net_tx_offload_ctx() 427 if (evh->evl_encap_proto == htons(ETHERTYPE_VLAN)) { in virtio_net_tx_offload_ctx() 429 *etype = ntohs(evh->evl_proto); in virtio_net_tx_offload_ctx() 434 *etype = ntohs(evh->evl_encap_proto); in virtio_net_tx_offload_ctx()
|
| H A D | if_vtnet.c | 1884 const struct ether_vlan_header *evh = in vtnet_rxq_csum() local 1886 etype = ntohs(evh->evl_proto); in vtnet_rxq_csum() 2413 struct ether_vlan_header *evh; in vtnet_txq_offload_ctx() local 2420 evh = mtod(m, struct ether_vlan_header *); in vtnet_txq_offload_ctx() 2421 if (evh->evl_encap_proto == htons(ETHERTYPE_VLAN)) { in vtnet_txq_offload_ctx() 2423 *etype = ntohs(evh->evl_proto); in vtnet_txq_offload_ctx() 2428 *etype = ntohs(evh->evl_encap_proto); in vtnet_txq_offload_ctx() 4099 struct ether_vlan_header *evh; in vtnet_vlan_tag_remove() local 4101 evh = mtod(m, struct ether_vlan_header *); in vtnet_vlan_tag_remove() 4102 m->m_pkthdr.ether_vtag = ntohs(evh->evl_tag); in vtnet_vlan_tag_remove() [all …]
|
| /freebsd/sys/dev/virtio/ |
| H A D | virtio.h | 69 #define VIRTIO_DRIVER_MODULE(name, driver, evh, arg) \ argument 70 DRIVER_MODULE(name, virtio_mmio, driver, evh, arg); \ 71 DRIVER_MODULE(name, virtio_pci, driver, evh, arg)
|
| /freebsd/sys/compat/freebsd32/ |
| H A D | freebsd32_util.h | 59 #define SYSCALL32_MODULE(name, offset, new_sysent, evh, arg) \ argument 61 evh, arg, offset, new_sysent, { 0, NULL } \
|
| /freebsd/sys/sys/ |
| H A D | conf.h | 237 #define DEV_MODULE_ORDERED(name, evh, arg, ord) \ argument 240 evh, \ 245 #define DEV_MODULE(name, evh, arg) \ argument 246 DEV_MODULE_ORDERED(name, evh, arg, SI_ORDER_MIDDLE)
|
| H A D | bus.h | 896 #define EARLY_DRIVER_MODULE_ORDERED(_name, busname, driver, evh, arg, \ argument 900 .dmd_chainevh = evh, \ 916 #define EARLY_DRIVER_MODULE(name, busname, driver, evh, arg, pass) \ argument 917 EARLY_DRIVER_MODULE_ORDERED(name, busname, driver, evh, arg, \ 920 #define DRIVER_MODULE_ORDERED(name, busname, driver, evh, arg, order) \ argument 921 EARLY_DRIVER_MODULE_ORDERED(name, busname, driver, evh, arg, \ 924 #define DRIVER_MODULE(name, busname, driver, evh, arg) \ argument 925 EARLY_DRIVER_MODULE(name, busname, driver, evh, arg, \
|
| H A D | sysent.h | 247 #define SYSCALL_MODULE(name, offset, new_sysent, evh, arg) \ argument 249 evh, arg, offset, new_sysent, { 0, NULL, AUE_NULL } \
|
| /freebsd/sys/netgraph/netflow/ |
| H A D | ng_netflow.c | 732 struct ether_vlan_header *evh; in ng_netflow_rcvdata() local 736 evh = mtod(m, struct ether_vlan_header *); in ng_netflow_rcvdata() 737 etype = ntohs(evh->evl_proto); in ng_netflow_rcvdata() 743 ip = (struct ip *)(evh + 1); in ng_netflow_rcvdata() 749 ip6 = (struct ip6_hdr *)(evh + 1); in ng_netflow_rcvdata()
|
| /freebsd/sys/dev/netmap/ |
| H A D | if_ptnet.c | 1324 struct ether_vlan_header *evh; in ptnet_vlan_tag_remove() local 1326 evh = mtod(m, struct ether_vlan_header *); in ptnet_vlan_tag_remove() 1327 m->m_pkthdr.ether_vtag = ntohs(evh->evl_tag); in ptnet_vlan_tag_remove() 1331 bcopy((char *) evh, (char *) evh + ETHER_VLAN_ENCAP_LEN, in ptnet_vlan_tag_remove()
|
| /freebsd/stand/kshim/ |
| H A D | bsd_kernel.h | 91 #define DRIVER_MODULE(name, busname, driver, evh, arg) \ argument 93 evh, arg, #busname, #name, #busname "/" #name, \
|
| /freebsd/sys/dev/cxgbe/crypto/ |
| H A D | t7_kern_tls.c | 805 struct ether_vlan_header *evh = (void *)eh; in t7_ktls_parse_pkt() local 807 eh_type = ntohs(evh->evl_proto); in t7_ktls_parse_pkt() 808 m->m_pkthdr.l2hlen = sizeof(*evh); in t7_ktls_parse_pkt() 2041 struct ether_vlan_header *evh = (void *)eh; in t7_ktls_write_wr() local 2043 eh_type = ntohs(evh->evl_proto); in t7_ktls_write_wr()
|
| /freebsd/sys/dev/cxgbe/tom/ |
| H A D | t4_tom.c | 1626 struct ether_vlan_header *evh = (void *)pkt; in prepare_pkt() local 1628 evh->evl_encap_proto = htons(ETHERTYPE_VLAN); in prepare_pkt() 1629 evh->evl_tag = htons(vtag); in prepare_pkt() 1631 evh->evl_proto = htons(ETHERTYPE_IPV6); in prepare_pkt() 1633 evh->evl_proto = htons(ETHERTYPE_IP); in prepare_pkt() 1635 len += sizeof(*evh); in prepare_pkt()
|
| /freebsd/sys/dev/cxgb/ |
| H A D | cxgb_sge.c | 1484 struct ether_vlan_header *evh = (void *)eh; in t3_encap() local 1487 l3hdr = evh + 1; in t3_encap() 1488 eth_type = evh->evl_proto; in t3_encap() 2636 struct ether_vlan_header *evh = mtod(m, void *); in t3_rx_eth() local 2638 eh_type = evh->evl_proto; in t3_rx_eth()
|
| /freebsd/sys/dev/neta/ |
| H A D | if_mvneta.c | 2791 struct ether_vlan_header *evh; in mvneta_tx_set_csumflag() local 2806 evh = mtod(m, struct ether_vlan_header *); in mvneta_tx_set_csumflag() 2807 if (ntohs(evh->evl_proto) == ETHERTYPE_VLAN) in mvneta_tx_set_csumflag()
|
| /freebsd/sys/dev/cxgbe/ |
| H A D | t4_sge.c | 2810 struct ether_vlan_header *evh = (void *)eh; in parse_pkt() local 2812 eh_type = ntohs(evh->evl_proto); in parse_pkt() 2813 m0->m_pkthdr.l2hlen = sizeof(*evh); in parse_pkt() 2874 struct ether_vlan_header *evh = (void *)eh; in parse_pkt() local 2876 eh_type = ntohs(evh->evl_proto); in parse_pkt() 2877 m0->m_pkthdr.inner_l2hlen = sizeof(*evh); in parse_pkt()
|