Home
last modified time | relevance | path

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

/external/ltp/testcases/network/sctp/
Dsctp_big_chunk.c60 const size_t ip6_hdr_len = sizeof(ip6); in setup_client() local
75 off = ip6_hdr_len; in setup_client()
125 uint32_t csum = tst_crc32c(packet + ip6_hdr_len, pkt_len - ip6_hdr_len); in setup_client()
127 memcpy(packet + ip6_hdr_len + 8, &csum, 4); in setup_client()
129 ip6.ip6_plen = htons(pkt_len - ip6_hdr_len); in setup_client()
130 memcpy(packet, &ip6, ip6_hdr_len); in setup_client()