Home
last modified time | relevance | path

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

/xnu-10063.101.15/bsd/net/
H A Dbpf.c3696 uint32_t iplen = sizeof(struct ip); in get_ip_trunc_len() local
3697 if (iplen >= remaining_caplen) { in get_ip_trunc_len()
3709 iplen = (uint16_t)(iphdr.ip_hl << 2); in get_ip_trunc_len()
3710 if (iplen >= remaining_caplen) { in get_ip_trunc_len()
3715 iplen += get_proto_trunc_len(proto, pkt, off + iplen, remaining_caplen - iplen); in get_ip_trunc_len()
3717 if (iplen >= remaining_caplen) { in get_ip_trunc_len()
3721 return iplen; in get_ip_trunc_len()
3728 uint32_t iplen = sizeof(struct ip6_hdr); in get_ip6_trunc_len() local
3729 if (iplen >= remaining_caplen) { in get_ip6_trunc_len()
3745 iplen += get_proto_trunc_len(proto, pkt, off + iplen, remaining_caplen - iplen); in get_ip6_trunc_len()
[all …]