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_test.c193 size_t tcpsz = sizeof (*tcp); in mac_sw_cksum_ipv4_tcp_test() local
207 mplen = ehsz + ipsz + tcpsz + msglen; 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()
226 tcpsz + msglen); in mac_sw_cksum_ipv4_tcp_test()
267 size_t tcpsz = sizeof (*tcp); in mac_sw_cksum_ipv4_bad_proto_test() local
280 mplen = ehsz + ipsz + tcpsz + msglen; in mac_sw_cksum_ipv4_bad_proto_test()
285 ip = mt_ipv4_simple_hdr(mp, ehsz, tcpsz + msglen, 410, IPPROTO_ENCAP, in mac_sw_cksum_ipv4_bad_proto_test()
289 bcopy(msg, mp->b_rptr + ehsz + ipsz + tcpsz, msglen); in mac_sw_cksum_ipv4_bad_proto_test()
488 size_t ehsz, ipsz, tcpsz, msglen; in mac_sw_cksum_ipv4_snoop_test() local
[all …]