Home
last modified time | relevance | path

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

/freebsd/usr.sbin/ppp/
H A Dtcpmss.c153 struct ip6_hdr *pip6; in tcpmss_Check() local
189 pip6 = (struct ip6_hdr *)MBUF_CTOP(bp); in tcpmss_Check()
190 if (ntohs(pip6->ip6_plen) + sizeof(struct ip6_hdr) != plen) in tcpmss_Check()
193 switch (pip6->ip6_nxt) { in tcpmss_Check()
H A Dip.c237 const struct ip6_hdr *pip6 = (const struct ip6_hdr *)packet; in FilterCheck() local
239 ncpaddr_setip6(&srcaddr, &pip6->ip6_src); in FilterCheck()
240 ncpaddr_setip6(&dstaddr, &pip6->ip6_dst); in FilterCheck()
241 datalen = ntohs(pip6->ip6_plen); in FilterCheck()
242 payload = packet + sizeof *pip6; in FilterCheck()
243 cproto = pip6->ip6_nxt; in FilterCheck()
585 const struct ip6_hdr *pip6 = (const struct ip6_hdr *)packet; in PacketCheck() local
587 ncpaddr_setip6(&srcaddr, &pip6->ip6_src); in PacketCheck()
588 ncpaddr_setip6(&dstaddr, &pip6->ip6_dst); in PacketCheck()
589 datalen = ntohs(pip6->ip6_plen); in PacketCheck()
[all …]