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

123456

/freebsd-11.0-release/contrib/ipfilter/lib/
H A Dprintiphdr.c19 ntohl(ip->ip_dst.s_addr));
/freebsd-11.0-release/sys/netinet/libalias/
H A Dalias.c280 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 Dalias_pptp.c486 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 Dicmp.c102 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 Dip_fastfwd.c214 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 Dip_input.c500 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 Dip_gre.c116 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 Din_rss.c287 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 Dip_icmp.c386 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 Dip_options.c120 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 Draw_ip.c300 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 Dip_output.c120 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 Dudp.c96 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 Diptest.c155 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 Dipsend.c130 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 Dprint-icmp.c368 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 Dip.h68 struct in_addr ip_src,ip_dst; /* source and dest address */ member in struct:ip
H A Dprint-ip.c128 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 Dprint-sunrpc.c199 ipaddr_string(ndo, &ip->ip_dst), dstid, length));
/freebsd-11.0-release/sys/boot/arm/at91/libat91/
H A Demac.h83 unsigned char ip_dst[4]; member in struct:__anon7327
/freebsd-11.0-release/contrib/traceroute/
H A Drip_output.c61 ip->ip_dst = ((struct sockaddr_in *)&rp->rcb_faddr)->sin_addr;
/freebsd-11.0-release/sys/netpfil/pf/
H A Din4_cksum.c108 u.ipov.ih_dst = mtod(m, struct ip *)->ip_dst;
/freebsd-11.0-release/cddl/lib/libdtrace/
H A Dip.d237 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 Dip_raudio_pxy.c283 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 Ddics.c249 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);

Completed in 272 milliseconds

123456