Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_ktest.c194 size_t tcpsz = sizeof (*tcp); in mac_sw_cksum_ipv4_tcp_test() local
208 mplen = ehsz + ipsz + tcpsz + msglen; in mac_sw_cksum_ipv4_tcp_test()
213 ip = mt_ipv4_simple_hdr(mp, ehsz, tcpsz + msglen, 410, IPPROTO_TCP, in mac_sw_cksum_ipv4_tcp_test()
218 bcopy(msg, mp->b_rptr + ehsz + ipsz + tcpsz, msglen); in mac_sw_cksum_ipv4_tcp_test()
227 tcpsz + msglen); in mac_sw_cksum_ipv4_tcp_test()
268 size_t tcpsz = sizeof (*tcp); in mac_sw_cksum_ipv4_bad_proto_test() local
281 mplen = ehsz + ipsz + tcpsz + msglen; in mac_sw_cksum_ipv4_bad_proto_test()
286 ip = mt_ipv4_simple_hdr(mp, ehsz, tcpsz + msglen, 410, IPPROTO_ENCAP, in mac_sw_cksum_ipv4_bad_proto_test()
290 bcopy(msg, mp->b_rptr + ehsz + ipsz + tcpsz, msglen); in mac_sw_cksum_ipv4_bad_proto_test()
489 size_t ehsz, ipsz, tcpsz, msglen; in mac_sw_cksum_ipv4_snoop_test() local
[all …]