Searched refs:packet_length (Results 1 – 3 of 3) sorted by relevance
351 #define SCTP_ATTACH_CHAIN(pak, m, packet_length) do { \ argument353 pak->m_pkthdr.len = packet_length; \
3991 int packet_length; in sctp_lowlevel_chunk_output() local4057 packet_length = sctp_calculate_len(m); in sctp_lowlevel_chunk_output()4082 ip->ip_len = htons(packet_length); in sctp_lowlevel_chunk_output()4155 udp->uh_ulen = htons((uint16_t)(packet_length - sizeof(struct ip))); in sctp_lowlevel_chunk_output()4205 SCTP_ATTACH_CHAIN(o_pak, m, packet_length); in sctp_lowlevel_chunk_output()4317 packet_length = sctp_calculate_len(m); in sctp_lowlevel_chunk_output()4365 ip6h->ip6_plen = htons((uint16_t)(packet_length - sizeof(struct ip6_hdr))); in sctp_lowlevel_chunk_output()4483 udp->uh_ulen = htons((uint16_t)(packet_length - sizeof(struct ip6_hdr))); in sctp_lowlevel_chunk_output()4529 SCTP_ATTACH_CHAIN(o_pak, m, packet_length); in sctp_lowlevel_chunk_output()4533 …if ((udp->uh_sum = in6_cksum(o_pak, IPPROTO_UDP, sizeof(struct ip6_hdr), packet_length - sizeof(st… in sctp_lowlevel_chunk_output()
806 __le16 packet_length /* Total packet length (from the parser) */; member