HomeSort by: relevance | last modified time | path
    Searched refs:ip_dst (Results 1 - 25 of 91) sorted by relevancy

1 2 3 4

  /src/tests/net/route/
t_rtcache.sh 55 local ip_dst=10.0.3.1
89 atf_check -s exit:0 rump.ifconfig shmif0 $ip_dst/24 alias
95 atf_check -s exit:0 rump.ifconfig shmif0 $ip_dst/24 alias
100 # It fails because there is no route to $ip_dst
101 atf_check -s not-exit:0 -o ignore rump.ping -n -w 3 -c 1 $ip_dst
106 # Add the default route so that $ip_dst @ dst1 is reachable now
115 atf_check -s not-exit:0 -o ignore rump.ping -n -w 3 -c 1 $ip_dst
119 atf_check -s exit:0 -o match:"$ip_src > $ip_dst: ICMP echo request" \
123 # Teach the subnet of $ip_dst is at dst2
132 atf_check -s not-exit:0 -o ignore rump.ping -n -w 3 -c 1 $ip_dst
    [all...]
  /src/sys/lib/libsa/
ip.c 69 if (ip->ip_dst.s_addr == INADDR_BROADCAST || ip->ip_src.s_addr == 0 ||
70 netmask == 0 || SAMENET(ip->ip_src, ip->ip_dst, netmask)) {
71 ea = arpwhohas(d, ip->ip_dst);
100 ip->ip_dst = d->destip;
163 if (d->myip.s_addr && ip->ip_dst.s_addr != d->myip.s_addr) {
  /src/sys/altq/
altq_flowvalve.h 45 struct in_addr ip_dst; member in struct:fv_flow::__anon0e1301d9010a::__anon0e1301d90208
  /src/sys/netinet/
ip_input.c 332 IN_ADDRHASH_READER_FOREACH(ia, ip->ip_dst.s_addr) {
333 if (in_hosteq(ia->ia_addr.sin_addr, ip->ip_dst)) {
367 if (in_hosteq(ip->ip_dst, ia->ia_broadaddr.sin_addr) ||
368 in_hosteq(ip->ip_dst, ia->ia_netbroadcast) ||
373 ip->ip_dst.s_addr == ia->ia_subnet ||
374 ip->ip_dst.s_addr == ia->ia_net)
489 if ((ntohl(ip->ip_dst.s_addr) >> IN_CLASSA_NSHIFT) == IN_LOOPBACKNET ||
575 struct in_addr odst = ip->ip_dst;
618 srcrt = (odst.s_addr != ip->ip_dst.s_addr);
670 if (IN_MULTICAST(ip->ip_dst.s_addr))
    [all...]
igmp.c 250 if (ip->ip_dst.s_addr != INADDR_ALLHOSTS_GROUP) {
287 if (!IN_MULTICAST(ip->ip_dst.s_addr)) {
309 (ip->ip_dst.s_addr == INADDR_ALLHOSTS_GROUP ||
310 in_hosteq(ip->ip_dst, inm->inm_addr))) {
345 !in_hosteq(igmp->igmp_group, ip->ip_dst)) {
418 !in_hosteq(igmp->igmp_group, ip->ip_dst)) {
619 ip->ip_dst = inm->inm_addr;
ip_icmp.c 385 nip->ip_dst = oip->ip_dst;
535 if (IN_MULTICAST(icp->icmp_ip.ip_dst.s_addr))
538 icmpsrc.sin_addr = icp->icmp_ip.ip_dst;
588 if (ip->ip_dst.s_addr == INADDR_BROADCAST ||
589 in_nullhost(ip->ip_dst))
592 icmpdst.sin_addr = ip->ip_dst;
642 icmpsrc.sin_addr = icp->icmp_ip.ip_dst;
655 IN_PRINT(buf, &icp->icmp_ip.ip_dst), i);
729 t = ip->ip_dst;
    [all...]
ip.h 72 struct in_addr ip_src, ip_dst; /* source and dest address */ member in struct:ip
ip_mroute.c 1311 ntohl(ip->ip_src.s_addr), ntohl(ip->ip_dst.s_addr), ifp);
1341 if (ip->ip_ttl <= 1 || IN_LOCAL_GROUP(ip->ip_dst.s_addr))
1349 rt = mfc_find(&ip->ip_src, &ip->ip_dst);
1376 ntohl(ip->ip_dst.s_addr));
1397 hash = MFCHASH(ip->ip_src, ip->ip_dst);
1400 in_hosteq(ip->ip_dst, rt->mfc_mcastgrp) &&
1462 rt->mfc_mcastgrp = ip->ip_dst;
1790 ip_copy->ip_dst = vifp->v_rmt_addr;
1870 if (!in_hosteq(vifp->v_lcl_addr, ip.ip_dst))
1881 if (!IN_MULTICAST(ip.ip_dst.s_addr)
    [all...]
ip_output.c 295 sockaddr_in_init(&udst.sin, &ip->ip_dst, 0);
305 !in_hosteq(dst->sin_addr, ip->ip_dst)))
346 } else if (((IN_MULTICAST(ip->ip_dst.s_addr) ||
347 ip->ip_dst.s_addr == INADDR_BROADCAST) ||
359 if (IN_MULTICAST(ip->ip_dst.s_addr) ||
360 ip->ip_dst.s_addr == INADDR_BROADCAST) {
410 if (IN_MULTICAST(ip->ip_dst.s_addr) ||
411 (ip->ip_dst.s_addr == INADDR_BROADCAST)) {
414 m->m_flags |= (ip->ip_dst.s_addr == INADDR_BROADCAST) ?
477 inmgroup = in_multi_group(ip->ip_dst, ifp, flags)
    [all...]
in_pcb.h 125 #define in4p_faddr(inpcb) (((struct in4pcb *)(inpcb))->in4p_ip.ip_dst)
127 #define const_in4p_faddr(inpcb) (((const struct in4pcb *)(inpcb))->in4p_ip.ip_dst)
ip_reass.c 268 fp->ipq_dst = ip->ip_dst;
407 ip->ip_dst = fp->ipq_dst;
664 if (!in_hosteq(ip->ip_dst, fp->ipq_dst))
ip_flow.c 123 hash += (ip->ip_dst.s_addr >> (32 - idx)) +
141 if (ip->ip_dst.s_addr == ipf->ipf_dst.s_addr
565 ipf->ipf_dst = ip->ip_dst;
  /src/sys/net/agr/
if_agrether_hash.c 121 hash = HASH(&ip->ip_dst, sizeof(ip->ip_dst), hash);
  /src/sys/arch/mvme68k/stand/sboot/
etherfun.h 85 u_char ip_dst[4]; /* source and dest address */ member in struct:ip
etherfun.c 123 memcpy(iph->ip_dst, servip, sizeof(servip));
  /src/sys/external/bsd/ipf/netinet/
ip_tftp_pxy.c 324 sw2ip = ip->ip_dst;
326 ip->ip_dst = nat->nat_nsrcip;
364 ip->ip_dst = nat->nat_nsrcip;
376 ip->ip_dst = nat->nat_osrcip;
391 ip->ip_dst = sw2ip;
ip_raudio_pxy.c 274 swb = ip->ip_dst;
278 ip->ip_dst = nat->nat_odstip;
342 ip->ip_dst = swb;
  /src/sys/net/
if_stf.c 298 if (memcmp(GET_V4(&ia6->ia_addr.sin6_addr), &ip.ip_dst,
299 sizeof(ip.ip_dst)) != 0)
428 memcpy(&ip->ip_dst, in4, sizeof(ip->ip_dst));
437 sockaddr_in_init(&u.dst4, &ip->ip_dst, 0);
612 if (stf_checkaddr4(sc, &ip->ip_dst, NULL) < 0 ||
slcompress.c 207 ip->ip_dst.s_addr != cs->cs_ip.ip_dst.s_addr ||
227 && ip->ip_dst.s_addr == cs->cs_ip.ip_dst.s_addr
  /src/sys/netmpls/
mpls_ttl.c 308 nip->ip_dst = oip->ip_dst;
344 (ntohl(iph->ip_dst.s_addr) >> IN_CLASSA_NSHIFT) == IN_LOOPBACKNET ||
  /src/sys/dev/pci/ixgbe/
if_fdir.c 140 common.ip ^= ip->ip_src.s_addr ^ ip->ip_dst.s_addr;
  /src/usr.sbin/mrouted/
igmp.c 139 dst = ip->ip_dst.s_addr;
313 ip->ip_dst.s_addr = dst;
  /src/sys/net/npf/
npf_sendpkt.c 143 ip->ip_src.s_addr = oip->ip_dst.s_addr;
144 ip->ip_dst.s_addr = oip->ip_src.s_addr;
npf_socket.c 151 daddr = ip->ip_dst;
158 saddr = ip->ip_dst;
  /src/sys/arch/powerpc/powerpc/
in_cksum.c 262 u.ipov.ih_dst = mtod(m, struct ip *)->ip_dst;

Completed in 21 milliseconds

1 2 3 4