Searched refs:ehsz (Results 1 – 1 of 1) sorted by relevance
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac_test.c | 191 size_t ehsz = sizeof (*eh); in mac_sw_cksum_ipv4_tcp_test() local 207 mplen = ehsz + ipsz + tcpsz + msglen; in mac_sw_cksum_ipv4_tcp_test() 211 tcp = mt_tcp_basic_hdr(mp, ehsz + ipsz, 2002, 2008, 1, 166, 0, 32000); in mac_sw_cksum_ipv4_tcp_test() 212 ip = mt_ipv4_simple_hdr(mp, ehsz, tcpsz + msglen, 410, IPPROTO_TCP, in mac_sw_cksum_ipv4_tcp_test() 217 bcopy(msg, mp->b_rptr + ehsz + ipsz + tcpsz, msglen); in mac_sw_cksum_ipv4_tcp_test() 225 sum = mt_rfc1071_sum(sum, (uint16_t *)(mp->b_rptr + ehsz + ipsz), in mac_sw_cksum_ipv4_tcp_test() 233 KT_ASSERTG(mac_sw_cksum_ipv4(mp, ehsz, ip, &err), ctx, cleanup); in mac_sw_cksum_ipv4_tcp_test() 265 size_t ehsz = sizeof (*eh); in mac_sw_cksum_ipv4_bad_proto_test() local 280 mplen = ehsz + ipsz + tcpsz + msglen; in mac_sw_cksum_ipv4_bad_proto_test() 284 tcp = mt_tcp_basic_hdr(mp, ehsz + ipsz, 2002, 2008, 1, 166, 0, 32000); in mac_sw_cksum_ipv4_bad_proto_test() [all …]
|