/netbsd-current/sys/netinet6/ |
H A D | nd6_rtr.c | 57 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 D | icmp6.c | 416 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; 718 if (icmp6->icmp6_type == MLD_LISTENER_QUERY) /* XXX: ugly... */ 807 nicmp6->icmp6_type [all...] |
H A D | sctp6_usrreq.c | 336 if (icmp6->icmp6_type != ICMP6_PACKET_TOO_BIG) {
|
H A D | raw_ip6.c | 419 type = icmp6->icmp6_type;
|
/netbsd-current/sys/netinet/ |
H A D | icmp6.h | 72 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 D | print-icmp6.c | 82 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 D | ipft_tx.c | 479 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 D | ndisc_snoop.c | 110 switch (msg->icmp6h.icmp6_type) {
|
/netbsd-current/sys/net/npf/ |
H A D | npf_alg_icmp.c | 221 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 D | pfctl_parser.c | 130 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 D | ping6.c | 1137 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 D | uipc_mbufdebug.c | 735 (*pr)("ICMP6: Type = %u(", icmp6.icmp6_type); 736 switch (icmp6.icmp6_type) {
|
/netbsd-current/usr.sbin/traceroute6/ |
H A D | traceroute6.c | 826 icp->icmp6_type = ICMP6_ECHO_REQUEST; 971 type = icp->icmp6_type;
|
/netbsd-current/usr.sbin/npf/npfctl/ |
H A D | npf_bpf_comp.c | 701 assert(offsetof(struct icmp6_hdr, icmp6_type) == type_off);
|
/netbsd-current/external/bsd/dhcpcd/dist/src/ |
H A D | privsep-inet.c | 250 switch(icmp6.icmp6_type) {
|
H A D | ipv6nd.c | 2102 switch(icp->icmp6_type) { 2111 icp->icmp6_type, icp->icmp6_code, sfrom);
|
/netbsd-current/usr.sbin/rtadvd/ |
H A D | rtadvd.c | 805 switch (icp->icmp6_type) { 889 __func__, icp->icmp6_type);
|
/netbsd-current/external/bsd/ipf/dist/ |
H A D | ip_nat6.c | 1410 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 D | ip_log.c | 450 if (icmp->icmp6_type < 128) {
|
H A D | ip_state.c | 4444 if (!(oic->icmp6_type & ICMP6_INFOMSG_MASK)) { 4479 (oic->icmp6_type == ICMP6_ECHO_REQUEST)) || 4480 (ic->ici_type - 1 == oic->icmp6_type )) {
|
H A D | ip_nat6.c | 1442 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 D | fil.c | 924 if ((icmp6->icmp6_type & ICMP6_INFOMSG_MASK) != 0) 927 switch (icmp6->icmp6_type)
|
/netbsd-current/sys/netipsec/ |
H A D | ipsec.c | 1031 htons((uint16_t)icmph.icmp6_type);
|
/netbsd-current/sys/dist/pf/net/ |
H A D | pf.c | 3134 icmptype = pd->hdr.icmp6->icmp6_type; 4368 icmptype = pd->hdr.icmp6->icmp6_type;
|