Searched refs:ehlen (Results 1 – 4 of 4) sorted by relevance
/freebsd/sys/dev/mana/ |
H A D | mana_en.c | 702 int ehlen; in mana_tso_fixup() local 706 ehlen = ETHER_HDR_LEN + ETHER_VLAN_ENCAP_LEN; in mana_tso_fixup() 709 ehlen = ETHER_HDR_LEN; in mana_tso_fixup() 716 PULLUP_HDR(mbuf, ehlen + sizeof(*ip)); in mana_tso_fixup() 717 ip = mtodo(mbuf, ehlen); in mana_tso_fixup() 719 mbuf->m_pkthdr.l3hlen = ehlen + iphlen; in mana_tso_fixup() 721 PULLUP_HDR(mbuf, ehlen + iphlen + sizeof(*th)); in mana_tso_fixup() 722 th = mtodo(mbuf, ehlen + iphlen); in mana_tso_fixup() 731 PULLUP_HDR(mbuf, ehlen + sizeof(*ip6) + sizeof(*th)); in mana_tso_fixup() 732 ip6 = mtodo(mbuf, ehlen); in mana_tso_fixup() [all …]
|
/freebsd/sys/dev/hyperv/netvsc/ |
H A D | if_hn.c | 761 int ehlen; in hn_tso_fixup() local 768 ehlen = ETHER_HDR_LEN + ETHER_VLAN_ENCAP_LEN; in hn_tso_fixup() 770 ehlen = ETHER_HDR_LEN; in hn_tso_fixup() 771 m_head->m_pkthdr.l2hlen = ehlen; in hn_tso_fixup() 778 PULLUP_HDR(m_head, ehlen + sizeof(*ip)); in hn_tso_fixup() 779 ip = mtodo(m_head, ehlen); in hn_tso_fixup() 783 PULLUP_HDR(m_head, ehlen + iphlen + sizeof(*th)); in hn_tso_fixup() 784 th = mtodo(m_head, ehlen + iphlen); in hn_tso_fixup() 799 PULLUP_HDR(m_head, ehlen + sizeof(*ip6)); in hn_tso_fixup() 800 ip6 = mtodo(m_head, ehlen); in hn_tso_fixup() [all …]
|
/freebsd/sys/dev/mge/ |
H A D | if_mge.c | 1912 int ehlen, etype; in mge_offload_setup_descriptor() local 1917 ehlen = ETHER_HDR_LEN + ETHER_VLAN_ENCAP_LEN; in mge_offload_setup_descriptor() 1921 ehlen = ETHER_HDR_LEN; in mge_offload_setup_descriptor() 1931 ip = (struct ip *)(m0->m_data + ehlen); in mge_offload_setup_descriptor()
|
/freebsd/sys/dev/bce/ |
H A D | if_bce.c | 9538 int ehlen; in bce_dump_enet() local 9554 ehlen = ETHER_HDR_LEN + ETHER_VLAN_ENCAP_LEN; in bce_dump_enet() 9557 ehlen = ETHER_HDR_LEN; in bce_dump_enet() 9562 eh->evl_dhost, ":", eh->evl_shost, ":", etype, ehlen); in bce_dump_enet() 9566 ip = (struct ip *)(m->m_data + ehlen); in bce_dump_enet() 9601 ah = (struct arphdr *) (m->m_data + ehlen); in bce_dump_enet()
|