Searched refs:IPPROTO_ICMPV6 (Results 1 - 25 of 56) sorted by relevance

123

/freebsd-10.3-release/tools/regression/netinet6/icmp6_filter/
H A Dicmp6_filter.c71 if (getsockopt(s, IPPROTO_ICMPV6, ICMP6_FILTER, &ic6f, &len) < 0)
81 if (setsockopt(s, IPPROTO_ICMPV6, ICMP6_FILTER, &ic6f, len) < 0)
88 if (getsockopt(s, IPPROTO_ICMPV6, ICMP6_FILTER, &ic6f, &len) < 0)
98 if (setsockopt(s, IPPROTO_ICMPV6, ICMP6_FILTER, &ic6f, len) < 0)
105 if (getsockopt(s, IPPROTO_ICMPV6, ICMP6_FILTER, &ic6f, &len) < 0)
115 if (setsockopt(s, IPPROTO_ICMPV6, ICMP6_FILTER, &ic6f, len) < 0)
122 if (getsockopt(s, IPPROTO_ICMPV6, ICMP6_FILTER, &ic6f, &len) < 0)
/freebsd-10.3-release/contrib/tcpdump/
H A Dipproto.h97 #ifndef IPPROTO_ICMPV6
98 #define IPPROTO_ICMPV6 58 /* ICMPv6 */ macro
H A Dipproto.c48 { IPPROTO_ICMPV6, "ICMPv6" },
H A Dprint-pfsync.c381 if (s->proto == IPPROTO_ICMP || s->proto == IPPROTO_ICMPV6)
388 if (s->proto == IPPROTO_ICMP || s->proto == IPPROTO_ICMPV6)
H A Dprint-ip6.c206 case IPPROTO_ICMPV6:
/freebsd-10.3-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/ip/
H A Dtst.ipv6localicmp.ksh61 args[5]->ipv6_nexthdr == IPPROTO_ICMPV6/
71 args[5]->ipv6_nexthdr == IPPROTO_ICMPV6/
H A Dtst.ipv6remoteicmp.ksh71 args[5]->ipv6_nexthdr == IPPROTO_ICMPV6/
81 args[5]->ipv6_nexthdr == IPPROTO_ICMPV6/
/freebsd-10.3-release/usr.bin/systat/
H A Dicmp6.c223 name[2] = IPPROTO_ICMPV6;
251 name[2] = IPPROTO_ICMPV6;
270 name[2] = IPPROTO_ICMPV6;
H A Dip6.c231 DO(ip6s_nxthist[IPPROTO_ICMPV6], 18, 35);
/freebsd-10.3-release/cddl/lib/libdtrace/
H A Dip.d155 #pragma D binding "1.0" IPPROTO_ICMPV6
156 inline short IPPROTO_ICMPV6 = 58;
189 proto == IPPROTO_ICMPV6 ? "ICMPV6" :
/freebsd-10.3-release/usr.sbin/traceroute6/
H A Dtraceroute6.c382 if ((rcvsock = socket(AF_INET6, SOCK_RAW, IPPROTO_ICMPV6)) < 0) {
474 useproto = IPPROTO_ICMPV6;
567 case IPPROTO_ICMPV6:
613 hints.ai_protocol = IPPROTO_ICMPV6;
651 case IPPROTO_ICMPV6:
1060 case IPPROTO_ICMPV6:
1271 case IPPROTO_ICMPV6:
1289 } else if (useproto == IPPROTO_ICMPV6 && type == ICMP6_ECHO_REPLY) {
1347 case IPPROTO_ICMPV6:
/freebsd-10.3-release/contrib/ipfilter/lib/
H A Dipft_tx.c379 ip6->ip6_nxt = IPPROTO_ICMPV6;
399 case IPPROTO_ICMPV6 :
474 } else if (*cpp && ip6->ip6_nxt == IPPROTO_ICMPV6) {
496 } else if (ip6->ip6_nxt == IPPROTO_ICMPV6) {
H A Dprintstate.c86 || sp->is_p == IPPROTO_ICMPV6
/freebsd-10.3-release/usr.sbin/rrenumd/
H A Drrenumd.c282 (s6 = socket(AF_INET6, SOCK_RAW, IPPROTO_ICMPV6)) < 0) {
299 if (setsockopt(s6, IPPROTO_ICMPV6, ICMP6_FILTER, &filt,
368 if ((s4 = socket(AF_INET, SOCK_RAW, IPPROTO_ICMPV6)) < 0) {
/freebsd-10.3-release/usr.sbin/rtsold/
H A Dprobe.c116 mib[2] = IPPROTO_ICMPV6;
/freebsd-10.3-release/usr.sbin/mld6query/
H A Dmld6.c130 if ((s = socket(AF_INET6, SOCK_RAW, IPPROTO_ICMPV6)) < 0)
147 if (setsockopt(s, IPPROTO_ICMPV6, ICMP6_FILTER, &filt,
/freebsd-10.3-release/sys/netinet6/
H A Draw_ip6.c456 if (so->so_proto->pr_protocol == IPPROTO_ICMPV6) {
516 if (so->so_proto->pr_protocol == IPPROTO_ICMPV6 ||
523 if (so->so_proto->pr_protocol == IPPROTO_ICMPV6)
550 so->so_proto->pr_protocol == IPPROTO_ICMPV6) {
563 if (so->so_proto->pr_protocol == IPPROTO_ICMPV6) {
594 if (sopt->sopt_level == IPPROTO_ICMPV6)
H A Dicmp6.c316 if (off >= 0 && nxt == IPPROTO_ICMPV6) {
465 if ((sum = in6_cksum(m, IPPROTO_ICMPV6, off, icmp6len)) != 0) {
2004 if (in6p->inp_ip_p != IPPROTO_ICMPV6)
2176 ip6->ip6_nxt = IPPROTO_ICMPV6;
2254 ip6->ip6_nxt = IPPROTO_ICMPV6;
2264 icmp6->icmp6_cksum = in6_cksum(m, IPPROTO_ICMPV6,
2606 ip6->ip6_nxt = IPPROTO_ICMPV6;
2773 nd_rd->nd_rd_cksum = in6_cksum(m, IPPROTO_ICMPV6,
2821 if (level != IPPROTO_ICMPV6) {
H A Din6_proto.c246 .pr_protocol = IPPROTO_ICMPV6,
471 SYSCTL_NODE(_net_inet6, IPPROTO_ICMPV6, icmp6, CTLFLAG_RW, 0, "ICMP6");
H A Dnd6_nbr.c452 ip6->ip6_nxt = IPPROTO_ICMPV6;
599 in6_cksum(m, IPPROTO_ICMPV6, sizeof(*ip6), icmp6len);
1019 ip6->ip6_nxt = IPPROTO_ICMPV6;
1104 in6_cksum(m, IPPROTO_ICMPV6, sizeof(struct ip6_hdr), icmp6len);
/freebsd-10.3-release/lib/libipsec/
H A Dpfkey_dump.c533 if (ulp == IPPROTO_ICMPV6)
553 else if (ulp == IPPROTO_ICMPV6) {
/freebsd-10.3-release/sbin/pfctl/
H A Dpf_print_state.c220 if (s->proto == IPPROTO_ICMP || s->proto == IPPROTO_ICMPV6)
227 if (s->proto == IPPROTO_ICMP || s->proto == IPPROTO_ICMPV6)
/freebsd-10.3-release/sys/contrib/ipfilter/netinet/
H A Dip_nat6.c1173 case IPPROTO_ICMPV6 :
1469 else if (p == IPPROTO_ICMPV6) {
1638 } else if (oip6->ip6_nxt == IPPROTO_ICMPV6)
1940 case IPPROTO_ICMPV6 :
1982 } else if (p == IPPROTO_ICMPV6) {
2000 } else if (p == IPPROTO_ICMPV6) {
2257 case IPPROTO_ICMPV6 :
2300 } else if (p == IPPROTO_ICMPV6) {
2319 } else if (p == IPPROTO_ICMPV6) {
2487 fi.fin_p = IPPROTO_ICMPV6;
[all...]
H A Dip_state.c1200 rv = (is1->is_p == IPPROTO_ICMPV6) ? 2 : 1;
1301 case IPPROTO_ICMPV6 :
1485 if ((is->is_p == IPPROTO_ICMPV6) &&
1515 case IPPROTO_ICMPV6 :
3052 if ((fin->fin_p == IPPROTO_ICMPV6) &&
3079 case IPPROTO_ICMPV6 :
3328 || (fin->fin_fi.fi_p == IPPROTO_ICMPV6)
3344 case IPPROTO_ICMPV6 :
4413 } else if (ipsl.isl_p == IPPROTO_ICMPV6) {
4515 if (oip6->ip6_nxt == IPPROTO_ICMPV6) {
[all...]
/freebsd-10.3-release/sys/netinet/
H A Din.h194 #define IPPROTO_ICMPV6 58 /* ICMP6 */ macro

Completed in 190 milliseconds

123