Home | History | Annotate | Download | only in netinet

Lines Matching defs:packet_length

3939 	int packet_length;
4027 packet_length = sctp_calculate_len(m);
4083 ip->ip_len = htons(packet_length);
4085 ip->ip_len = packet_length;
4166 udp->uh_ulen = htons(packet_length - sizeof(struct ip));
4224 SCTP_ATTACH_CHAIN(o_pak, m, packet_length);
4388 packet_length = sctp_calculate_len(m);
4457 ip6h->ip6_plen = (packet_length - sizeof(struct ip6_hdr));
4626 udp->uh_ulen = htons(packet_length - sizeof(struct ip6_hdr));
4671 SCTP_ATTACH_CHAIN(o_pak, m, packet_length);
4682 if ((udp->uh_sum = in6_cksum(o_pak, IPPROTO_UDP, sizeof(struct ip6_hdr), packet_length - sizeof(struct ip6_hdr))) == 0) {
4821 packet_length = sctp_calculate_len(m);
4841 if ((buffer = malloc(packet_length)) != NULL) {
4842 m_copydata(m, 0, packet_length, buffer);
4843 ret = SCTP_BASE_VAR(conn_output)(sconn->sconn_addr, buffer, packet_length, tos_value, nofragment_flag);