Searched refs:ip_dst (Results 1 - 25 of 65) sorted by relevance

123

/macosx-10.10/network_cmds-457/alias/
H A Dalias.c378 link = FindIcmpIn(pip->ip_src, pip->ip_dst, ic->icmp_id, 1);
401 (u_short *) &pip->ip_dst,
403 pip->ip_dst = original_address;
432 link = FindUdpTcpIn(ip->ip_dst, ip->ip_src,
436 link = FindUdpTcpIn(ip->ip_dst, ip->ip_src,
441 link = FindIcmpIn(ip->ip_dst, ip->ip_src, ic2->icmp_id, 0);
473 (u_short *) &pip->ip_dst,
475 pip->ip_dst = original_address;
506 (u_short *) &pip->ip_dst,
508 pip->ip_dst
[all...]
H A Dalias_pptp.c346 link = FindPptpOutByPeerCallId(pip->ip_src, pip->ip_dst, gr->gh_call_id);
374 link = FindPptpInByPeerCallId(pip->ip_src, pip->ip_dst, gr->gh_call_id);
384 (u_short *)&pip->ip_dst,
386 pip->ip_dst = src_addr;
H A Dalias_cuseeme.c124 alias_addr.s_addr = pip->ip_dst.s_addr;
H A Dalias_util.c144 ptr = (u_short *) &(pip->ip_dst);
/macosx-10.10/network_cmds-457/natd.tproj/
H A Dicmp.c123 swap = ip->ip_dst;
124 ip->ip_dst = ip->ip_src;
130 addr.sin_addr = ip->ip_dst;
/macosx-10.10/tcpdump-61/tcpdump/
H A Dprint-icmp.c370 TCHECK(dp->icmp_ip.ip_dst);
377 ipaddr_string(&dp->icmp_ip.ip_dst),
393 ipaddr_string(&oip->ip_dst),
400 ipaddr_string(&oip->ip_dst),
407 ipaddr_string(&oip->ip_dst),
421 ipaddr_string(&dp->icmp_ip.ip_dst), mtu);
425 ipaddr_string(&dp->icmp_ip.ip_dst));
434 ipaddr_string(&dp->icmp_ip.ip_dst));
440 TCHECK(dp->icmp_ip.ip_dst);
444 ipaddr_string(&dp->icmp_ip.ip_dst),
[all...]
H A Dip.h64 struct in_addr ip_src,ip_dst; /* source and dest address */ member in struct:ip
H A Dprint-tcp.c178 ipaddr_string(&ip->ip_dst));
242 ipaddr_string(&ip->ip_dst),
329 dst = &ip->ip_dst;
333 if (memcmp(src, dst, sizeof ip->ip_dst) > 0)
337 memcpy(&tha.src, dst, sizeof ip->ip_dst);
341 memcpy(&tha.dst, dst, sizeof ip->ip_dst);
349 dst = &ip->ip_dst;
353 if (memcmp(src, dst, sizeof ip->ip_dst) > 0)
357 memcpy(&tha.src, dst, sizeof ip->ip_dst);
361 memcpy(&tha.dst, dst, sizeof ip->ip_dst);
[all...]
H A Dprint-ip.c128 memcpy(&retval, &ip->ip_dst.s_addr, sizeof(u_int32_t));
154 memcpy(&ph.dst, &ip->ip_dst.s_addr, sizeof(u_int32_t));
469 ipaddr_string(&ipds->ip->ip_dst));
475 ipaddr_string(&ipds->ip->ip_dst));
656 ipaddr_string(&ipds->ip->ip_dst));
670 ipaddr_string(&ipds->ip->ip_dst));
H A Dprint-sunrpc.c113 ipaddr_string(&ip->ip_dst), dstid, length);
/macosx-10.10/ppp-786.1.1/Family/
H A Dppp_if.h77 struct in_addr ip_dst; member in struct:ppp_if
H A Dppp_ip.c196 wan->ip_dst.s_addr = dstaddr.sin_addr.s_addr;
285 return (memcmp(&ip->ip_src.s_addr, &wan->ip_dst.s_addr, sizeof(struct in_addr)) == 0 ? 0 : 1);
299 if (!memcmp(&ip->ip_dst.s_addr, &wan->ip_src.s_addr, sizeof(struct in_addr)) && ip->ip_p == IPPROTO_UDP) {
323 if (!memcmp(&ip->ip_dst.s_addr, &val4, sizeof(struct in_addr)) && ip->ip_p == IPPROTO_UDP) {
H A Dslcompress.c213 ip->ip_dst.s_addr != cs->cs_ip.ip_dst.s_addr ||
234 && ip->ip_dst.s_addr == cs->cs_ip.ip_dst.s_addr
/macosx-10.10/xnu-2782.1.97/bsd/dev/dtrace/scripts/
H A Dip.d83 ip_daddr = (ip != NULL) ? inet_ntoa((uint32_t *)&ip->ip_dst.s_addr) : "<null>";
112 inet_ntoa((uint32_t *)&((struct ip*)i)->ip_dst.s_addr) : ((((*(uint8_t *)i) >> 4) == 6) ?
180 ipv4_dst = (ip != NULL) ? ip->ip_dst.s_addr : 0;
182 ipv4_daddr = (ip != NULL) ? inet_ntoa((uint32_t *)&ip->ip_dst.s_addr) : "<null>";
/macosx-10.10/xnu-2782.1.97/bsd/net/
H A Dif_stf.c430 if (bcmp(GET_V4(&ia6->ia_addr.sin6_addr), &ip.ip_dst,
431 sizeof(ip.ip_dst)) != 0) {
598 bcopy(in4, &ip->ip_dst, sizeof(ip->ip_dst));
610 bcmp(&dst4->sin_addr, &ip->ip_dst, sizeof(ip->ip_dst)) != 0) {
615 bcopy(&ip->ip_dst, &dst4->sin_addr, sizeof(dst4->sin_addr));
778 if (stf_checkaddr4(sc, &ip->ip_dst, NULL) < 0 ||
/macosx-10.10/xnu-2782.1.97/bsd/netinet/
H A Dip_icmp.c342 inet_ntop(AF_INET, &ip->ip_dst, ipv4str, sizeof(ipv4str)),
463 if (IN_MULTICAST(ntohl(icp->icmp_ip.ip_dst.s_addr)))
469 icmpsrc.sin_addr = icp->icmp_ip.ip_dst;
532 switch (ip->ip_dst.s_addr) {
540 icmpdst.sin_addr = ip->ip_dst;
575 dst = ntohl(icp->icmp_ip.ip_dst.s_addr);
609 inet_ntop(AF_INET, &icp->icmp_ip.ip_dst, buf, sizeof(buf)),
614 icmpsrc.sin_addr = icp->icmp_ip.ip_dst;
665 t = ip->ip_dst;
666 ip->ip_dst
[all...]
H A Dip_input.c769 KERNEL_DEBUG(DBG_LAYER_BEG, ip->ip_dst.s_addr, ip->ip_src.s_addr,
791 if ((ntohl(ip->ip_dst.s_addr) >> IN_CLASSA_NSHIFT) == IN_LOOPBACKNET ||
814 if ((IN_LINKLOCAL(ntohl(ip->ip_dst.s_addr)) ||
1034 ip->ip_dst : args.fwa_next_hop->sin_addr;
1036 pkt_dst = ip->ip_dst;
1109 if (IN_MULTICAST(ntohl(ip->ip_dst.s_addr))) {
1116 IN_LOOKUP_MULTI(&ip->ip_dst, inifp, inm);
1127 if (ip->ip_dst.s_addr == (u_int32_t)INADDR_BROADCAST ||
1128 ip->ip_dst.s_addr == INADDR_ANY) {
1278 KERNEL_DEBUG(DBG_LAYER_END, ip->ip_dst
[all...]
H A Dip.h105 struct in_addr ip_src,ip_dst; /* source and dest address */ member in struct:ip
H A Dudp_usrreq.c356 ip->ip_src.s_addr, ip->ip_dst.s_addr, uh->uh_ulen);
384 isbroadcast = in_broadcast(ip->ip_dst, ifp);
386 if (IN_MULTICAST(ntohl(ip->ip_dst.s_addr)) || isbroadcast) {
438 (ntohl(ip->ip_dst.s_addr) !=
460 ip->ip_dst.s_addr) {
474 if (isbroadcast == 0 && (ntohl(ip->ip_dst.s_addr) !=
488 group.sin_addr = ip->ip_dst;
512 if (!necp_socket_is_allowed_to_send_recv_v4(inp, uh->uh_dport, uh->uh_sport, &ip->ip_dst, &ip->ip_src, ifp, NULL)) {
633 ip->ip_dst, uh->uh_dport, 1, ifp);
645 &ip->ip_dst, bu
[all...]
H A Din_gif.c170 iphdr.ip_dst = sin_dst->sin_addr;
342 if (src->sin_addr.s_addr == ip.ip_dst.s_addr)
H A Dtcp_lro.c136 *hash = LRO_HASH(ip_hdr->ip_src.s_addr, ip_hdr->ip_dst.s_addr,
151 (flow->lr_laddr.s_addr == ip_hdr->ip_dst.s_addr) &&
212 flow->lr_laddr.s_addr = ip_hdr->ip_dst.s_addr;
774 hash = LRO_HASH(ip_hdr->ip_src.s_addr, ip_hdr->ip_dst.s_addr,
784 (lf->lr_laddr.s_addr == ip_hdr->ip_dst.s_addr) &&
809 __func__, ip_hdr->ip_src.s_addr, ip_hdr->ip_dst.s_addr,
H A Draw_ip.c224 inp->inp_laddr.s_addr != ip->ip_dst.s_addr)
237 if (n && !necp_socket_is_allowed_to_send_recv_v4(last, 0, 0, &ip->ip_dst, &ip->ip_src, ifp, NULL)) {
289 if (last && !necp_socket_is_allowed_to_send_recv_v4(last, 0, 0, &ip->ip_dst, &ip->ip_src, ifp, NULL)) {
414 ip->ip_dst.s_addr = dst;
444 if (!necp_socket_is_allowed_to_send_recv_v4(inp, 0, 0, &ip->ip_src, &ip->ip_dst, NULL, &policy_id)) {
/macosx-10.10/xnu-2782.1.97/bsd/netinet6/
H A Dah_output.c209 (u_int32_t)ntohl(ip->ip_dst.s_addr),
340 dst.s_addr = ip->ip_dst.s_addr;
341 ip->ip_dst.s_addr = finaldst->s_addr;
360 ip->ip_dst.s_addr = dst.s_addr;
H A Dipsec.c1290 bcopy(&ip->ip_dst, &sin->sin_addr, sizeof(ip->ip_dst));
2348 &ip->ip_dst, sizeof(ip->ip_dst));
2437 &ip->ip_dst, sizeof(ip->ip_dst));
2606 &ip->ip_dst, sizeof(ip->ip_dst));
2897 d = (u_int8_t *)(&ip->ip_dst);
3084 dst4->sin_addr.s_addr != ip->ip_dst
[all...]
/macosx-10.10/ppp-786.1.1/Drivers/PPTP/PPTP-extension/
H A Dpptp_ip.c144 ip->ip_dst.s_addr = to;

Completed in 330 milliseconds

123