Searched refs:ehlen (Results 1 – 4 of 4) sorted by relevance
/freebsd/sys/dev/mana/ |
H A D | mana_en.c | 698 int ehlen; in mana_tso_fixup() local 705 ehlen = ETHER_HDR_LEN; in mana_tso_fixup() 712 PULLUP_HDR(mbuf, ehlen + sizeof(*ip)); in mana_tso_fixup() 713 ip = mtodo(mbuf, ehlen); in mana_tso_fixup() 715 mbuf->m_pkthdr.l3hlen = ehlen + iphlen; in mana_tso_fixup() 718 th = mtodo(mbuf, ehlen + iphlen); in mana_tso_fixup() 728 ip6 = mtodo(mbuf, ehlen); in mana_tso_fixup() 737 th = mtodo(mbuf, ehlen + sizeof(*ip6)); in mana_tso_fixup() 763 int ehlen; in mana_mbuf_csum_check() local 770 ehlen = ETHER_HDR_LEN; in mana_mbuf_csum_check() [all …]
|
/freebsd/sys/dev/hyperv/netvsc/ |
H A D | if_hn.c | 761 int ehlen; in hn_tso_fixup() local 770 ehlen = ETHER_HDR_LEN; in hn_tso_fixup() 771 m_head->m_pkthdr.l2hlen = ehlen; in hn_tso_fixup() 779 ip = mtodo(m_head, ehlen); in hn_tso_fixup() 800 ip6 = mtodo(m_head, ehlen); in hn_tso_fixup() 824 int ehlen; in hn_set_hlen() local 831 ehlen = ETHER_HDR_LEN; in hn_set_hlen() 832 m_head->m_pkthdr.l2hlen = ehlen; in hn_set_hlen() 840 ip = mtodo(m_head, ehlen); in hn_set_hlen() 874 ip6 = mtodo(m_head, ehlen); in hn_set_hlen() [all …]
|
/freebsd/sys/dev/mge/ |
H A D | if_mge.c | 1918 int ehlen, etype; in mge_offload_setup_descriptor() local 1923 ehlen = ETHER_HDR_LEN + ETHER_VLAN_ENCAP_LEN; in mge_offload_setup_descriptor() 1927 ehlen = ETHER_HDR_LEN; in mge_offload_setup_descriptor() 1937 ip = (struct ip *)(m0->m_data + ehlen); in mge_offload_setup_descriptor()
|
/freebsd/sys/dev/bce/ |
H A D | if_bce.c | 9555 int ehlen; in bce_dump_enet() local 9571 ehlen = ETHER_HDR_LEN + ETHER_VLAN_ENCAP_LEN; in bce_dump_enet() 9574 ehlen = ETHER_HDR_LEN; in bce_dump_enet() 9579 eh->evl_dhost, ":", eh->evl_shost, ":", etype, ehlen); in bce_dump_enet() 9583 ip = (struct ip *)(m->m_data + ehlen); in bce_dump_enet() 9618 ah = (struct arphdr *) (m->m_data + ehlen); in bce_dump_enet()
|