/freebsd-10-stable/contrib/ipfilter/lib/ |
H A D | printiphdr.c | 19 ntohl(ip->ip_dst.s_addr));
|
/freebsd-10-stable/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 1177 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-10-stable/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-10-stable/contrib/tcpdump/ |
H A D | print-icmp.c | 372 TCHECK(dp->icmp_ip.ip_dst); 379 ipaddr_string(&dp->icmp_ip.ip_dst), 395 ipaddr_string(&oip->ip_dst), 402 ipaddr_string(&oip->ip_dst), 409 ipaddr_string(&oip->ip_dst), 423 ipaddr_string(&dp->icmp_ip.ip_dst), mtu); 427 ipaddr_string(&dp->icmp_ip.ip_dst)); 436 ipaddr_string(&dp->icmp_ip.ip_dst)); 442 TCHECK(dp->icmp_ip.ip_dst); 446 ipaddr_string(&dp->icmp_ip.ip_dst), [all...] |
H A D | print-tcp.c | 165 ipaddr_string(&ip->ip_dst)); 229 ipaddr_string(&ip->ip_dst), 316 dst = &ip->ip_dst; 320 if (memcmp(src, dst, sizeof ip->ip_dst) > 0) 324 memcpy(&tha.src, dst, sizeof ip->ip_dst); 328 memcpy(&tha.dst, dst, sizeof ip->ip_dst); 336 dst = &ip->ip_dst; 340 if (memcmp(src, dst, sizeof ip->ip_dst) > 0) 344 memcpy(&tha.src, dst, sizeof ip->ip_dst); 348 memcpy(&tha.dst, dst, sizeof ip->ip_dst); [all...] |
H A D | ip.h | 64 struct in_addr ip_src,ip_dst; /* source and dest address */ member in struct:ip
|
H A D | print-ip.c | 130 memcpy(&retval, &ip->ip_dst.s_addr, sizeof(u_int32_t)); 156 memcpy(&ph.dst, &ip->ip_dst.s_addr, sizeof(u_int32_t)); 471 ipaddr_string(&ipds->ip->ip_dst)); 477 ipaddr_string(&ipds->ip->ip_dst)); 657 ipaddr_string(&ipds->ip->ip_dst)); 671 ipaddr_string(&ipds->ip->ip_dst));
|
/freebsd-10-stable/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-10-stable/sys/netinet/ |
H A D | ip_fastfwd.c | 278 if ((ntohl(ip->ip_dst.s_addr) >> IN_CLASSA_NSHIFT) == IN_LOOPBACKNET || 323 ntohl(ip->ip_dst.s_addr) == (u_long)INADDR_BROADCAST || 325 IN_MULTICAST(ntohl(ip->ip_dst.s_addr)) || 327 IN_LINKLOCAL(ntohl(ip->ip_dst.s_addr)) || 329 ip->ip_dst.s_addr == INADDR_ANY ) 335 if (in_localip(ip->ip_dst)) 344 odest.s_addr = dest.s_addr = ip->ip_dst.s_addr; 361 dest.s_addr = ip->ip_dst.s_addr; 447 dest.s_addr = ip->ip_dst.s_addr;
|
H A D | ip_input.c | 415 if ((ntohl(ip->ip_dst.s_addr) >> IN_CLASSA_NSHIFT) == IN_LOOPBACKNET || 487 odst = ip->ip_dst; 494 dchg = (odst.s_addr != ip->ip_dst.s_addr); 568 LIST_FOREACH(ia, INADDR_HASH(ip->ip_dst.s_addr), ia_hash) { 574 if (IA_SIN(ia)->sin_addr.s_addr == ip->ip_dst.s_addr && 598 ip->ip_dst.s_addr) { 615 if (IN_LINKLOCAL(ntohl(ip->ip_dst.s_addr))) { 620 if (IN_MULTICAST(ntohl(ip->ip_dst.s_addr))) { 652 if (ip->ip_dst.s_addr == (u_long)INADDR_BROADCAST) 654 if (ip->ip_dst [all...] |
H A D | ip_gre.c | 131 if (sc->gre_oip.ip_src.s_addr != ip->ip_dst.s_addr || 132 sc->gre_oip.ip_dst.s_addr != ip->ip_src.s_addr)
|
H A D | ip_icmp.c | 394 buf, inet_ntoa(ip->ip_dst), icmplen); 522 if (IN_MULTICAST(ntohl(icp->icmp_ip.ip_dst.s_addr))) 528 icmpsrc.sin_addr = icp->icmp_ip.ip_dst; 584 switch (ip->ip_dst.s_addr) { 592 icmpdst.sin_addr = ip->ip_dst; 625 dst = ntohl(icp->icmp_ip.ip_dst.s_addr); 661 strcpy(buf, inet_ntoa(icp->icmp_ip.ip_dst)); 667 icmpsrc.sin_addr = icp->icmp_ip.ip_dst; 721 t = ip->ip_dst; 722 ip->ip_dst [all...] |
H A D | ip_output.c | 217 dst->sin_addr.s_addr != ip->ip_dst.s_addr)) { 227 dst->sin_addr = ip->ip_dst; 243 ip->ip_dst.s_addr = INADDR_BROADCAST; 244 dst->sin_addr = ip->ip_dst; 259 } else if (IN_MULTICAST(ntohl(ip->ip_dst.s_addr)) && 279 ntohl(ip->ip_src.s_addr ^ ip->ip_dst.s_addr), 334 if (IN_MULTICAST(ntohl(ip->ip_dst.s_addr))) { 512 odst.s_addr = ip->ip_dst.s_addr; 520 if (odst.s_addr != ip->ip_dst.s_addr) { 523 if (in_localip(ip->ip_dst)) { [all...] |
H A D | ip_options.c | 118 dst = ip->ip_dst; 165 ipaddr.sin_addr = ip->ip_dst; 203 strcpy(buf, inet_ntoa(ip->ip_dst)); 243 ip->ip_dst = ipaddr.sin_addr; 251 forward = !IN_MULTICAST(ntohl(ip->ip_dst.s_addr)); 273 (void)memcpy(&ipaddr.sin_addr, &ip->ip_dst, 499 ip->ip_dst = p->ipopt_dst;
|
H A D | raw_ip.c | 296 ip->ip_dst.s_addr, V_ripcbinfo.ipi_hashmask); 306 if (inp->inp_laddr.s_addr != ip->ip_dst.s_addr) 315 if (prison_check_ip4(inp->inp_cred, &ip->ip_dst) != 0) 339 !in_hosteq(inp->inp_laddr, ip->ip_dst)) 350 if (!IN_MULTICAST(ntohl(ip->ip_dst.s_addr)) && 351 prison_check_ip4(inp->inp_cred, &ip->ip_dst) != 0) 361 IN_MULTICAST(ntohl(ip->ip_dst.s_addr))) { 383 group.sin_addr = ip->ip_dst; 456 ip->ip_dst.s_addr = dst; 464 error = in_pcbladdr(inp, &ip->ip_dst, [all...] |
/freebsd-10-stable/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-10-stable/sys/boot/arm/at91/libat91/ |
H A D | emac.h | 83 unsigned char ip_dst[4]; member in struct:__anon6283
|
/freebsd-10-stable/sys/net/ |
H A D | if_stf.c | 356 if (bcmp(GET_V4(&ia6->ia_addr.sin6_addr), &ip.ip_dst, 357 sizeof(ip.ip_dst)) != 0) { 510 bcopy(&in4, &ip->ip_dst, sizeof(ip->ip_dst)); 530 bcmp(&dst4->sin_addr, &ip->ip_dst, sizeof(ip->ip_dst)) != 0) { 534 bcopy(&ip->ip_dst, &dst4->sin_addr, sizeof(dst4->sin_addr)); 713 if (stf_checkaddr4(sc, &ip->ip_dst, NULL) < 0 ||
|
/freebsd-10-stable/contrib/traceroute/ |
H A D | rip_output.c | 61 ip->ip_dst = ((struct sockaddr_in *)&rp->rcb_faddr)->sin_addr;
|
/freebsd-10-stable/sys/netpfil/pf/ |
H A D | in4_cksum.c | 108 u.ipov.ih_dst = mtod(m, struct ip *)->ip_dst;
|
/freebsd-10-stable/cddl/lib/libdtrace/ |
H A D | ip.d | 236 inet_ntoa(&((struct ip *)p)->ip_dst.s_addr) : 264 ipv4_dst = p == NULL ? 0 : (ipaddr_t)ntohl(p->ip_dst.s_addr); 266 ipv4_daddr = p == NULL ? 0 : inet_ntoa(&p->ip_dst.s_addr);
|
/freebsd-10-stable/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-10-stable/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);
|