Home
last modified time | relevance | path

Searched refs:sin_addr (Results 1 – 25 of 45) sorted by relevance

12

/linux-2.4.37.9/net/sctp/
Dprotocol.c160 addr->a.v4.sin_addr.s_addr = ifa->ifa_local; in sctp_v4_copy_addrlist()
274 memcpy(&addr->v4.sin_addr.s_addr, from, sizeof(struct in_addr)); in sctp_v4_from_skb()
282 addr->v4.sin_addr.s_addr = sk->rcv_saddr; in sctp_v4_from_sk()
288 sk->rcv_saddr = addr->v4.sin_addr.s_addr; in sctp_v4_to_sk_saddr()
294 sk->daddr = addr->v4.sin_addr.s_addr; in sctp_v4_to_sk_daddr()
304 addr->v4.sin_addr.s_addr = param->v4.addr.s_addr; in sctp_v4_from_addr_param()
317 param->v4.addr.s_addr = addr->v4.sin_addr.s_addr; in sctp_v4_to_addr_param()
329 saddr->v4.sin_addr.s_addr = rt->rt_src; in sctp_v4_dst_saddr()
340 if (addr1->v4.sin_addr.s_addr != addr2->v4.sin_addr.s_addr) in sctp_v4_cmp_addr()
350 addr->v4.sin_addr.s_addr = INADDR_ANY; in sctp_v4_inaddr_any()
[all …]
Dipv6.c405 addr->v4.sin_addr.s_addr; in sctp_v6_to_sk_saddr()
418 inet6_sk(sk)->daddr.s6_addr32[3] = addr->v4.sin_addr.s_addr; in sctp_v6_to_sk_daddr()
473 addr1->v4.sin_addr.s_addr) in sctp_v6_cmp_addr()
481 addr2->v4.sin_addr.s_addr) in sctp_v6_cmp_addr()
732 addr->v4.sin_addr.s_addr; in sctp_inet6_event_msgname()
/linux-2.4.37.9/net/ipv4/
Ddevinet.c543 && (sin_orig.sin_addr.s_addr == ifa->ifa_address)) { in devinet_ioctl()
565 sin->sin_addr.s_addr = ifa->ifa_local; in devinet_ioctl()
569 sin->sin_addr.s_addr = ifa->ifa_broadcast; in devinet_ioctl()
573 sin->sin_addr.s_addr = ifa->ifa_address; in devinet_ioctl()
577 sin->sin_addr.s_addr = ifa->ifa_mask; in devinet_ioctl()
594 if (inet_abc_len(sin->sin_addr.s_addr) < 0) { in devinet_ioctl()
610 if (ifa->ifa_local == sin->sin_addr.s_addr) in devinet_ioctl()
618 ifa->ifa_local = sin->sin_addr.s_addr; in devinet_ioctl()
633 if (ifa->ifa_broadcast != sin->sin_addr.s_addr) { in devinet_ioctl()
635 ifa->ifa_broadcast = sin->sin_addr.s_addr; in devinet_ioctl()
[all …]
Draw.c357 daddr = usin->sin_addr.s_addr; in raw_sendmsg()
466 chk_addr_ret = inet_addr_type(addr->sin_addr.s_addr); in raw_bind()
468 if (addr->sin_addr.s_addr && chk_addr_ret != RTN_LOCAL && in raw_bind()
471 sk->rcv_saddr = sk->saddr = addr->sin_addr.s_addr; in raw_bind()
522 sin->sin_addr.s_addr = skb->nh.iph->saddr; in raw_recvmsg()
Dip_sockglue.c331 sin->sin_addr.s_addr = *(u32*)(skb->nh.raw + serr->addr_offset); in ip_recv_error()
341 sin->sin_addr.s_addr = skb->nh.iph->saddr; in ip_recv_error()
698 mreq.imr_multiaddr = psin->sin_addr; in ip_setsockopt()
729 mreqs.imr_multiaddr = psin->sin_addr.s_addr; in ip_setsockopt()
731 mreqs.imr_sourceaddr = psin->sin_addr.s_addr; in ip_setsockopt()
744 mreq.imr_multiaddr = psin->sin_addr; in ip_setsockopt()
807 msf->imsf_multiaddr = psin->sin_addr.s_addr; in ip_setsockopt()
817 msf->imsf_slist[i] = psin->sin_addr.s_addr; in ip_setsockopt()
Daf_inet.c488 chk_addr_ret = inet_addr_type(addr->sin_addr.s_addr); in inet_bind()
499 addr->sin_addr.s_addr != INADDR_ANY && in inet_bind()
524 sk->rcv_saddr = sk->saddr = addr->sin_addr.s_addr; in inet_bind()
719 sin->sin_addr.s_addr = sk->daddr; in inet_getname()
725 sin->sin_addr.s_addr = addr; in inet_getname()
Darp.c984 u32 ip = ((struct sockaddr_in *) &r->arp_pa)->sin_addr.s_addr; in arp_req_set()
989 u32 mask = ((struct sockaddr_in *) &r->arp_netmask)->sin_addr.s_addr; in arp_req_set()
1074 u32 ip = ((struct sockaddr_in *) &r->arp_pa)->sin_addr.s_addr; in arp_req_get()
1095 u32 ip = ((struct sockaddr_in *)&r->arp_pa)->sin_addr.s_addr; in arp_req_delete()
1099 u32 mask = ((struct sockaddr_in *) &r->arp_netmask)->sin_addr.s_addr; in arp_req_delete()
1166 ((struct sockaddr_in *)&r.arp_netmask)->sin_addr.s_addr=htonl(0xFFFFFFFFUL); in arp_ioctl()
Dudp.c480 ufh.daddr = usin->sin_addr.s_addr; in udp_sendmsg()
746 sin->sin_addr.s_addr = skb->nh.iph->saddr; in udp_recvmsg()
803 if (MULTICAST(usin->sin_addr.s_addr)) { in udp_connect()
809 err = ip_route_connect(&rt, usin->sin_addr.s_addr, saddr, in udp_connect()
Dfib_semantics.c736 ptr = &((struct sockaddr_in*)&r->rt_dst)->sin_addr.s_addr; in fib_convert_rtentry()
738 u32 mask = ((struct sockaddr_in*)&r->rt_genmask)->sin_addr.s_addr; in fib_convert_rtentry()
806 ptr = &((struct sockaddr_in*)&r->rt_gateway)->sin_addr.s_addr; in fib_convert_rtentry()
/linux-2.4.37.9/fs/lockd/
Dhost.c87 (unsigned)(sin? ntohl(sin->sin_addr.s_addr) : 0), proto, version); in nlm_lookup_host()
92 hash = NLM_ADDRHASH(sin->sin_addr.s_addr); in nlm_lookup_host()
129 addr = sin->sin_addr.s_addr; in nlm_lookup_host()
172 (unsigned)ntohl(host->h_addr.sin_addr.s_addr)); in nlm_bind_host()
Dsvc4proc.c47 ntohl(rqstp->rq_addr.sin_addr.s_addr), in nlm4svc_retrieve_args()
430 if (saddr.sin_addr.s_addr != htonl(INADDR_LOOPBACK) in nlm4svc_proc_sm_notify()
434 ntohl(rqstp->rq_addr.sin_addr.s_addr), in nlm4svc_proc_sm_notify()
442 saddr.sin_addr.s_addr = argp->addr; in nlm4svc_proc_sm_notify()
451 saddr.sin_addr.s_addr = argp->addr; in nlm4svc_proc_sm_notify()
Dsvcproc.c76 ntohl(rqstp->rq_addr.sin_addr.s_addr), in nlmsvc_retrieve_args()
458 if (saddr.sin_addr.s_addr != htonl(INADDR_LOOPBACK) in nlmsvc_proc_sm_notify()
462 ntohl(rqstp->rq_addr.sin_addr.s_addr), in nlmsvc_proc_sm_notify()
470 saddr.sin_addr.s_addr = argp->addr; in nlmsvc_proc_sm_notify()
479 saddr.sin_addr.s_addr = argp->addr; in nlmsvc_proc_sm_notify()
Dmon.c44 args.addr = host->h_addr.sin_addr.s_addr; in nsm_mon_unmon()
110 sin.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in nsm_create()
Dsvclock.c588 NIPQUAD(peer_addr->sin_addr.s_addr)); in nlmsvc_grant_callback()
592 NIPQUAD(peer_addr->sin_addr.s_addr)); in nlmsvc_grant_callback()
628 ntohl(rqstp->rq_addr.sin_addr.s_addr), status); in nlmsvc_grant_reply()
Dsvc.c158 (unsigned)ntohl(rqstp->rq_addr.sin_addr.s_addr)); in lockd()
/linux-2.4.37.9/net/sunrpc/
Dpmap_clnt.c99 NIPQUAD(sin->sin_addr.s_addr), prog, vers, prot); in rpc_getport_external()
101 sprintf(hostname, "%u.%u.%u.%u", NIPQUAD(sin->sin_addr.s_addr)); in rpc_getport_external()
158 sin.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in rpc_register()
Dsvcsock.c546 rqstp->rq_addr.sin_addr.s_addr = skb->nh.iph->saddr; in svc_udp_recvfrom()
730 NIPQUAD(sin.sin_addr.s_addr), ntohs(sin.sin_port)); in svc_tcp_accept()
734 NIPQUAD(sin.sin_addr.s_addr), ntohs(sin.sin_port)); in svc_tcp_accept()
1252 NIPQUAD(sin->sin_addr.s_addr), in svc_create_socket()
1339 sin.sin_addr.s_addr = INADDR_ANY; in svc_makesock()
/linux-2.4.37.9/fs/nfs/
Dmount_clnt.c55 (unsigned)ntohl(addr->sin_addr.s_addr), path); in nfsroot_mount()
57 sprintf(hostname, "%u.%u.%u.%u", NIPQUAD(addr->sin_addr.s_addr)); in nfsroot_mount()
Dnfsroot.c337 sin->sin_addr.s_addr = addr; in set_sockaddr()
/linux-2.4.37.9/include/linux/lockd/
Dlockd.h190 return sin1->sin_addr.s_addr == sin2->sin_addr.s_addr; in nlm_cmp_addr()
/linux-2.4.37.9/net/khttpd/
Dsockets.c61 sin.sin_addr.s_addr = INADDR_ANY; in StartListening()
/linux-2.4.37.9/net/ipv4/ipvs/
Dip_vs_sync.c439 sin.sin_addr.s_addr = addr; in bind_mcastif_addr()
511 (struct in_addr*)&mcast_addr.sin_addr, in make_receive_sock()
755 mcast_addr.sin_addr.s_addr = htonl(IP_VS_SYNC_GROUP); in sync_thread()
/linux-2.4.37.9/include/linux/
Din.h177 struct in_addr sin_addr; /* Internet address */ member
/linux-2.4.37.9/include/net/sctp/
Dsctp.h614 addr->v4.sin_addr.s_addr = addr->v6.sin6_addr.s6_addr32[3]; in sctp_v6_map_v4()
622 addr->v6.sin6_addr.s6_addr32[3] = addr->v4.sin_addr.s_addr; in sctp_v4_map_v6()
/linux-2.4.37.9/arch/sparc/kernel/
Dsys_sunos.c652 local.sin_addr.s_addr = INADDR_ANY; in sunos_nfs_get_server_fd()
666 server.sin_addr = addr->sin_addr; in sunos_nfs_get_server_fd()

12