Home
last modified time | relevance | path

Searched refs:eth_hdr_len (Results 1 – 2 of 2) sorted by relevance

/titanic_44/usr/src/uts/common/io/ib/clients/eoib/
H A Deib_data.c774 uint_t eth_hdr_len; in eib_data_setup_lso() local
791 eth_hdr_len = (evh->eh_tagless) ? (sizeof (struct ether_header)) : in eib_data_setup_lso()
803 ip_start = (uintptr_t)(nmp->b_rptr) + eth_hdr_len; in eib_data_setup_lso()
824 lso->lso_hdr_sz = EIB_ENCAP_HDR_SZ + eth_hdr_len + in eib_data_setup_lso()
/titanic_44/usr/src/uts/common/io/myri10ge/drv/
H A Dmyri10ge.c3045 int eth_hdr_len, seglen; in myri10ge_ether_parse_header() local
3048 eth_hdr_len = sizeof (*eh); in myri10ge_ether_parse_header()
3049 if (seglen < eth_hdr_len) { in myri10ge_ether_parse_header()
3050 myri10ge_copydata(mp, 0, eth_hdr_len, (caddr_t)&eh_copy); in myri10ge_ether_parse_header()
3056 eth_hdr_len += 4; in myri10ge_ether_parse_header()
3059 return (eth_hdr_len); in myri10ge_ether_parse_header()