Home
last modified time | relevance | path

Searched refs:igm_saddr (Results 1 – 4 of 4) sorted by relevance

/titanic_50/usr/src/stand/lib/inet/
H A Dudp.c128 if (udp_chksum(udphp, &igp->igm_saddr.sin_addr, in udp_input()
132 inet_ntoa(igp->igm_saddr.sin_addr)); in udp_input()
144 inet_ntoa(igp->igm_saddr.sin_addr)); in udp_input()
184 udphp->uh_dport = ogp->igm_saddr.sin_port; in udp_output()
188 udphp->uh_sport = ogp->igm_saddr.sin_port; in udp_output()
194 &ogp->igm_saddr.sin_addr, sockets[index].proto); in udp_output()
H A Dipv4.c628 ngp->igm_saddr.sin_addr.s_addr = ipsrc.s_addr; in make_trans_datagram()
629 ngp->igm_saddr.sin_port = sockets[index].ports(transp, SOURCE); in make_trans_datagram()
1014 iphp->ip_dst = ogp->igm_saddr.sin_addr; in ipv4_output()
/titanic_50/usr/src/stand/lib/sock/
H A Dsocket.c895 if (*fromlen > sizeof (icp->igm_saddr)) in recvfrom()
896 *fromlen = sizeof (icp->igm_saddr); in recvfrom()
897 bcopy((caddr_t)&(icp->igm_saddr), (caddr_t)from, in recvfrom()
1084 bcopy((caddr_t)to, (caddr_t)&oc.igm_saddr, tolen); in dgram_sendto()
1086 bcopy((caddr_t)&sockets[i].remote, (caddr_t)&oc.igm_saddr, in dgram_sendto()
1092 ntohs(oc.igm_saddr.sin_port == 0)) { in dgram_sendto()
1093 ((struct sockaddr_in *)&oc.igm_saddr)->sin_port = in dgram_sendto()
H A Dsocket_impl.h102 struct sockaddr_in igm_saddr; /* source address info */ member