Searched refs:ip_src (Results 1 - 25 of 40) sorted by relevance

12

/illumos-gate/usr/src/uts/common/inet/ipf/netinet/
H A Dip_netbios_pxy.c133 dgmbuf[0] = (char)((ip->ip_src.s_addr ) &0xFF);
134 dgmbuf[1] = (char)((ip->ip_src.s_addr >> 8) &0xFF);
135 dgmbuf[2] = (char)((ip->ip_src.s_addr >> 16)&0xFF);
136 dgmbuf[3] = (char)((ip->ip_src.s_addr >> 24)&0xFF);
H A Dip_rcmd_pxy.c205 swip = ip->ip_src;
210 ip->ip_src = nat->nat_inip;
213 ip->ip_src = nat->nat_oip;
230 ip->ip_src = swip;
H A Dip_h323_pxy.c195 ipaddr = ip->ip_src.s_addr;
291 ip->ip_src, ip->ip_dst);
299 newip.ip_src = nat->nat_inip;
322 bcopy((caddr_t)&ip->ip_src.s_addr,
H A Dip_irc_pxy.c328 a1 = ntohl(ip->ip_src.s_addr);
431 swip = ip->ip_src;
432 ip->ip_src = nat->nat_inip;
441 ip->ip_src = swip;
H A Dip_raudio_pxy.c294 swa = ip->ip_src;
298 ip->ip_src = nat->nat_inip;
353 ip->ip_src = swa;
H A Dip_ftp_pxy.c294 a1 = ntohl(ip->ip_src.s_addr);
379 swip = ip->ip_src;
383 ip->ip_src = nat->nat_inip;
386 ip->ip_src = nat->nat_oip;
405 ip->ip_src = swip;
737 swip = ip->ip_src;
743 ip->ip_src = nat->nat_inip;
747 ip->ip_src = nat->nat_oip;
768 ip->ip_src = swip;
1491 ip->ip_src
[all...]
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dipft_td.c127 (void) inet_aton(src, &ip->ip_src);
138 (void) inet_aton(src, &ip->ip_src);
H A Dipft_ef.c119 (void) inet_aton(src, &ip->ip_src);
H A Dprintpacket.c56 printf(" %s", inet_ntoa(ip->ip_src));
H A Dipft_tx.c266 ip->ip_src.s_addr = tx_hostnum(*cpp, &r);
/illumos-gate/usr/src/boot/sys/boot/arm/at91/libat91/
H A Demac.h82 unsigned char ip_src[4]; member in struct:__anon117
/illumos-gate/usr/src/uts/common/io/mac/plugins/
H A Dmac_ipv4.c171 bcopy(saddr, &(iphp->ip_src), sizeof (struct in_addr));
199 hdr_info->mhi_saddr = (const uint8_t *)&(iphp->ip_src);
/illumos-gate/usr/src/uts/common/io/myri10ge/drv/
H A Dmyri10ge_lro.c112 tcp_csum += myri10ge_in_pseudo(ip->ip_src.s_addr,
213 tmp_csum = csum + myri10ge_in_pseudo(ip->ip_src.s_addr,
228 lro->source_ip == ip->ip_src.s_addr &&
325 lro->source_ip = ip->ip_src.s_addr;
/illumos-gate/usr/src/boot/lib/libstand/
H A Dudp.c95 ip->ip_src = d->myip;
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))
H A Drpc.c286 n_long ip_src; member in struct:hackhdr
298 addr->s_addr = hhdr->ip_src;
/illumos-gate/usr/src/uts/common/netinet/
H A Dip.h57 struct in_addr ip_src, ip_dst; /* source and dest address */ member in struct:ip
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/
H A Dvjcompress.c204 if (ip->ip_src.s_addr != cs->cs_ip.ip_src.s_addr ||
228 if (ip->ip_src.s_addr == cs->cs_ip.ip_src.s_addr &&
/illumos-gate/usr/src/boot/include/netinet/
H A Dip.h69 struct in_addr ip_src,ip_dst; /* source and dest address */ member in struct:ip
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ip.c124 src_name = addrtoname(AF_INET, &ip->ip_src);
145 inet_ntoa(ip->ip_src),
216 inet_ntoa(ip->ip_src), addrtoname(AF_INET, &ip->ip_src));
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_util.c993 uint8_t *ip_src = (uint8_t *)&(iphp->ipha_src); local
996 hash ^= (PKT_HASH_4BYTES(ip_src) ^
1035 uint8_t *ip_src = &(ip6hp->ip6_src.s6_addr8[12]); local
1038 hash ^= (PKT_HASH_4BYTES(ip_src) ^
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping_aux.c465 pr_name((char *)&ip->ip_src, AF_INET));
723 pr_name((char *)&ip->ip_src, AF_INET));
784 pr_name((char *)&ip->ip_src, AF_INET));
825 pr_name((char *)&ip->ip_src, AF_INET));
/illumos-gate/usr/src/stand/lib/tcp/
H A Dtcp.c1202 tcp->tcp_ipha->ip_src.s_addr = tcp->tcp_bound_source;
1316 tcp->tcp_ipha->ip_src.s_addr = tcp->tcp_bound_source;
1322 if (dstaddr == tcp->tcp_ipha->ip_src.s_addr &&
1489 acceptor->tcp_ipha->ip_dst = ipha->ip_src;
1490 acceptor->tcp_remote = ipha->ip_src.s_addr;
1491 acceptor->tcp_ipha->ip_src = ipha->ip_dst;
1645 if (IN_CLASSD(ntohl(ipha->ip_src.s_addr)) ||
1646 ipha->ip_src.s_addr == INADDR_BROADCAST ||
1647 ipha->ip_src.s_addr == INADDR_ANY ||
1839 iph->ip_src
[all...]
/illumos-gate/usr/src/uts/common/sys/nxge/
H A Dnxge_fflp_hw.h1159 uint32_t ip_src; /* 63 : 32 */ member in struct:tcam_ipv4
1163 uint32_t ip_src; /* 63 : 32 */
1273 #define ip4_src_key key.ipv4_e.ip_src
1282 #define ip4_src_mask mask.ipv4_e.ip_src
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_fil_solaris.c1163 ip->ip_src.s_addr = fin->fin_daddr;
1402 ip->ip_src = dst4;
2402 tmp_src = fin->fin_ip->ip_src;
2403 fin->fin_ip->ip_src = fin->fin_ip->ip_dst;
2582 tmp_src = fin->fin_ip->ip_src;
2583 fin->fin_ip->ip_src = fin->fin_ip->ip_dst;
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipmon.c1117 s = (u_32_t *)&ip->ip_src;
1194 HOSTNAME_V4(res, ipc->ip_src),
1209 HOSTNAME_V4(res, ipc->ip_src));
1219 HOSTNAME_V4(res, ipc->ip_src));

Completed in 649 milliseconds

12