/freebsd-9.3-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-9.3-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-9.3-release/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)); 655 ipaddr_string(&ipds->ip->ip_dst)); 669 ipaddr_string(&ipds->ip->ip_dst));
|
/freebsd-9.3-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-9.3-release/sys/netinet/ |
H A D | ip_fastfwd.c | 275 if ((ntohl(ip->ip_dst.s_addr) >> IN_CLASSA_NSHIFT) == IN_LOOPBACKNET || 320 ntohl(ip->ip_dst.s_addr) == (u_long)INADDR_BROADCAST || 322 IN_MULTICAST(ntohl(ip->ip_dst.s_addr)) || 324 IN_LINKLOCAL(ntohl(ip->ip_dst.s_addr)) || 326 ip->ip_dst.s_addr == INADDR_ANY ) 332 if (in_localip(ip->ip_dst)) 347 odest.s_addr = dest.s_addr = ip->ip_dst.s_addr; 364 dest.s_addr = ip->ip_dst.s_addr; 450 dest.s_addr = ip->ip_dst.s_addr;
|
H A D | ip_input.c | 433 if ((ntohl(ip->ip_dst.s_addr) >> IN_CLASSA_NSHIFT) == IN_LOOPBACKNET || 509 odst = ip->ip_dst; 516 dchg = (odst.s_addr != ip->ip_dst.s_addr); 590 LIST_FOREACH(ia, INADDR_HASH(ip->ip_dst.s_addr), ia_hash) { 596 if (IA_SIN(ia)->sin_addr.s_addr == ip->ip_dst.s_addr && 620 ip->ip_dst.s_addr) { 637 if (IN_LINKLOCAL(ntohl(ip->ip_dst.s_addr))) { 642 if (IN_MULTICAST(ntohl(ip->ip_dst.s_addr))) { 674 if (ip->ip_dst.s_addr == (u_long)INADDR_BROADCAST) 676 if (ip->ip_dst [all...] |
H A D | ip_icmp.c | 378 buf, inet_ntoa(ip->ip_dst), icmplen); 507 if (IN_MULTICAST(ntohl(icp->icmp_ip.ip_dst.s_addr))) 513 icmpsrc.sin_addr = icp->icmp_ip.ip_dst; 567 switch (ip->ip_dst.s_addr) { 575 icmpdst.sin_addr = ip->ip_dst; 609 dst = ntohl(icp->icmp_ip.ip_dst.s_addr); 645 strcpy(buf, inet_ntoa(icp->icmp_ip.ip_dst)); 651 icmpsrc.sin_addr = icp->icmp_ip.ip_dst; 710 t = ip->ip_dst; 711 ip->ip_dst [all...] |
H A D | ip_output.c | 212 dst->sin_addr.s_addr != ip->ip_dst.s_addr)) { 221 dst->sin_addr = ip->ip_dst; 236 ip->ip_dst.s_addr = INADDR_BROADCAST; 237 dst->sin_addr = ip->ip_dst; 251 } else if (IN_MULTICAST(ntohl(ip->ip_dst.s_addr)) && 269 ntohl(ip->ip_src.s_addr ^ ip->ip_dst.s_addr), 325 if (IN_MULTICAST(ntohl(ip->ip_dst.s_addr))) { 503 odst.s_addr = ip->ip_dst.s_addr; 511 if (odst.s_addr != ip->ip_dst.s_addr) { 514 if (in_localip(ip->ip_dst)) { [all...] |
H A D | ip_options.c | 115 dst = ip->ip_dst; 162 ipaddr.sin_addr = ip->ip_dst; 200 strcpy(buf, inet_ntoa(ip->ip_dst)); 240 ip->ip_dst = ipaddr.sin_addr; 248 forward = !IN_MULTICAST(ntohl(ip->ip_dst.s_addr)); 270 (void)memcpy(&ipaddr.sin_addr, &ip->ip_dst, 502 ip->ip_dst = p->ipopt_dst;
|
/freebsd-9.3-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-9.3-release/contrib/ipfilter/lib/ |
H A D | ipft_td.c | 135 (void) inet_aton(src, &ip->ip_dst); 141 (void) inet_aton(src, &ip->ip_dst);
|
H A D | printpacket.c | 65 printf("%s", inet_ntoa(ip->ip_dst));
|
/freebsd-9.3-release/sys/boot/arm/at91/libat91/ |
H A D | emac.h | 83 unsigned char ip_dst[4]; member in struct:__anon5589
|
/freebsd-9.3-release/sys/net/ |
H A D | if_stf.c | 355 if (bcmp(GET_V4(&ia6->ia_addr.sin6_addr), &ip.ip_dst, 356 sizeof(ip.ip_dst)) != 0) { 528 bcopy(&in4, &ip->ip_dst, sizeof(ip->ip_dst)); 548 bcmp(&dst4->sin_addr, &ip->ip_dst, sizeof(ip->ip_dst)) != 0) { 552 bcopy(&ip->ip_dst, &dst4->sin_addr, sizeof(dst4->sin_addr)); 734 if (stf_checkaddr4(sc, &ip->ip_dst, NULL) < 0 ||
|
H A D | if_gre.h | 106 #define gi_dst gi_i.ip_dst
|
/freebsd-9.3-release/contrib/traceroute/ |
H A D | rip_output.c | 61 ip->ip_dst = ((struct sockaddr_in *)&rp->rcb_faddr)->sin_addr;
|
/freebsd-9.3-release/sys/contrib/pf/netinet/ |
H A D | in4_cksum.c | 108 u.ipov.ih_dst = mtod(m, struct ip *)->ip_dst;
|
/freebsd-9.3-release/sys/contrib/ipfilter/netinet/ |
H A D | ip_rcmd_pxy.c | 187 swip2 = ip->ip_dst; 206 ip->ip_dst = nat->nat_inip; 214 ip->ip_dst = swip2;
|
H A D | ip_raudio_pxy.c | 272 swb = ip->ip_dst; 276 ip->ip_dst = nat->nat_oip; 337 ip->ip_dst = swb;
|
/freebsd-9.3-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);
|