Searched refs:ip6_plen (Results 1 – 25 of 55) sorted by relevance
123
146 mb->mb_len = ntohs(((ip6_t *)ip)->ip6_plen) +392 ip6->ip6_plen = sizeof(struct tcphdr);395 ip6->ip6_plen = sizeof(struct udphdr);398 ip6->ip6_plen = ICMP6ERR_IPICMPHLEN;502 if (ip6->ip6_plen == 0) {503 ip6->ip6_plen++;505 ip6->ip6_plen = htons(ip6->ip6_plen);
31 len = ntohs(((ip6_t *)ip)->ip6_plen);
141 ip6hdr.ip6_plen = 0; in in6_l2tp_output()143 ip6hdr.ip6_plen += sizeof(uint32_t); in in6_l2tp_output()146 ip6hdr.ip6_plen += var->lv_peer_cookie_len; in in6_l2tp_output()162 ip6hdr.ip6_plen += m->m_pkthdr.len; in in6_l2tp_output()163 HTONS(ip6hdr.ip6_plen); in in6_l2tp_output()
197 if (ip6->ip6_plen == 0) { in frag6_input()209 frgpartlen = sizeof(struct ip6_hdr) + ntohs(ip6->ip6_plen) - offset in frag6_input()214 offsetof(struct ip6_hdr, ip6_plen)); in frag6_input()379 ip6af->ip6af_len = ip6->ip6_plen; in frag6_input()474 ip6->ip6_plen = htons(next); in frag6_input()
112 iph->ip6_plen = htons(thlen + mss); in tcp6_segment()197 hdrlen + offsetof(struct ip6_hdr, ip6_plen); in in6_undefer_cksum()
561 plen = (u_int32_t)ntohs(ip6->ip6_plen); in ip6_input()581 if (ip6->ip6_plen == 0 && plen == 0) { in ip6_input()592 (char *)&ip6->ip6_plen - (char *)ip6); in ip6_input()961 if (ip6->ip6_plen) { in ip6_process_hopopts()
996 ip6->ip6_plen = htons((u_int16_t)plen); in udp6_output()1483 ip6->ip6_plen = htons(ntohs(ip6->ip6_plen) - skip); in udp6_espinudp()
163 ip6->ip6_plen = htons((u_int16_t)m->m_pkthdr.len); in in6_gif_output()
53 sizeof(struct ip6_hdr) + GET_BE_U_2(ip6->ip6_plen)) in frag6_print()57 sizeof(struct ip6_hdr) + GET_BE_U_2(ip6->ip6_plen) - in frag6_print()
89 #define ip6_plen ip6_ctlun.ip6_un1.ip6_un1_plen macro
255 payload_len = GET_BE_U_2(ip6->ip6_plen); in ip6_print()
249 slen = ip6->ip6_plen; in ipf_p_rcmd_portmsg()250 ip6->ip6_plen = htons(sizeof(*tcp)); in ipf_p_rcmd_portmsg()304 ip6->ip6_plen = slen; in ipf_p_rcmd_portmsg()
329 slen = ip6->ip6_plen; in ipf_p_tftp_backchannel()330 ip6->ip6_plen = htons(sizeof(udp)); in ipf_p_tftp_backchannel()394 ip6->ip6_plen = slen; in ipf_p_tftp_backchannel()
349 slen = ip6->ip6_plen;350 ip6->ip6_plen = htons(sizeof(udp));412 ip6->ip6_plen = slen;
93 #define ip6_plen ip6_ctlun.ip6_un1.ip6_un1_plen macro
1321 ip6->ip6_plen = htons(tlen - hlen); in syn_cache_respond()1326 ip6->ip6_plen = htons(tlen - hlen); in syn_cache_respond()
134 iplen = ntohs(ip6h->ip6_plen); in xennet_checksum_fill()
205 ip6.ip6_plen = htons(sizeof(uh) + msg->l);
229 ip6->ip6_plen = htons(m->m_pkthdr.len - sizeof(struct ip6_hdr)); in ipsec_process_done()780 ip6->ip6_plen = htons(m->m_pkthdr.len - sizeof(*ip6)); in ipsec6_process_packet()
456 ip6o->ip6_plen = htons(m->m_pkthdr.len - sizeof(*ip6o)); in ipip_output()
159 ip6->ip6_plen = htons(len); in npf_return_tcp()
1193 if (h->ip6_plen != 0)1224 if (ntohs(h->ip6_plen) == 0)1227 plen = ntohs(h->ip6_plen);1240 if (ntohs(h->ip6_plen) == 0 || jumbolen)1242 plen = ntohs(h->ip6_plen);
212 ip6->ip6_plen = htons(size); in mbuf_construct6()
1378 ip6.ip6_plen = 0; in jme_encap()1380 offsetof(struct ip6_hdr, ip6_plen), in jme_encap()1381 sizeof(ip6.ip6_plen), &ip6.ip6_plen); in jme_encap()1413 ip6->ip6_plen = 0; in jme_encap()
458 len = ip6->ip6_plen; in tcp_trace()