| /freebsd-14.2/sys/dev/virtio/network/ |
| H A D | virtio_net.h | 383 struct ether_vlan_header *evh; in virtio_net_rx_csum() local 396 evh = mtod(m, struct ether_vlan_header *); in virtio_net_rx_csum() 397 eth_type = ntohs(evh->evl_proto); in virtio_net_rx_csum() 413 struct ether_vlan_header *evh; in virtio_net_tx_offload_ctx() local 418 evh = mtod(m, struct ether_vlan_header *); in virtio_net_tx_offload_ctx() 419 if (evh->evl_encap_proto == htons(ETHERTYPE_VLAN)) { in virtio_net_tx_offload_ctx() 421 *etype = ntohs(evh->evl_proto); in virtio_net_tx_offload_ctx() 426 *etype = ntohs(evh->evl_encap_proto); in virtio_net_tx_offload_ctx()
|
| H A D | if_vtnet.c | 1907 const struct ether_vlan_header *evh = in vtnet_rxq_csum() local 1909 etype = ntohs(evh->evl_proto); in vtnet_rxq_csum() 2374 struct ether_vlan_header *evh; in vtnet_txq_offload_ctx() local 2381 evh = mtod(m, struct ether_vlan_header *); in vtnet_txq_offload_ctx() 2382 if (evh->evl_encap_proto == htons(ETHERTYPE_VLAN)) { in vtnet_txq_offload_ctx() 2384 *etype = ntohs(evh->evl_proto); in vtnet_txq_offload_ctx() 2389 *etype = ntohs(evh->evl_encap_proto); in vtnet_txq_offload_ctx() 4064 struct ether_vlan_header *evh; in vtnet_vlan_tag_remove() local 4066 evh = mtod(m, struct ether_vlan_header *); in vtnet_vlan_tag_remove() 4067 m->m_pkthdr.ether_vtag = ntohs(evh->evl_tag); in vtnet_vlan_tag_remove() [all …]
|
| /freebsd-14.2/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-14.2/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-14.2/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 | 827 #define EARLY_DRIVER_MODULE_ORDERED(name, busname, driver, evh, arg, \ argument 831 evh, arg, \ 846 #define EARLY_DRIVER_MODULE(name, busname, driver, evh, arg, pass) \ argument 847 EARLY_DRIVER_MODULE_ORDERED(name, busname, driver, evh, arg, \ 850 #define DRIVER_MODULE_ORDERED(name, busname, driver, evh, arg, order) \ argument 851 EARLY_DRIVER_MODULE_ORDERED(name, busname, driver, evh, arg, \ 854 #define DRIVER_MODULE(name, busname, driver, evh, arg) \ argument 855 EARLY_DRIVER_MODULE(name, busname, driver, evh, arg, \
|
| H A D | sysent.h | 239 #define SYSCALL_MODULE(name, offset, new_sysent, evh, arg) \ argument 241 evh, arg, offset, new_sysent, { 0, NULL, AUE_NULL } \
|
| /freebsd-14.2/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-14.2/sys/dev/netmap/ |
| H A D | if_ptnet.c | 1326 struct ether_vlan_header *evh; in ptnet_vlan_tag_remove() local 1328 evh = mtod(m, struct ether_vlan_header *); in ptnet_vlan_tag_remove() 1329 m->m_pkthdr.ether_vtag = ntohs(evh->evl_tag); in ptnet_vlan_tag_remove() 1333 bcopy((char *) evh, (char *) evh + ETHER_VLAN_ENCAP_LEN, in ptnet_vlan_tag_remove()
|
| /freebsd-14.2/stand/kshim/ |
| H A D | bsd_kernel.h | 91 #define DRIVER_MODULE(name, busname, driver, devclass, evh, arg) \ argument 93 evh, arg, #busname, #name, #busname "/" #name, \
|
| /freebsd-14.2/sys/dev/cxgbe/tom/ |
| H A D | t4_tom.c | 1591 struct ether_vlan_header *evh = (void *)pkt; in prepare_pkt() local 1593 evh->evl_encap_proto = htons(ETHERTYPE_VLAN); in prepare_pkt() 1594 evh->evl_tag = htons(vtag); in prepare_pkt() 1596 evh->evl_proto = htons(ETHERTYPE_IPV6); in prepare_pkt() 1598 evh->evl_proto = htons(ETHERTYPE_IP); in prepare_pkt() 1600 len += sizeof(*evh); in prepare_pkt()
|
| /freebsd-14.2/sys/dev/cxgb/ |
| H A D | cxgb_sge.c | 1487 struct ether_vlan_header *evh = (void *)eh; in t3_encap() local 1490 l3hdr = evh + 1; in t3_encap() 1491 eth_type = evh->evl_proto; in t3_encap() 2639 struct ether_vlan_header *evh = mtod(m, void *); in t3_rx_eth() local 2641 eh_type = evh->evl_proto; in t3_rx_eth()
|
| /freebsd-14.2/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-14.2/sys/dev/cxgbe/ |
| H A D | t4_sge.c | 2759 struct ether_vlan_header *evh = (void *)eh; in parse_pkt() local 2761 eh_type = ntohs(evh->evl_proto); in parse_pkt() 2762 m0->m_pkthdr.l2hlen = sizeof(*evh); in parse_pkt() 2823 struct ether_vlan_header *evh = (void *)eh; in parse_pkt() local 2825 eh_type = ntohs(evh->evl_proto); in parse_pkt() 2826 m0->m_pkthdr.inner_l2hlen = sizeof(*evh); in parse_pkt()
|