Searched refs:ipsrc (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/stand/lib/inet/ |
H A D | icmp4.c | 58 struct in_addr ipsrc) in icmp4() argument 68 inet_ntoa(ipsrc)); in icmp4() 78 inet_ntoa(ipsrc)); in icmp4() 83 inet_ntoa(ipsrc)); in icmp4() 126 dest.sin_addr.s_addr = ipsrc.s_addr; in icmp4() 135 "received from %s\n", icmphp->icmp_type, inet_ntoa(ipsrc)); in icmp4()
|
H A D | ipv4.c | 583 make_trans_datagram(int index, struct inetgram *igp, struct in_addr ipsrc, in make_trans_datagram() argument 628 ngp->igm_saddr.sin_addr.s_addr = ipsrc.s_addr; in make_trans_datagram() 696 struct in_addr ipdst, ipsrc; in ipv4_input() local 742 bcopy((caddr_t)&(iphp->ip_src), (caddr_t)&ipsrc, in ipv4_input() 743 sizeof (ipsrc)); in ipv4_input() 770 icmp4(igp, iphp, iphlen, ipsrc); in ipv4_input() 824 "(from %s)\n", index, inet_ntoa(ipsrc)); in ipv4_input() 838 inet_ntoa(ipsrc)); in ipv4_input() 876 ipsrc, ipdst, iphlen); in ipv4_input() 926 newgp = make_trans_datagram(index, NULL, ipsrc, ipdst, iphlen); in ipv4_input()
|