Searched refs:ip_len (Results 1 – 9 of 9) sorted by relevance
735 ip->ip_len = udp->uh_ulen; in make_udp_packet()742 ip->ip_len = htons(sizeof(*ip) + sizeof(*udp) + length); in make_udp_packet()756 return ntohs(packet.ip.ip_len) - in get_udp_data()786 bytes = ntohs(packet.ip.ip_len); in valid_udp_packet()798 packet.ip.ip_len = packet.udp.uh_ulen; in valid_udp_packet()
55 u_int16_t ip_len; /* total length */ member
552 ipds->len = EXTRACT_16BITS(&ipds->ip->ip_len); in ip_print()615 (void)printf(", length %u", EXTRACT_16BITS(&ipds->ip->ip_len)); in ip_print()
627 len = EXTRACT_16BITS(&ip->ip_len); in esp_print()
588 ip_print(gndo, bp, EXTRACT_16BITS(&ip->ip_len)); in icmp_print()
823 tlen = EXTRACT_16BITS(&ip->ip_len) - IP_HL(ip) * 4;
44 size_t ip_len; /* IPv4: 4, IPv6: 16 */ member
36 name->ip_len = 0; in x509_free_name()924 name->ip_len = len; in x509_parse_alt_name_ip()
203 ip.ip_len = htons(sizeof(struct ip) + in send_via_bpf()