/freebsd-11.0-release/contrib/ipfilter/lib/ |
H A D | printiphdr.c | 19 ntohl(ip->ip_dst.s_addr));
|
/freebsd-11.0-release/sys/netinet/libalias/ |
H A D | alias.c | 280 struct in_addr *ip_dst, u_char ip_p, u_short *ip_sum); 282 struct in_addr ip_dst, u_char ip_p, u_short *ip_sum, 307 lnk = FindIcmpIn(la, pip->ip_src, pip->ip_dst, ic->icmp_id, 1); 328 &original_address, &pip->ip_dst, 2); 329 pip->ip_dst = original_address; 360 lnk = FindUdpTcpIn(la, ip->ip_dst, ip->ip_src, 364 lnk = FindUdpTcpIn(la, ip->ip_dst, ip->ip_src, 369 lnk = FindIcmpIn(la, ip->ip_dst, ip->ip_src, ic2->icmp_id, 0); 397 &original_address, &pip->ip_dst, 2); 398 pip->ip_dst 658 ProtoAliasIn(struct libalias *la, struct in_addr ip_src, struct in_addr *ip_dst, u_char ip_p, u_short *ip_sum) argument 691 ProtoAliasOut(struct libalias *la, struct in_addr *ip_src, struct in_addr ip_dst, u_char ip_p, u_short *ip_sum, int create) argument 1175 FragmentIn(struct libalias *la, struct in_addr ip_src, struct in_addr *ip_dst, u_short ip_id, u_short *ip_sum) argument [all...] |
H A D | alias_pptp.c | 486 lnk = FindPptpOutByPeerCallId(la, pip->ip_src, pip->ip_dst, gr->gh_call_id); 510 lnk = FindPptpInByPeerCallId(la, pip->ip_src, pip->ip_dst, gr->gh_call_id); 519 &src_addr, &pip->ip_dst, 2); 520 pip->ip_dst = src_addr;
|
/freebsd-11.0-release/sbin/natd/ |
H A D | icmp.c | 102 swap = ip->ip_dst; 103 ip->ip_dst = ip->ip_src; 109 addr.sin_addr = ip->ip_dst;
|
/freebsd-11.0-release/sys/netinet/ |
H A D | ip_fastfwd.c | 214 ntohl(ip->ip_dst.s_addr) == (u_long)INADDR_BROADCAST || 216 IN_MULTICAST(ntohl(ip->ip_dst.s_addr)) || 218 IN_LINKLOCAL(ntohl(ip->ip_dst.s_addr)) || 220 ip->ip_dst.s_addr == INADDR_ANY ) 226 if (in_localip(ip->ip_dst)) 235 odest.s_addr = dest.s_addr = ip->ip_dst.s_addr; 252 dest.s_addr = ip->ip_dst.s_addr; 338 dest.s_addr = ip->ip_dst.s_addr;
|
H A D | ip_input.c | 500 if ((ntohl(ip->ip_dst.s_addr) >> IN_CLASSA_NSHIFT) == IN_LOOPBACKNET || 583 odst = ip->ip_dst; 590 dchg = (odst.s_addr != ip->ip_dst.s_addr); 664 LIST_FOREACH(ia, INADDR_HASH(ip->ip_dst.s_addr), ia_hash) { 670 if (IA_SIN(ia)->sin_addr.s_addr == ip->ip_dst.s_addr && 696 ip->ip_dst.s_addr) { 717 if (IN_LINKLOCAL(ntohl(ip->ip_dst.s_addr))) { 722 if (IN_MULTICAST(ntohl(ip->ip_dst.s_addr))) { 754 if (ip->ip_dst.s_addr == (u_long)INADDR_BROADCAST) 756 if (ip->ip_dst [all...] |
H A D | ip_gre.c | 116 if (sc->gre_oip.ip_src.s_addr != ip->ip_dst.s_addr || 117 sc->gre_oip.ip_dst.s_addr != ip->ip_src.s_addr)
|
H A D | in_rss.c | 287 return rss_proto_software_hash_v4(ip->ip_src, ip->ip_dst, 301 return rss_proto_software_hash_v4(ip->ip_src, ip->ip_dst, 309 return rss_proto_software_hash_v4(ip->ip_src, ip->ip_dst,
|
H A D | ip_icmp.c | 386 buf, inet_ntoa(ip->ip_dst), icmplen); 495 if (IN_MULTICAST(ntohl(icp->icmp_ip.ip_dst.s_addr))) 501 icmpsrc.sin_addr = icp->icmp_ip.ip_dst; 574 switch (ip->ip_dst.s_addr) { 582 icmpdst.sin_addr = ip->ip_dst; 615 dst = ntohl(icp->icmp_ip.ip_dst.s_addr); 651 strcpy(buf, inet_ntoa(icp->icmp_ip.ip_dst)); 657 icmpsrc.sin_addr = icp->icmp_ip.ip_dst; 716 t = ip->ip_dst; 717 ip->ip_dst [all...] |
H A D | ip_options.c | 120 dst = ip->ip_dst; 167 ipaddr.sin_addr = ip->ip_dst; 205 strcpy(buf, inet_ntoa(ip->ip_dst)); 259 ip->ip_dst = ipaddr.sin_addr; 264 forward = !IN_MULTICAST(ntohl(ip->ip_dst.s_addr)); 286 (void)memcpy(&ipaddr.sin_addr, &ip->ip_dst, 516 ip->ip_dst = p->ipopt_dst;
|
H A D | raw_ip.c | 300 ip->ip_dst.s_addr, V_ripcbinfo.ipi_hashmask); 310 if (inp->inp_laddr.s_addr != ip->ip_dst.s_addr) 319 if (prison_check_ip4(inp->inp_cred, &ip->ip_dst) != 0) 343 !in_hosteq(inp->inp_laddr, ip->ip_dst)) 354 if (!IN_MULTICAST(ntohl(ip->ip_dst.s_addr)) && 355 prison_check_ip4(inp->inp_cred, &ip->ip_dst) != 0) 365 IN_MULTICAST(ntohl(ip->ip_dst.s_addr))) { 387 group.sin_addr = ip->ip_dst; 471 ip->ip_dst.s_addr = dst; 479 error = in_pcbladdr(inp, &ip->ip_dst, [all...] |
H A D | ip_output.c | 120 odst.s_addr = ip->ip_dst.s_addr; 129 if (odst.s_addr != ip->ip_dst.s_addr) { 132 if (in_localip(ip->ip_dst)) { 154 dst->sin_addr = ip->ip_dst; 289 dst->sin_addr = ip->ip_dst; 311 dst->sin_addr.s_addr != ip->ip_dst.s_addr)) { 336 ip->ip_dst.s_addr = INADDR_BROADCAST; 337 dst->sin_addr = ip->ip_dst; 354 } else if (IN_MULTICAST(ntohl(ip->ip_dst.s_addr)) && 374 ntohl(ip->ip_src.s_addr ^ ip->ip_dst [all...] |
/freebsd-11.0-release/lib/libstand/ |
H A D | udp.c | 96 ip->ip_dst = d->destip; 118 if (ip->ip_dst.s_addr == INADDR_BROADCAST || ip->ip_src.s_addr == 0 || 119 netmask == 0 || SAMENET(ip->ip_src, ip->ip_dst, netmask)) 120 ea = arpwhohas(d, ip->ip_dst); 208 if (d->myip.s_addr && ip->ip_dst.s_addr != d->myip.s_addr) { 212 printf("%s\n", inet_ntoa(ip->ip_dst));
|
/freebsd-11.0-release/contrib/ipfilter/ipsend/ |
H A D | iptest.c | 155 if (resolve(dst, (char *)&ip->ip_dst) == -1) 168 gwip = ip->ip_dst; 180 printf("Dest: %s\n", inet_ntoa(ip->ip_dst));
|
H A D | ipsend.c | 130 if (resolve(t, (char *)&ic->icmp_ip.ip_dst) == -1) 183 ph.h.dst = ip->ip_dst.s_addr; 355 if (resolve(dst, (char *)&ip->ip_dst) == -1) 362 gwip = ip->ip_dst; 425 printf("Dest: %s\n", inet_ntoa(ip->ip_dst));
|
/freebsd-11.0-release/contrib/tcpdump/ |
H A D | print-icmp.c | 368 ND_TCHECK(dp->icmp_ip.ip_dst); 375 ipaddr_string(ndo, &dp->icmp_ip.ip_dst), 391 ipaddr_string(ndo, &oip->ip_dst), 398 ipaddr_string(ndo, &oip->ip_dst), 405 ipaddr_string(ndo, &oip->ip_dst), 419 ipaddr_string(ndo, &dp->icmp_ip.ip_dst), mtu); 423 ipaddr_string(ndo, &dp->icmp_ip.ip_dst)); 432 ipaddr_string(ndo, &dp->icmp_ip.ip_dst)); 438 ND_TCHECK(dp->icmp_ip.ip_dst); 442 ipaddr_string(ndo, &dp->icmp_ip.ip_dst), [all...] |
H A D | ip.h | 68 struct in_addr ip_src,ip_dst; /* source and dest address */ member in struct:ip
|
H A D | print-ip.c | 128 UNALIGNED_MEMCPY(&retval, &ip->ip_dst.s_addr, sizeof(uint32_t)); 155 UNALIGNED_MEMCPY(&ph.dst, &ip->ip_dst.s_addr, sizeof(uint32_t)); 470 ipaddr_string(ndo, &ipds->ip->ip_dst))); 476 ipaddr_string(ndo, &ipds->ip->ip_dst))); 656 ipaddr_string(ndo, &ipds->ip->ip_dst))); 670 ipaddr_string(ndo, &ipds->ip->ip_dst)));
|
H A D | print-sunrpc.c | 199 ipaddr_string(ndo, &ip->ip_dst), dstid, length));
|
/freebsd-11.0-release/sys/boot/arm/at91/libat91/ |
H A D | emac.h | 83 unsigned char ip_dst[4]; member in struct:__anon7327
|
/freebsd-11.0-release/contrib/traceroute/ |
H A D | rip_output.c | 61 ip->ip_dst = ((struct sockaddr_in *)&rp->rcb_faddr)->sin_addr;
|
/freebsd-11.0-release/sys/netpfil/pf/ |
H A D | in4_cksum.c | 108 u.ipov.ih_dst = mtod(m, struct ip *)->ip_dst;
|
/freebsd-11.0-release/cddl/lib/libdtrace/ |
H A D | ip.d | 237 inet_ntoa(&((struct ip *)p)->ip_dst.s_addr) : 265 ipv4_dst = p == NULL ? 0 : (ipaddr_t)ntohl(p->ip_dst.s_addr); 267 ipv4_daddr = p == NULL ? 0 : inet_ntoa(&p->ip_dst.s_addr);
|
/freebsd-11.0-release/sys/contrib/ipfilter/netinet/ |
H A D | ip_raudio_pxy.c | 283 swb = ip->ip_dst; 287 ip->ip_dst = nat->nat_odstip; 351 ip->ip_dst = swb;
|
/freebsd-11.0-release/tools/tools/net80211/wesside/dics/ |
H A D | dics.c | 249 inet_aton(ip, &iph->ip_dst); 254 memcpy(&dst.sin_addr, &iph->ip_dst, sizeof(dst.sin_addr)); 269 &iph->ip_src, &iph->ip_dst);
|