| /f-stack/freebsd/netinet6/ |
| H A D | frag6.c | 406 if (ip6->ip6_plen == 0) { in frag6_input() 421 (((ntohs(ip6->ip6_plen) - offset) & 0x7) != 0)) { in frag6_input() 423 offsetof(struct ip6_hdr, ip6_plen)); in frag6_input() 449 ip6->ip6_plen = htons(ntohs(ip6->ip6_plen) - in frag6_input() 463 frgpartlen = sizeof(struct ip6_hdr) + ntohs(ip6->ip6_plen) - offset; in frag6_input() 466 offsetof(struct ip6_hdr, ip6_plen)); in frag6_input() 813 ip6->ip6_plen = htons((u_short)plen + offset - sizeof(struct ip6_hdr)); in frag6_input()
|
| H A D | ip6_fastfwd.c | 121 plen = ntohs(ip6->ip6_plen); in ip6_tryforward()
|
| H A D | ip6_input.c | 429 if (ip6->ip6_plen == 0 && *plen == 0) { in ip6_input_hbh() 440 (caddr_t)&ip6->ip6_plen - (caddr_t)ip6); in ip6_input_hbh() 843 plen = (u_int32_t)ntohs(ip6->ip6_plen); in ip6_input() 1058 if (ip6->ip6_plen) { in ip6_process_hopopts()
|
| H A D | icmp6.c | 465 ip6len = sizeof(struct ip6_hdr) + ntohs(ip6->ip6_plen); in icmp6_input() 2231 icmp6len = ntohs(ip6->ip6_plen); in icmp6_redirect_input() 2673 ip6->ip6_plen = htons(m->m_pkthdr.len - sizeof(struct ip6_hdr)); in icmp6_redirect_output() 2677 sizeof(*ip6), ntohs(ip6->ip6_plen)); in icmp6_redirect_output()
|
| H A D | udp6_usrreq.c | 251 plen = ntohs(ip6->ip6_plen) - off + sizeof(*ip6); in udp6_input() 933 ip6->ip6_plen = htons((u_short)plen); in udp6_output()
|
| H A D | ip6_output.c | 306 mhip6->ip6_plen = htons((u_short)(fraglen + hlen + in ip6_fragment() 588 ip6->ip6_plen = 0; in ip6_output() 590 ip6->ip6_plen = htons(plen); in ip6_output() 1193 } else if (ip6->ip6_plen == 0) { in ip6_output()
|
| H A D | nd6_nbr.c | 569 ip6->ip6_plen = htons((u_short)icmp6len); in nd6_ns_output_fib() 1063 ip6->ip6_plen = htons((u_short)icmp6len); in nd6_na_output_fib()
|
| /f-stack/freebsd/contrib/ipfilter/netinet/ |
| H A D | ip_rcmd_pxy.c | 263 slen = ip6->ip6_plen; 264 ip6->ip6_plen = htons(sizeof(*tcp)); 318 ip6->ip6_plen = slen;
|
| H A D | ip_tftp_pxy.c | 347 slen = ip6->ip6_plen; 348 ip6->ip6_plen = htons(sizeof(udp)); 412 ip6->ip6_plen = slen;
|
| H A D | ip_fil_freebsd.c | 420 ip6->ip6_plen = htons(sizeof(struct tcphdr)); 483 fnew.fin_plen = ntohs(ip6->ip6_plen) + hlen; 655 ip6->ip6_plen = htons(iclen - hlen);
|
| /f-stack/freebsd/netpfil/ipfw/nat64/ |
| H A D | nat64_translate.c | 546 plen = ntohs(ip6->ip6_plen); in nat64_fragment6() 588 ip6->ip6_plen = htons(len + sizeof(ip6f)); in nat64_fragment6() 753 oip6->ip6_plen = htons(plen); in nat64_icmp6_reflect() 898 icmp6->icmp6_cksum = ~in6_cksum_pseudo(ip6, ntohs(ip6->ip6_plen), in nat64_icmp_handle_echo() 1103 ip6->ip6_plen = htons(plen); in nat64_icmp_translate() 1116 eip6->ip6_plen = htons(ntohs(ip.ip_len) - (ip.ip_hl << 2)); in nat64_icmp_translate() 1217 if (proto == IPPROTO_HOPOPTS && ip6->ip6_plen == 0) in nat64_getlasthdr() 1294 ip6.ip6_plen = htons(plen); in nat64_do_handle_ip4() 1508 plen = ntohs(ip6i->ip6_plen); in nat64_handle_icmp6() 1608 plen = ntohs(ip6->ip6_plen); in nat64_do_handle_ip6() [all …]
|
| /f-stack/freebsd/netinet/ |
| H A D | ip6.h | 90 #define ip6_plen ip6_ctlun.ip6_un1.ip6_un1_plen macro
|
| H A D | tcp_debug.c | 178 isipv6 ? ntohs(((struct ip6_hdr *)ipgen)->ip6_plen) : in tcp_trace()
|
| H A D | tcp_lro.c | 306 cs = ip6->ip6_plen; in tcp_lro_rx_csum_fixup() 310 cx = ntohs(ip6->ip6_plen); in tcp_lro_rx_csum_fixup() 497 ip6->ip6_plen = p_len; in tcp_flush_out_le() 1179 tcp_data_len = ntohs(ip6->ip6_plen); in tcp_lro_rx2()
|
| H A D | ip_divert.c | 434 if (((u_short)ntohs(ip6->ip6_plen) > m->m_pkthdr.len)) { in div_output_outbound()
|
| /f-stack/dpdk/examples/ipsec-secgw/ |
| H A D | ipip.h | 50 outip6->ip6_plen = htons(rte_pktmbuf_data_len(m) - in ipip_outbound()
|
| H A D | esp.c | 212 ip6->ip6_plen = htons(rte_pktmbuf_data_len(m) - in esp_inbound_post() 323 ip6->ip6_plen = htons(rte_pktmbuf_data_len(m) - in esp_outbound()
|
| /f-stack/freebsd/netipsec/ |
| H A D | ipsec_output.c | 533 ip6->ip6_plen = htons(m->m_pkthdr.len - sizeof(*ip6)); in ipsec6_perform_request() 742 mtod(m, struct ip6_hdr *)->ip6_plen = in ipsec_process_done() 982 ip6->ip6_plen = htons((*mp)->m_pkthdr.len - sizeof(*ip6)); in ipsec_encap()
|
| H A D | xform_ah.c | 404 if (ip6.ip6_plen == 0) { in ah_massage_headers() 1010 offsetof(struct ip6_hdr, ip6_plen), in ah_output() 1013 m_copyback(m, offsetof(struct ip6_hdr, ip6_plen), in ah_output()
|
| H A D | ipsec_input.c | 532 ip6->ip6_plen = htons(m->m_pkthdr.len - sizeof(struct ip6_hdr)); in ipsec6_common_input_cb()
|
| /f-stack/freebsd/netpfil/pf/ |
| H A D | pf_norm.c | 840 frent->fe_len = sizeof(struct ip6_hdr) + ntohs(ip6->ip6_plen) - hdrlen; in pf_reassemble6() 910 ip6->ip6_plen = htons(hdrlen - sizeof(struct ip6_hdr) + total); in pf_reassemble6() 923 ip6->ip6_plen = 0; in pf_reassemble6() 929 DPFPRINTF(("complete: %p(%d)\n", m, ntohs(ip6->ip6_plen))); in pf_reassemble6() 1215 plen = ntohs(h->ip6_plen); in pf_normalize_ip6()
|
| H A D | pf_osfp.c | 127 fp.fp_psize = sizeof(struct ip6_hdr) + ntohs(ip6->ip6_plen); in pf_osfp_fingerprint_hdr()
|
| /f-stack/freebsd/netpfil/ipfw/ |
| H A D | ip_fw_log.c | 395 ntohs(ip6->ip6_plen) - hlen, in ipfw_log()
|
| H A D | ip_fw2.c | 588 ip6->ip6_plen = htons(plen); in ipfw_send_abort() 698 h6->ip6_plen = htons(sizeof(struct tcphdr)); in ipfw_send_pkt() 1703 iplen = ntohs(ip6->ip6_plen) + sizeof(*ip6); in ipfw_chk() 2337 if (ip6->ip6_plen == 0) { in ipfw_chk()
|
| /f-stack/freebsd/netgraph/ |
| H A D | ng_checksum.c | 434 plen = ntohs(ip6->ip6_plen) + hlen; in checksum_ipv6()
|