Lines Matching defs:packet_length
3988 int packet_length;
4054 packet_length = sctp_calculate_len(m);
4079 ip->ip_len = htons(packet_length);
4152 udp->uh_ulen = htons((uint16_t)(packet_length - sizeof(struct ip)));
4202 SCTP_ATTACH_CHAIN(o_pak, m, packet_length);
4322 packet_length = sctp_calculate_len(m);
4370 ip6h->ip6_plen = htons((uint16_t)(packet_length - sizeof(struct ip6_hdr)));
4488 udp->uh_ulen = htons((uint16_t)(packet_length - sizeof(struct ip6_hdr)));
4534 SCTP_ATTACH_CHAIN(o_pak, m, packet_length);
4538 if ((udp->uh_sum = in6_cksum(o_pak, IPPROTO_UDP, sizeof(struct ip6_hdr), packet_length - sizeof(struct ip6_hdr))) == 0) {