| /freebsd-10-stable/contrib/ipfilter/lib/ |
| D | ipft_tx.c | 148 mb->mb_len = ntohs(((ip6_t *)ip)->ip6_plen) + 394 ip6->ip6_plen = sizeof(struct tcphdr); 397 ip6->ip6_plen = sizeof(struct udphdr); 400 ip6->ip6_plen = ICMP6ERR_IPICMPHLEN; 504 if (ip6->ip6_plen == 0) { 505 ip6->ip6_plen++; 507 ip6->ip6_plen = htons(ip6->ip6_plen);
|
| D | printpacket.c | 31 len = ntohs(((ip6_t *)ip)->ip6_plen);
|
| /freebsd-10-stable/contrib/tcpdump/ |
| D | print-frag6.c | 58 sizeof(struct ip6_hdr) + EXTRACT_16BITS(&ip6->ip6_plen) - in frag6_print() 63 sizeof(struct ip6_hdr) + EXTRACT_16BITS(&ip6->ip6_plen) - in frag6_print()
|
| D | ip6.h | 93 #define ip6_plen ip6_ctlun.ip6_un1.ip6_un1_plen macro
|
| D | print-esp.c | 595 if (!EXTRACT_16BITS(&ip6->ip6_plen)) in esp_print() 598 len = sizeof(struct ip6_hdr) + EXTRACT_16BITS(&ip6->ip6_plen); in esp_print()
|
| D | print-ip6.c | 107 payload_len = EXTRACT_16BITS(&ip6->ip6_plen); in ip6_print()
|
| D | print-tcp.c | 411 else if (IP_V(ip) == 6 && ip6->ip6_plen) { in tcp_print() 776 len32 = htonl(EXTRACT_16BITS(&ip6->ip6_plen)); in tcp_verify_signature()
|
| /freebsd-10-stable/sys/netinet6/ |
| D | frag6.c | 198 if (ip6->ip6_plen == 0) { in frag6_input() 211 (((ntohs(ip6->ip6_plen) - offset) & 0x7) != 0)) { in frag6_input() 213 offsetof(struct ip6_hdr, ip6_plen)); in frag6_input() 322 frgpartlen = sizeof(struct ip6_hdr) + ntohs(ip6->ip6_plen) - offset; in frag6_input() 559 ip6->ip6_plen = htons((u_short)next + offset - sizeof(struct ip6_hdr)); in frag6_input()
|
| D | ip6_input.c | 348 if (ip6->ip6_plen == 0 && *plen == 0) { in ip6_input_hbh() 359 (caddr_t)&ip6->ip6_plen - (caddr_t)ip6); in ip6_input_hbh() 905 plen = (u_int32_t)ntohs(ip6->ip6_plen); in ip6_input() 1182 if (ip6->ip6_plen) { in ip6_process_hopopts()
|
| D | ip6_output.c | 251 mhip6->ip6_plen = htons((u_short)(mtu + hlen + in ip6_fragment() 417 ip6->ip6_plen = 0; in ip6_output() 419 ip6->ip6_plen = htons(plen); in ip6_output() 944 } else if (ip6->ip6_plen == 0) { in ip6_output()
|
| D | icmp6.c | 430 ip6len = sizeof(struct ip6_hdr) + ntohs(ip6->ip6_plen); in icmp6_input() 2324 int icmp6len = ntohs(ip6->ip6_plen); in icmp6_redirect_input() 2772 ip6->ip6_plen = htons(m->m_pkthdr.len - sizeof(struct ip6_hdr)); in icmp6_redirect_output() 2776 sizeof(*ip6), ntohs(ip6->ip6_plen)); in icmp6_redirect_output()
|
| /freebsd-10-stable/sys/contrib/ipfilter/netinet/ |
| D | ip_rcmd_pxy.c | 263 slen = ip6->ip6_plen; 264 ip6->ip6_plen = htons(sizeof(*tcp)); 318 ip6->ip6_plen = slen;
|
| D | ip_tftp_pxy.c | 347 slen = ip6->ip6_plen; 348 ip6->ip6_plen = htons(sizeof(udp)); 412 ip6->ip6_plen = slen;
|
| D | ip_fil_freebsd.c | 421 ip6->ip6_plen = htons(sizeof(struct tcphdr)); 484 fnew.fin_plen = ntohs(ip6->ip6_plen) + hlen; 657 ip6->ip6_plen = htons(iclen - hlen);
|
| /freebsd-10-stable/sys/netinet/ |
| D | tcp_lro.c | 162 cs = ip6->ip6_plen; in tcp_lro_rx_csum_fixup() 166 cx = ntohs(ip6->ip6_plen); in tcp_lro_rx_csum_fixup() 241 ip6->ip6_plen = p_len; in tcp_lro_flush() 416 tcp_data_len = ntohs(ip6->ip6_plen); in tcp_lro_rx()
|
| D | tcp_debug.c | 176 isipv6 ? ntohs(((struct ip6_hdr *)ipgen)->ip6_plen) : in tcp_trace()
|
| D | ip6.h | 88 #define ip6_plen ip6_ctlun.ip6_un1.ip6_un1_plen macro
|
| /freebsd-10-stable/sys/dev/sfxge/ |
| D | sfxge_rx.c | 396 iph->ip6_plen = htons(iph->ip6_plen); in sfxge_lro_deliver() 483 iph->ip6_plen += mbuf->m_len; in sfxge_lro_merge() 515 iph->ip6_plen = ntohs(iph->ip6_plen); in sfxge_lro_start() 540 pkt_length = ntohs(iph->ip6_plen) + (char *) th - eh; in sfxge_lro_try_merge()
|
| /freebsd-10-stable/sys/dev/mlx5/mlx5_en/ |
| D | tcp_tlro.c | 260 pinfo->ip_len = ntohs(ip6->ip6_plen) + sizeof(*ip6); in tcp_tlro_extract_header() 546 pinfoa->ip.v6->ip6_plen = htons(IP_MAXPACKET); in tcp_tlro_combine() 549 pinfoa->ip.v6->ip6_plen = htons(temp); in tcp_tlro_combine()
|
| /freebsd-10-stable/sys/netpfil/pf/ |
| D | pf_norm.c | 698 frent->fe_len = sizeof(struct ip6_hdr) + ntohs(ip6->ip6_plen) - hdrlen; in pf_reassemble6() 766 ip6->ip6_plen = htons(hdrlen - sizeof(struct ip6_hdr) + total); in pf_reassemble6() 779 ip6->ip6_plen = 0; in pf_reassemble6() 785 DPFPRINTF(("complete: %p(%d)", m, ntohs(ip6->ip6_plen))); in pf_reassemble6() 1522 if (h->ip6_plen != 0) in pf_normalize_ip6() 1553 if (ntohs(h->ip6_plen) == 0) in pf_normalize_ip6() 1556 plen = ntohs(h->ip6_plen); in pf_normalize_ip6() 1568 plen = ntohs(h->ip6_plen); in pf_normalize_ip6()
|
| /freebsd-10-stable/sys/netipsec/ |
| D | xform_ah.c | 422 if (ip6.ip6_plen == 0) { in ah_massage_headers() 1063 offsetof(struct ip6_hdr, ip6_plen), in ah_output() 1066 m_copyback(m, offsetof(struct ip6_hdr, ip6_plen), in ah_output()
|
| D | ipsec_output.c | 129 mtod(m, struct ip6_hdr *)->ip6_plen = in ipsec_process_done() 652 ip6->ip6_plen = htons(m->m_pkthdr.len - sizeof(*ip6)); in ipsec6_process_packet()
|
| D | xform_ipip.c | 491 ip6o->ip6_plen = htons(m->m_pkthdr.len - sizeof(*ip6)); in ipip_output()
|
| /freebsd-10-stable/usr.sbin/trpt/ |
| D | trpt.c | 368 isipv6 ? ip6->ip6_plen : in tcp_trace()
|
| /freebsd-10-stable/usr.sbin/ppp/ |
| D | ip.c | 241 datalen = ntohs(pip6->ip6_plen); in FilterCheck() 589 datalen = ntohs(pip6->ip6_plen); in PacketCheck()
|