Lines Matching refs:sin_addr
766 laddr = ((struct sockaddr_in *)lsa)->sin_addr;
768 faddr = ((struct sockaddr_in *)fsa)->sin_addr;
845 laddr.sin_addr = *laddrp;
952 error = prison_local_ip4(cred, &sin->sin_addr);
962 if (IN_MULTICAST(ntohl(sin->sin_addr.s_addr))) {
979 } else if (sin->sin_addr.s_addr != INADDR_ANY) {
991 laddr = sin->sin_addr;
1001 if (!IN_MULTICAST(ntohl(sin->sin_addr.s_addr)) &&
1003 t = in_pcblookup_local(pcbinfo, sin->sin_addr,
1014 (ntohl(sin->sin_addr.s_addr) != INADDR_ANY ||
1031 t = in_pcblookup_local(pcbinfo, sin->sin_addr,
1052 if (ntohl(sin->sin_addr.s_addr) !=
1168 sin->sin_addr.s_addr = faddr->s_addr;
1204 laddr->s_addr = ia->ia_addr.sin_addr.s_addr;
1215 if (prison_check_ip4(cred, &sin->sin_addr) == 0) {
1221 laddr->s_addr = ia->ia_addr.sin_addr.s_addr;
1246 laddr->s_addr = ia->ia_addr.sin_addr.s_addr;
1253 if (prison_check_ip4(cred, &sin->sin_addr) == 0) {
1255 laddr->s_addr = ia->ia_addr.sin_addr.s_addr;
1270 if (prison_check_ip4(cred, &sin->sin_addr) == 0) {
1276 laddr->s_addr = ia->ia_addr.sin_addr.s_addr;
1310 laddr->s_addr = ia->ia_addr.sin_addr.s_addr;
1326 &sin->sin_addr) == 0) {
1332 laddr->s_addr = ia->ia_addr.sin_addr.s_addr;
1393 faddr = sin->sin_addr;
1417 IA_SIN(CK_STAILQ_FIRST(&V_in_ifaddrhead))->sin_addr;
1427 &V_in_ifaddrhead)->ia_broadaddr)->sin_addr;
1451 &ia->ia_addr.sin_addr) == 0))
1457 laddr = ia->ia_addr.sin_addr;
1481 lsin.sin_addr = laddr;
1483 fsin.sin_addr = faddr;
1846 sin->sin_addr = *addr_p;