Searched refs:icmp6_type (Results 1 - 24 of 24) sorted by relevance

/netbsd-current/sys/netinet6/
H A Dnd6_rtr.c57 nd6_rtr_cache(struct mbuf *m, int off, int icmp6len, int icmp6_type) argument
82 switch (icmp6_type) {
138 icmp6_type == ND_ROUTER_SOLICIT ? "RS" : "RA",
143 nd6_cache_lladdr(ifp, &saddr6, lladdr, lladdrlen, icmp6_type, 0);
151 ICMP6_STATINC(icmp6_type == ND_ROUTER_SOLICIT ?
H A Dicmp6.c416 if (icp->icmp6_type < ICMP6_ECHO_REQUEST ||
417 icp->icmp6_type == ND_REDIRECT) {
464 icmp6->icmp6_type = type;
563 icmp6->icmp6_type, sum, IN6_PRINT(ip6buf, &ip6->ip6_src));
576 switch (icmp6->icmp6_type) {
588 ICMP6_STATINC(ICMP6_STAT_INHIST + icmp6->icmp6_type);
590 switch (icmp6->icmp6_type) {
694 nicmp6->icmp6_type = ICMP6_ECHO_REPLY;
717 if (icmp6->icmp6_type == MLD_LISTENER_QUERY) /* XXX: ugly... */
806 nicmp6->icmp6_type
[all...]
H A Dsctp6_usrreq.c336 if (icmp6->icmp6_type != ICMP6_PACKET_TOO_BIG) {
H A Draw_ip6.c419 type = icmp6->icmp6_type;
/netbsd-current/sys/netinet/
H A Dicmp6.h72 u_int8_t icmp6_type; /* type field */ member in struct:icmp6_hdr
199 #define mld_type mld_icmp6_hdr.icmp6_type
216 #define nd_rs_type nd_rs_hdr.icmp6_type
228 #define nd_ra_type nd_ra_hdr.icmp6_type
256 #define nd_ns_type nd_ns_hdr.icmp6_type
267 #define nd_na_type nd_na_hdr.icmp6_type
290 #define nd_rd_type nd_rd_hdr.icmp6_type
406 #define ni_type icmp6_ni_hdr.icmp6_type
486 #define rr_type rr_hdr.icmp6_type
/netbsd-current/external/bsd/tcpdump/dist/
H A Dprint-icmp6.c82 nd_uint8_t icmp6_type; /* type field */ member in struct:icmp6_hdr
187 #define mld6_type mld6_hdr.icmp6_type
205 #define nd_rs_type nd_rs_hdr.icmp6_type
217 #define nd_ra_type nd_ra_hdr.icmp6_type
246 #define nd_ns_type nd_ns_hdr.icmp6_type
257 #define nd_na_type nd_na_hdr.icmp6_type
273 #define nd_rd_type nd_rd_hdr.icmp6_type
389 #define ni_type icmp6_ni_hdr.icmp6_type
432 #define rr_type rr_hdr.icmp6_type
1019 uint8_t icmp6_type, icmp6_cod local
[all...]
/netbsd-current/external/bsd/ipf/dist/lib/
H A Dipft_tx.c479 ic6->icmp6_type = geticmptype(AF_INET6, *cpp);
483 if (ic6->icmp6_type == ICMP6_ECHO_REQUEST ||
484 ic6->icmp6_type == ICMP6_ECHO_REPLY)
/netbsd-current/external/bsd/wpa/dist/src/ap/
H A Dndisc_snoop.c110 switch (msg->icmp6h.icmp6_type) {
/netbsd-current/sys/net/npf/
H A Dnpf_alg_icmp.c221 ret = npfa_icmp6_inspect(ic6->icmp6_type, enpc, &hasqid);
294 ret = npfa_icmp6_inspect(ic6->icmp6_type, &enpc, &hasqid);
/netbsd-current/dist/pf/sbin/pfctl/
H A Dpfctl_parser.c130 static const struct icmptypeent icmp6_type[] = { variable in typeref:struct:icmptypeent
259 for (i=0; i < (sizeof (icmp6_type) /
260 sizeof(icmp6_type[0])); i++) {
261 if (type == icmp6_type[i].type)
262 return (&icmp6_type[i]);
280 for (i=0; i < (sizeof (icmp6_type) /
281 sizeof(icmp6_type[0])); i++) {
282 if (!strcmp(w, icmp6_type[i].name))
283 return (&icmp6_type[i]);
/netbsd-current/sbin/ping6/
H A Dping6.c1137 icp->icmp6_type = ICMP6_NI_QUERY;
1143 icp->icmp6_type = ICMP6_ECHO_REQUEST;
1339 if (icp->icmp6_type == ICMP6_ECHO_REPLY && myechoreply(icp)) {
1408 } else if (icp->icmp6_type == ICMP6_NI_REPLY && mynireply(ni)) {
2056 switch (icp->icmp6_type) {
2271 printf("Bad ICMP type: %d", icp->icmp6_type);
/netbsd-current/sys/kern/
H A Duipc_mbufdebug.c735 (*pr)("ICMP6: Type = %u(", icmp6.icmp6_type);
736 switch (icmp6.icmp6_type) {
/netbsd-current/usr.sbin/traceroute6/
H A Dtraceroute6.c826 icp->icmp6_type = ICMP6_ECHO_REQUEST;
971 type = icp->icmp6_type;
/netbsd-current/usr.sbin/npf/npfctl/
H A Dnpf_bpf_comp.c701 assert(offsetof(struct icmp6_hdr, icmp6_type) == type_off);
/netbsd-current/external/bsd/dhcpcd/dist/src/
H A Dprivsep-inet.c250 switch(icmp6.icmp6_type) {
H A Dipv6nd.c2102 switch(icp->icmp6_type) {
2111 icp->icmp6_type, icp->icmp6_code, sfrom);
/netbsd-current/usr.sbin/rtadvd/
H A Drtadvd.c805 switch (icp->icmp6_type) {
889 __func__, icp->icmp6_type);
/netbsd-current/external/bsd/ipf/dist/
H A Dip_nat6.c1410 type = icmp6->icmp6_type;
1475 if (ipf_nat6_icmpquerytype(orgicmp->icmp6_type)) {
2662 if (icmp6->icmp6_type > ICMP6_ECHO_REPLY)
3060 if (icmp6->icmp6_type > ICMP6_ECHO_REPLY)
/netbsd-current/sys/external/bsd/ipf/netinet/
H A Dip_log.c450 if (icmp->icmp6_type < 128) {
H A Dip_state.c4444 if (!(oic->icmp6_type & ICMP6_INFOMSG_MASK)) {
4479 (oic->icmp6_type == ICMP6_ECHO_REQUEST)) ||
4480 (ic->ici_type - 1 == oic->icmp6_type )) {
H A Dip_nat6.c1442 if (ipf_nat6_icmpquerytype(orgicmp->icmp6_type)) {
2607 if (icmp6->icmp6_type > ICMP6_ECHO_REPLY)
3005 if (icmp6->icmp6_type > ICMP6_ECHO_REPLY)
H A Dfil.c924 if ((icmp6->icmp6_type & ICMP6_INFOMSG_MASK) != 0)
927 switch (icmp6->icmp6_type)
/netbsd-current/sys/netipsec/
H A Dipsec.c1031 htons((uint16_t)icmph.icmp6_type);
/netbsd-current/sys/dist/pf/net/
H A Dpf.c3134 icmptype = pd->hdr.icmp6->icmp6_type;
4368 icmptype = pd->hdr.icmp6->icmp6_type;

Completed in 298 milliseconds