Lines Matching refs:sin_addr
1885 if (sin->sin_addr.s_addr == 0) {
1890 (IN4_ISPRIVATE_ADDRESS(&sin->sin_addr))) {
1993 ipv4p->addr = sin->sin_addr.s_addr;
2066 &sctp_ifap->address.sin.sin_addr) != 0)) {
2109 &sctp_ifap->address.sin.sin_addr) != 0)) {
2484 &sctp_ifa->address.sin.sin_addr) != 0)) {
2622 &sctp_ifa->address.sin.sin_addr) != 0)) {
2656 &sctp_ifa->address.sin.sin_addr) != 0)) {
2793 &ifa->address.sin.sin_addr) != 0)) {
2902 &ifa->address.sin.sin_addr) != 0)) {
3110 &sctp_ifa->address.sin.sin_addr) != 0)) {
3174 &sctp_ifa->address.sin.sin_addr) != 0)) {
3240 &sctp_ifa->address.sin.sin_addr) != 0)) {
3283 (IN4_ISPRIVATE_ADDRESS(&(tmp_sifa->address.sin.sin_addr)))) {
3392 if (IN4_ISLOOPBACK_ADDRESS(&to->sin_addr)) {
3398 } else if ((IN4_ISPRIVATE_ADDRESS(&to->sin_addr))) {
3661 m_copydata(control, cmsg_data_off, sizeof(struct in_addr), (caddr_t)&sin.sin_addr);
3662 if ((sin.sin_addr.s_addr == INADDR_ANY) ||
3663 (sin.sin_addr.s_addr == INADDR_BROADCAST) ||
3664 IN_MULTICAST(ntohl(sin.sin_addr.s_addr))) {
3694 if ((sin.sin_addr.s_addr == INADDR_ANY) ||
3695 (sin.sin_addr.s_addr == INADDR_BROADCAST) ||
3696 IN_MULTICAST(ntohl(sin.sin_addr.s_addr))) {
3774 m_copydata(control, cmsg_data_off, sizeof(struct in_addr), (caddr_t)&sin.sin_addr);
4098 ip->ip_dst.s_addr = ((struct sockaddr_in *)to)->sin_addr.s_addr;
4123 ip->ip_src = net->ro._s_addr->address.sin.sin_addr;
4138 ip->ip_src = _lsrc->address.sin.sin_addr;
4141 ip->ip_src = over_addr->sin.sin_addr;
5304 if (sa4->sin_addr.s_addr == src4->sin_addr.s_addr) {
5368 sin4.sin_addr.s_addr = p4->addr;
5413 if (sa4->sin_addr.s_addr ==
5414 sin4.sin_addr.s_addr) {
5617 stc.address[0] = src4->sin_addr.s_addr;
5623 stc.laddress[0] = dst4->sin_addr.s_addr;
5630 if ((IN4_ISPRIVATE_ADDRESS(&src4->sin_addr)) ||
5631 (IN4_ISPRIVATE_ADDRESS(&dst4->sin_addr))) {
5732 stc.address[0] = sin->sin_addr.s_addr;
5753 stc.laddress[0] = net->ro._s_addr->address.sin.sin_addr.s_addr;
11095 ip->ip_src.s_addr = dst_sin->sin_addr.s_addr;
11096 ip->ip_dst.s_addr = src_sin->sin_addr.s_addr;
11336 &net->ro._l_addr.sin.sin_addr,
11337 sizeof(net->ro._l_addr.sin.sin_addr));
13827 srcnetaddr.s_addr = (sin->sin_addr.s_addr & mask->sin_addr.s_addr);
13833 gwnetaddr.s_addr = (sin->sin_addr.s_addr & mask->sin_addr.s_addr);