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

12

/freebsd-12-stable/sys/netinet/
H A Dicmp6.h73 u_int8_t icmp6_type; /* type field */ member in struct:icmp6_hdr
198 #define mld_type mld_icmp6_hdr.icmp6_type
215 #define nd_rs_type nd_rs_hdr.icmp6_type
227 #define nd_ra_type nd_ra_hdr.icmp6_type
255 #define nd_ns_type nd_ns_hdr.icmp6_type
266 #define nd_na_type nd_na_hdr.icmp6_type
289 #define nd_rd_type nd_rd_hdr.icmp6_type
399 #define ni_type icmp6_ni_hdr.icmp6_type
479 #define rr_type rr_hdr.icmp6_type
/freebsd-12-stable/contrib/tcpdump/
H A Dprint-icmp6.c81 uint8_t icmp6_type; /* type field */ member in struct:icmp6_hdr
183 #define mld6_type mld6_hdr.icmp6_type
201 #define nd_rs_type nd_rs_hdr.icmp6_type
213 #define nd_ra_type nd_ra_hdr.icmp6_type
241 #define nd_ns_type nd_ns_hdr.icmp6_type
252 #define nd_na_type nd_na_hdr.icmp6_type
268 #define nd_rd_type nd_rd_hdr.icmp6_type
384 #define ni_type icmp6_ni_hdr.icmp6_type
432 #define rr_type rr_hdr.icmp6_type
909 ND_PRINT((ndo,"ICMP6, %s", tok2str(icmp6_type_values,"unknown icmp6 type (%u)",dp->icmp6_type)));
[all...]
/freebsd-12-stable/sys/netpfil/ipfw/nat64/
H A Dnat64_translate.c669 if (icmp6->icmp6_type < ICMP6_ECHO_REQUEST ||
670 icmp6->icmp6_type == ND_REDIRECT) {
753 icmp6->icmp6_type = type;
880 icmp6->icmp6_type = type;
1165 ICMP6(icmp)->icmp6_type = type;
1367 switch (icmp6->icmp6_type) {
1384 " code %d", icmp6->icmp6_type,
1396 " code %d", mtu, icmp6->icmp6_type,
1441 " code %d, pptr %d", icmp6->icmp6_type,
1452 " code %d, pptr %d", icmp6->icmp6_type,
[all...]
H A Dnat64clat.c166 switch (icmp6->icmp6_type) {
H A Dnat64stl.c166 switch (icmp6->icmp6_type) {
H A Dnat64lsn.c1519 if (icmp6->icmp6_type == ICMP6_ECHO_REQUEST ||
1520 icmp6->icmp6_type == ICMP6_ECHO_REPLY)
/freebsd-12-stable/contrib/ipfilter/lib/
H A Dipft_tx.c481 ic6->icmp6_type = geticmptype(AF_INET6, *cpp);
485 if (ic6->icmp6_type == ICMP6_ECHO_REQUEST ||
486 ic6->icmp6_type == ICMP6_ECHO_REPLY)
/freebsd-12-stable/contrib/wpa/src/ap/
H A Dndisc_snoop.c110 switch (msg->icmp6h.icmp6_type) {
/freebsd-12-stable/sys/netinet6/
H A Dicmp6.c330 if (icp->icmp6_type < ICMP6_ECHO_REQUEST ||
331 icp->icmp6_type == ND_REDIRECT) {
374 icmp6->icmp6_type = type;
449 icmp6->icmp6_type, sum,
455 ICMP6STAT_INC(icp6s_inhist[icmp6->icmp6_type]);
457 if (icmp6->icmp6_type < ICMP6_INFOMSG_MASK)
461 switch (icmp6->icmp6_type) {
584 nicmp6->icmp6_type = ICMP6_ECHO_REPLY;
714 nicmp6->icmp6_type = ICMP6_WRUREPLY;
849 icmp6->icmp6_type, ip6_sprint
[all...]
H A Dsend.c151 switch (icmp6->icmp6_type) {
H A Dsctp6_usrreq.c180 uint8_t icmp6_type,
186 switch (icmp6_type) {
378 ip6cp->ip6c_icmp6->icmp6_type,
177 sctp6_notify(struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sctp_nets *net, uint8_t icmp6_type, uint8_t icmp6_code, uint32_t next_mtu) argument
H A Draw_ip6.c454 type = icmp6->icmp6_type;
/freebsd-12-stable/sys/netpfil/ipfw/
H A Dip_fw2.c845 is_icmp6_query(int icmp6_type) argument
847 if ((icmp6_type <= ICMP6_MAXTYPE) &&
848 (icmp6_type == ICMP6_ECHO_REQUEST ||
849 icmp6_type == ICMP6_MEMBERSHIP_QUERY ||
850 icmp6_type == ICMP6_WRUREQUEST ||
851 icmp6_type == ICMP6_FQDN_QUERY ||
852 icmp6_type == ICMP6_NI_QUERY))
1434 uint8_t icmp6_type = 0; local
1504 icmp6_type = ICMP6(ulp)->icmp6_type;
[all...]
H A Dip_fw_log.c371 icmp6->icmp6_type, icmp6->icmp6_code);
/freebsd-12-stable/sbin/pfctl/
H A Dpfctl_parser.c111 static const struct icmptypeent icmp6_type[] = { variable in typeref:struct:icmptypeent
236 for (i=0; i < nitems(icmp6_type); i++) {
237 if (type == icmp6_type[i].type)
238 return (&icmp6_type[i]);
255 for (i=0; i < nitems(icmp6_type); i++) {
256 if (!strcmp(w, icmp6_type[i].name))
257 return (&icmp6_type[i]);
/freebsd-12-stable/sbin/ping6/
H A Dping6.c1335 icp->icmp6_type = ICMP6_NI_QUERY;
1352 icp->icmp6_type = ICMP6_NI_QUERY;
1367 icp->icmp6_type = ICMP6_NI_QUERY;
1384 icp->icmp6_type = ICMP6_NI_QUERY;
1398 icp->icmp6_type = ICMP6_ECHO_REQUEST;
1601 if (icp->icmp6_type == ICMP6_ECHO_REPLY && myechoreply(icp)) {
1670 } else if (icp->icmp6_type == ICMP6_NI_REPLY && mynireply(ni)) {
2351 switch (icp->icmp6_type) {
2564 (void)printf("Bad ICMP type: %d", icp->icmp6_type);
/freebsd-12-stable/usr.sbin/rtsold/
H A Drtsol.c235 if (icp->icmp6_type != ND_ROUTER_ADVERT) {
241 "invalid icmp type(%d) from %s on %s", icp->icmp6_type,
/freebsd-12-stable/sys/netpfil/ipfw/nptv6/
H A Dnptv6.c149 NPTV6_DEBUG("ICMPv6 type %d", icmp6->icmp6_type);
150 switch (icmp6->icmp6_type) {
/freebsd-12-stable/usr.sbin/ppp/
H A Dip.c327 sport = ih6->icmp6_type;
642 "ICMP: %s:%d ---> ", ncpaddr_ntoa(&srcaddr), icmp6h->icmp6_type);
/freebsd-12-stable/usr.sbin/traceroute6/
H A Dtraceroute6.c1078 icp->icmp6_type = ICMP6_ECHO_REQUEST;
1337 *type = icp->icmp6_type;
/freebsd-12-stable/usr.sbin/rtadvd/
H A Drtadvd.c799 switch (icp->icmp6_type) {
898 syslog(LOG_ERR, "invalid icmp type(%d)", icp->icmp6_type);
/freebsd-12-stable/sys/contrib/ipfilter/netinet/
H A Dip_log.c425 if (icmp->icmp6_type < 128) {
H A Dip_nat6.c1402 type = icmp6->icmp6_type;
1467 if (ipf_nat6_icmpquerytype(orgicmp->icmp6_type)) {
2654 if (icmp6->icmp6_type > ICMP6_ECHO_REPLY)
3050 if (icmp6->icmp6_type > ICMP6_ECHO_REPLY)
H A Dip_state.c4482 type = ic6->icmp6_type;
4534 if (!(oic->icmp6_type & ICMP6_INFOMSG_MASK)) {
4569 (oic->icmp6_type == ICMP6_ECHO_REQUEST)) ||
4570 (ic->ici_type - 1 == oic->icmp6_type )) {
/freebsd-12-stable/sys/netipsec/
H A Dipsec.c727 spidx->src.sin6.sin6_port = htons((uint16_t)ih.icmp6_type);

Completed in 389 milliseconds

12