Searched refs:ip6_nxt (Results 1 - 25 of 65) sorted by relevance

123

/freebsd-10.2-release/contrib/ipfilter/lib/
H A Dipft_tx.c371 ip6->ip6_nxt = IPPROTO_TCP;
375 ip6->ip6_nxt = IPPROTO_UDP;
379 ip6->ip6_nxt = IPPROTO_ICMPV6;
383 ip6->ip6_nxt = atoi(*cpp);
386 ip6->ip6_nxt = IPPROTO_IPV6;
391 switch (ip6->ip6_nxt)
406 if (ip6->ip6_nxt == IPPROTO_TCP || ip6->ip6_nxt == IPPROTO_UDP) {
416 if (ip6->ip6_nxt == IPPROTO_TCP) {
431 if (ip6->ip6_nxt
[all...]
/freebsd-10.2-release/contrib/tcpdump/
H A Dip6.h94 #define ip6_nxt ip6_ctlun.ip6_un1.ip6_un1_nxt macro
H A Dprint-ip6.c132 tok2str(ipproto_values,"unknown",ip6->ip6_nxt),
133 ip6->ip6_nxt,
146 nh = ip6->ip6_nxt;
H A Dprint-icmp6.c385 oip->ip6_nxt, dport);
609 if (!TTEST(ip6->ip6_nxt))
612 nh = ip6->ip6_nxt;
H A Dprint-pgm.c213 if (ip6->ip6_nxt == IPPROTO_PGM) {
H A Dprint-tcp.c212 if (ip6->ip6_nxt == IPPROTO_TCP) {
H A Dprint-udp.c316 if (ip6->ip6_nxt == IPPROTO_UDP) {
/freebsd-10.2-release/sys/netinet6/
H A Dip6_input.c522 IP6STAT_INC(ip6s_nxthist[ip6->ip6_nxt]);
906 if (ip6->ip6_nxt == IPPROTO_HOPOPTS) {
913 nxt = ip6->ip6_nxt;
1436 if (ip6->ip6_nxt == IPPROTO_HOPOPTS) {
1448 ip6->ip6_nxt);
1481 int nxt = ip6->ip6_nxt, off = sizeof(struct ip6_hdr);
1695 return (&ip6->ip6_nxt);
1700 nxt = ip6->ip6_nxt;
1747 *nxtp = ip6.ip6_nxt;
H A Dip6_forward.c147 ip6->ip6_nxt,
401 ip6->ip6_nxt,
489 ip6->ip6_nxt, if_name(m->m_pkthdr.rcvif),
H A Din6_gif.c139 ip6->ip6_nxt = proto;
H A Draw_ip6.c513 ip6->ip6_nxt = in6p->inp_ip_p;
542 *p = in6_cksum(m, ip6->ip6_nxt, sizeof(*ip6), plen);
H A Dudp6_usrreq.c236 nxt = ip6->ip6_nxt;
826 ip6->ip6_nxt = nxt;
H A Dip6_output.c429 u_char *nexthdrp = &ip6->ip6_nxt;
445 *mtod(exthdrs.ip6e_dest2, u_char *) = ip6->ip6_nxt;
446 ip6->ip6_nxt = IPPROTO_DSTOPTS;
989 nextproto = ip6->ip6_nxt;
990 ip6->ip6_nxt = IPPROTO_FRAGMENT;
H A Dicmp6.c979 u_int8_t nxt = eip6->ip6_nxt;
2176 ip6->ip6_nxt = IPPROTO_ICMPV6;
2254 ip6->ip6_nxt = IPPROTO_ICMPV6;
2606 ip6->ip6_nxt = IPPROTO_ICMPV6;
/freebsd-10.2-release/sys/netipsec/
H A Dxform_ipip.c502 ip6o->ip6_nxt = IPPROTO_IPIP;
515 ip6o->ip6_nxt = IPPROTO_IPV6;
H A Dipsec_output.c582 off = offsetof(struct ip6_hdr, ip6_nxt);
729 off = offsetof(struct ip6_hdr, ip6_nxt);
/freebsd-10.2-release/sys/netinet/
H A Dip6.h89 #define ip6_nxt ip6_ctlun.ip6_un1.ip6_un1_nxt macro
H A Dtcp_lro.c157 cs = in6_cksum_pseudo(ip6, cx, ip6->ip6_nxt, 0);
317 if (ip6->ip6_nxt != IPPROTO_TCP)
/freebsd-10.2-release/sys/contrib/ipfilter/netinet/
H A Dip_fil_freebsd.c432 ip6->ip6_nxt = IPPROTO_TCP;
496 fnew.fin_p = ip6->ip6_nxt;
677 ip6->ip6_nxt = IPPROTO_ICMPV6;
H A Dip_nat6.c1464 p = oip6->ip6_nxt;
1627 if (oip6->ip6_nxt == IPPROTO_TCP) {
1631 } else if (oip6->ip6_nxt == IPPROTO_UDP) {
1638 } else if (oip6->ip6_nxt == IPPROTO_ICMPV6)
1806 if (oip6->ip6_nxt == IPPROTO_UDP) {
1817 } else if (oip6->ip6_nxt == IPPROTO_TCP) {
3749 ip6->ip6_nxt = IPPROTO_UDP;
3751 ip6->ip6_nxt = IPPROTO_IPIP;
/freebsd-10.2-release/sys/netpfil/ipfw/
H A Dip_fw_pfil.c459 if (ip6->ip6_nxt == IPPROTO_FRAGMENT) {
/freebsd-10.2-release/sys/dev/hyperv/netvsc/
H A Dhv_netvsc_drv_freebsd.c215 if (IPPROTO_TCP == ip6->ip6_nxt) {
217 } else if (IPPROTO_UDP == ip6->ip6_nxt) {
/freebsd-10.2-release/usr.sbin/ppp/
H A Dip.c243 cproto = pip6->ip6_nxt;
591 cproto = pip6->ip6_nxt;
/freebsd-10.2-release/sys/netpfil/pf/
H A Dpf_norm.c767 ip6->ip6_nxt = proto;
1127 proto = hdr->ip6_nxt;
1128 hdr->ip6_nxt = IPPROTO_FRAGMENT;
1439 else if (r->proto && r->proto != h->ip6_nxt)
1467 proto = h->ip6_nxt;
/freebsd-10.2-release/sys/contrib/altq/altq/
H A Daltq_subr.c1099 fin6->fi6_proto = ip6->ip6_nxt;
1108 && ip6->ip6_nxt > IPPROTO_IPV6))
1274 proto = ip6->ip6_nxt;

Completed in 286 milliseconds

123