Searched refs:ip_dst (Results 26 - 50 of 160) sorted by relevance

1234567

/freebsd-11-stable/sys/contrib/ipfilter/netinet/
H A Dip_raudio_pxy.c275 swb = ip->ip_dst;
279 ip->ip_dst = nat->nat_odstip;
343 ip->ip_dst = swb;
H A Dip_tftp_pxy.c342 sw2ip = ip->ip_dst;
344 ip->ip_dst = nat->nat_nsrcip;
382 ip->ip_dst = nat->nat_nsrcip;
394 ip->ip_dst = nat->nat_osrcip;
409 ip->ip_dst = sw2ip;
/freebsd-11-stable/contrib/ipfilter/lib/
H A Dprintpacket.c84 PRINTF("%s", inet_ntoa(ip->ip_dst));
/freebsd-11-stable/sys/netinet/libalias/
H A Dalias_util.c134 ptr = (void *)&pip->ip_dst;
H A Dalias_cuseeme.c210 alias_addr.s_addr = pip->ip_dst.s_addr;
H A Dalias_sctp.c775 &(assoc->l_addr), &(msg.ip_hdr->ip_dst), 2);
776 msg.ip_hdr->ip_dst = assoc->l_addr; /* change dst address to local address*/
964 ip->ip_dst = (direction == SN_TO_LOCAL) ? assoc->l_addr : sm->ip_hdr->ip_dst;
968 ip->ip_src = sm->ip_hdr->ip_dst;
969 ip->ip_dst = sm->ip_hdr->ip_src;
987 inet_ntoa_r(ip->ip_dst, INET_NTOA_BUF(addrbuf)),
1077 *passoc = FindSctpLocalT(la, pip->ip_dst, sctp_hdr->v_tag, sctp_hdr->dest_port, sctp_hdr->src_port);
1083 *passoc = FindSctpLocal(la, pip->ip_src, pip->ip_dst, sctp_hdr->v_tag, sctp_hdr->src_port, sctp_hdr->dest_port);
1321 g_addr = sm->ip_hdr->ip_dst;
[all...]
/freebsd-11-stable/usr.sbin/ppp/
H A Dslcompress.c199 ip->ip_dst.s_addr != cs->cs_ip.ip_dst.s_addr ||
220 && ip->ip_dst.s_addr == cs->cs_ip.ip_dst.s_addr
/freebsd-11-stable/contrib/tcpdump/
H A Dprint-sunrpc.c194 ipaddr_string(ndo, &ip->ip_dst), dstid, length));
/freebsd-11-stable/sys/net/
H A Dslcompress.c186 ip->ip_dst.s_addr != cs->cs_ip.ip_dst.s_addr ||
207 && ip->ip_dst.s_addr == cs->cs_ip.ip_dst.s_addr
H A Dif_stf.c350 if (bcmp(GET_V4(&addr6), &ip.ip_dst, sizeof(ip.ip_dst)) != 0)
502 bcopy(&in4, &ip->ip_dst, sizeof(ip->ip_dst));
650 if (stf_checkaddr4(sc, &ip->ip_dst, NULL) < 0 ||
H A Dif_me.c345 if (sc->me_src.s_addr == ip->ip_dst.s_addr &&
462 ip->ip_dst = mh->mob_dst;
587 mh.mob_dst = ip->ip_dst;
604 ip->ip_dst = sc->me_dst;
/freebsd-11-stable/sys/dev/ixgbe/
H A Dif_fdir.c134 common.ip ^= ip->ip_src.s_addr ^ ip->ip_dst.s_addr;
/freebsd-11-stable/sys/netinet/
H A Dip.h69 struct in_addr ip_src,ip_dst; /* source and dest address */ member in struct:ip
H A Din_gif.c181 if (sc->gif_iphdr->ip_src.s_addr != ip->ip_dst.s_addr)
184 if (sc->gif_iphdr->ip_dst.s_addr != ip->ip_src.s_addr) {
H A Dip_reass.c247 hashkey[1] = ip->ip_dst.s_addr;
262 ip->ip_dst.s_addr == fp->ipq_dst.s_addr &&
294 fp->ipq_dst = ip->ip_dst;
475 ip->ip_dst = fp->ipq_dst;
H A Dudp_usrreq.c480 ip->ip_dst.s_addr, htonl((u_short)len +
510 if (IN_MULTICAST(ntohl(ip->ip_dst.s_addr)) ||
511 in_broadcast(ip->ip_dst, ifp)) {
527 inp->inp_laddr.s_addr != ip->ip_dst.s_addr)
550 if (IN_MULTICAST(ntohl(ip->ip_dst.s_addr))) {
560 group.sin_addr = ip->ip_dst;
640 ip->ip_dst, uh->uh_dport, INPLOOKUP_RLOCKPCB, ifp, m);
658 ip->ip_dst, uh->uh_dport, INPLOOKUP_WILDCARD |
667 inet_ntoa_r(ip->ip_dst, dst), ntohs(uh->uh_dport),
/freebsd-11-stable/sys/netipsec/
H A Dudpencap.c152 dst.sin.sin_addr = ip->ip_dst;
284 cksum = in_pseudo(ip->ip_src.s_addr, ip->ip_dst.s_addr,
H A Dsubr_ipsec.c82 m_copydata(m, offsetof(struct ip, ip_dst),
88 dst->sin.sin_addr = ip->ip_dst;
/freebsd-11-stable/sys/netpfil/ipfw/nat64/
H A Dnat64stl.c95 nat64_check_ip4(ip->ip_dst.s_addr) != 0 ||
97 nat64_check_private_ip4(&cfg->base, ip->ip_dst.s_addr) != 0)
H A Dnat64_translate.c161 dst4.sin_addr = ip4->ip_dst;
466 sum += ~ip->ip_dst.s_addr >> 16;
467 sum += ~ip->ip_dst.s_addr & 0xffff;
796 oip->ip_src = ip->ip_dst;
797 oip->ip_dst = ip->ip_src;
999 nat64_check_ip4(ip.ip_dst.s_addr) != 0 ||
1001 nat64_check_private_ip4(cfg, ip.ip_dst.s_addr) != 0) {
1003 ntohl(ip.ip_src.s_addr), ntohl(ip.ip_dst.s_addr));
1052 nat64_embed_ip4(&eip6->ip6_dst, cfg->plat_plen, ip.ip_dst.s_addr);
1480 ip.ip_dst
[all...]
/freebsd-11-stable/contrib/ipfilter/ipsend/
H A Dip.c268 ip2->ip_dst = ip->ip_dst;
312 ti->ti_dst = ip->ip_dst;
H A Dresend.c52 printf(" dst %s", inet_ntoa(ip->ip_dst));
H A Diptests.c1083 sin.sin_addr.s_addr = ip->ip_dst.s_addr;
1094 inet_ntoa(ip->ip_dst));
1246 ip->ip_src = ip->ip_dst;
1371 bcopy((char *)&ip->ip_dst, (char *)&pip->ip_dst,
1387 bcopy((char *)&ip->ip_dst, (char *)&pip->ip_dst,
/freebsd-11-stable/contrib/wpa/src/common/
H A Ddhcp.h26 #define daddr ip_dst
/freebsd-11-stable/sys/kern/
H A Duipc_mbufhash.c125 p = fnv_32_buf(&ip->ip_dst, sizeof(struct in_addr), p);

Completed in 327 milliseconds

1234567