Home
last modified time | relevance | path

Searched refs:icmp_ip (Results 1 – 7 of 7) sorted by relevance

/f-stack/tools/compat/include/netinet/
H A Dip_icmp.h121 #define icmp_ip icmp_dun.id_ip.idi_ip macro
139 #define ICMP_ADVLEN(p) (8 + ((p)->icmp_ip.ip_hl << 2) + 8)
148 #define ICMP_ADVLENPREF(p) (8 + ((p)->icmp_ip.ip_hl << 2) + 8 + 8 + 12)
/f-stack/freebsd/netinet/
H A Dip_icmp.h121 #define icmp_ip icmp_dun.id_ip.idi_ip macro
139 #define ICMP_ADVLEN(p) (8 + ((p)->icmp_ip.ip_hl << 2) + 8)
148 #define ICMP_ADVLENPREF(p) (8 + ((p)->icmp_ip.ip_hl << 2) + 8 + 8 + 12)
H A Dip_icmp.c365 m_copydata(n, 0, icmplen, (caddr_t)&icp->icmp_ip); in icmp_error()
366 nip = &icp->icmp_ip; in icmp_error()
536 icp->icmp_ip.ip_hl < (sizeof(struct ip) >> 2)) { in icmp_input()
541 if (IN_MULTICAST(ntohl(icp->icmp_ip.ip_dst.s_addr))) in icmp_input()
545 printf("deliver to protocol %d\n", icp->icmp_ip.ip_p); in icmp_input()
547 icmpsrc.sin_addr = icp->icmp_ip.ip_dst; in icmp_input()
572 (void *)&icp->icmp_ip); in icmp_input()
655 dst = ntohl(icp->icmp_ip.ip_dst.s_addr); in icmp_input()
675 icp->icmp_ip.ip_hl < (sizeof(struct ip) >> 2)) { in icmp_input()
694 inet_ntoa_r(icp->icmp_ip.ip_dst, dstbuf), in icmp_input()
[all …]
H A Dtcp_subr.c2496 icp = (struct icmp *)((caddr_t)ip - offsetof(struct icmp, icmp_ip)); in tcp_ctlinput()
/f-stack/freebsd/contrib/ipfilter/netinet/
H A Dip_fil_freebsd.c576 iclen = hlen + offsetof(struct icmp, icmp_ip) + ohlen;
587 iclen = hlen + offsetof(struct icmp, icmp_ip) + ohlen;
630 ip2 = (ip_t *)&icmp->icmp_ip;
662 (char *)&icmp->icmp_ip + ohlen, xtra);
674 (char *)&icmp->icmp_ip + ohlen, xtra);
H A Dip_nat.c3804 oip = (ip_t *)&icmp->icmp_ip;
/f-stack/freebsd/netinet/libalias/
H A Dalias.c349 ip = &ic->icmp_ip; in IcmpAliasIn2()
537 ip = &ic->icmp_ip; in IcmpAliasOut2()