/linux-2.6.39/include/linux/sunrpc/ |
D | clnt.h | 172 return ntohs(((struct sockaddr_in *)sap)->sin_port); in rpc_get_port() 184 ((struct sockaddr_in *)sap)->sin_port = htons(port); in rpc_set_port() 198 const struct sockaddr_in *sin1 = (const struct sockaddr_in *)sap1; in __rpc_cmp_addr4() 199 const struct sockaddr_in *sin2 = (const struct sockaddr_in *)sap2; in __rpc_cmp_addr4() 207 const struct sockaddr_in *ssin = (struct sockaddr_in *) src; in __rpc_copy_addr4() 208 struct sockaddr_in *dsin = (struct sockaddr_in *) dst; in __rpc_copy_addr4()
|
D | svc_xprt.h | 147 const struct sockaddr_in *sin = (const struct sockaddr_in *)sa; in svc_addr_port() 164 return sizeof(struct sockaddr_in); in svc_addr_len() 185 const struct sockaddr_in *sin = (const struct sockaddr_in *)addr; in __svc_print_addr()
|
/linux-2.6.39/net/sunrpc/ |
D | addr.c | 112 const struct sockaddr_in *sin = (struct sockaddr_in *)sap; in rpc_ntop4() 142 struct sockaddr_in *sin = (struct sockaddr_in *)sap; in rpc_pton4() 145 if (buflen > INET_ADDRSTRLEN || salen < sizeof(struct sockaddr_in)) in rpc_pton4() 148 memset(sap, 0, sizeof(struct sockaddr_in)); in rpc_pton4() 154 return sizeof(struct sockaddr_in);; in rpc_pton4() 273 port = ntohs(((struct sockaddr_in *)sap)->sin_port); in rpc_sockaddr2uaddr() 346 ((struct sockaddr_in *)sap)->sin_port = htons(port); in rpc_uaddr2sockaddr() 347 return sizeof(struct sockaddr_in); in rpc_uaddr2sockaddr()
|
/linux-2.6.39/arch/um/drivers/ |
D | mcast_user.c | 24 static struct sockaddr_in *new_addr(char *addr, unsigned short port) in new_addr() 26 struct sockaddr_in *sin; in new_addr() 28 sin = uml_kmalloc(sizeof(struct sockaddr_in), UM_GFP_KERNEL); in new_addr() 60 struct sockaddr_in *sin = pri->mcast_addr; in mcast_open() 136 struct sockaddr_in *sin = pri->mcast_addr; in mcast_close() 151 struct sockaddr_in *data_addr = pri->mcast_addr; in mcast_user_write()
|
/linux-2.6.39/include/rdma/ |
D | iw_cm.h | 61 struct sockaddr_in local_addr; 62 struct sockaddr_in remote_addr; 93 struct sockaddr_in local_addr; 94 struct sockaddr_in remote_addr;
|
/linux-2.6.39/include/linux/lockd/ |
D | lockd.h | 96 static inline struct sockaddr_in *nlm_addr_in(const struct nlm_host *host) in nlm_addr_in() 98 return (struct sockaddr_in *)&host->h_addr; in nlm_addr_in() 106 static inline struct sockaddr_in *nlm_srcaddr_in(const struct nlm_host *host) in nlm_srcaddr_in() 108 return (struct sockaddr_in *)&host->h_srcaddr; in nlm_srcaddr_in() 296 const struct sockaddr_in *sin = (struct sockaddr_in *)sap; in __nlm_privileged_request4()
|
/linux-2.6.39/include/linux/ |
D | if_pppol2tp.h | 32 struct sockaddr_in addr; /* IP address and port to send to */ 46 struct sockaddr_in addr; /* IP address and port to send to */
|
D | rxrpc.h | 28 struct sockaddr_in sin; /* IPv4 transport address */
|
D | nfs_mount.h | 39 struct sockaddr_in addr; /* 1 */
|
/linux-2.6.39/net/rds/ |
D | af_rds.c | 131 struct sockaddr_in *sin = (struct sockaddr_in *)uaddr; in rds_getname() 219 struct sockaddr_in sin; in rds_cancel_sent_to() 228 if (len < sizeof(struct sockaddr_in)) { in rds_cancel_sent_to() 354 struct sockaddr_in *sin = (struct sockaddr_in *)uaddr; in rds_connect() 360 if (addr_len != sizeof(struct sockaddr_in)) { in rds_connect()
|
D | bind.c | 165 struct sockaddr_in *sin = (struct sockaddr_in *)uaddr; in rds_bind() 172 if (addr_len != sizeof(struct sockaddr_in) || in rds_bind()
|
D | iw_rdma.c | 100 struct sockaddr_in *src_addr, *dst_addr; 102 src_addr = (struct sockaddr_in *)&i_cm_id->cm_id->route.addr.src_addr; 103 dst_addr = (struct sockaddr_in *)&i_cm_id->cm_id->route.addr.dst_addr; 179 struct sockaddr_in *src_addr, *dst_addr; 185 src_addr = (struct sockaddr_in *)&cm_id->route.addr.src_addr; 186 dst_addr = (struct sockaddr_in *)&cm_id->route.addr.dst_addr;
|
/linux-2.6.39/Documentation/networking/timestamping/ |
D | timestamping.c | 159 struct sockaddr_in *from_addr = (struct sockaddr_in *)msg->msg_name; in printpacket() 287 struct sockaddr_in from_addr; in recvpacket() 332 struct sockaddr_in addr; in main() 410 sizeof(struct sockaddr_in)) < 0) in main() 418 ((struct sockaddr_in *)&device.ifr_addr)->sin_addr.s_addr; in main()
|
/linux-2.6.39/drivers/isdn/mISDN/ |
D | l1oip.h | 76 struct sockaddr_in sin_local; /* local socket name */ 77 struct sockaddr_in sin_remote; /* remote socket name */
|
/linux-2.6.39/net/ipv4/ |
D | datagram.c | 26 struct sockaddr_in *usin = (struct sockaddr_in *) uaddr; in ip4_datagram_connect()
|
D | ip_sockglue.c | 133 struct sockaddr_in sin; in ip_cmsg_recv_dstaddr() 380 struct sockaddr_in *sin; in ip_recv_error() 383 struct sockaddr_in offender; in ip_recv_error() 406 sin = (struct sockaddr_in *)msg->msg_name; in ip_recv_error() 789 struct sockaddr_in *psin; in do_ip_setsockopt() 797 psin = (struct sockaddr_in *)&greq.gr_group; in do_ip_setsockopt() 817 struct sockaddr_in *psin; in do_ip_setsockopt() 831 psin = (struct sockaddr_in *)&greqs.gsr_group; in do_ip_setsockopt() 833 psin = (struct sockaddr_in *)&greqs.gsr_source; in do_ip_setsockopt() 846 psin = (struct sockaddr_in *)&greqs.gsr_group; in do_ip_setsockopt() [all …]
|
/linux-2.6.39/drivers/infiniband/core/ |
D | cma.c | 692 ((struct sockaddr_in *)addr)->sin_addr.s_addr); in cma_zero_addr() 704 ((struct sockaddr_in *) addr)->sin_addr.s_addr); in cma_loopback_addr() 718 return ((struct sockaddr_in *) addr)->sin_port; in cma_port() 764 struct sockaddr_in *listen4, *ip4; in cma_save_net_info() 769 listen4 = (struct sockaddr_in *) &listen_addr->src_addr; in cma_save_net_info() 770 ip4 = (struct sockaddr_in *) &addr->src_addr; in cma_save_net_info() 775 ip4 = (struct sockaddr_in *) &addr->dst_addr; in cma_save_net_info() 1274 ip4_addr = ((struct sockaddr_in *) addr)->sin_addr.s_addr; in cma_set_compare_data() 1312 struct sockaddr_in *sin; in cma_iw_handler() 1324 sin = (struct sockaddr_in *) &id_priv->id.route.addr.src_addr; in cma_iw_handler() [all …]
|
D | addr.c | 122 ((struct sockaddr_in *) addr)->sin_addr.s_addr); in rdma_translate_ip() 180 static int addr4_resolve(struct sockaddr_in *src_in, in addr4_resolve() 181 struct sockaddr_in *dst_in, in addr4_resolve() 297 return addr4_resolve((struct sockaddr_in *) src_in, in addr_resolve() 298 (struct sockaddr_in *) dst_in, addr); in addr_resolve()
|
/linux-2.6.39/net/sunrpc/xprtrdma/ |
D | transport.c | 158 struct sockaddr_in *sin = (struct sockaddr_in *)sap; in xprt_rdma_format_addresses() 277 struct sockaddr_in *sin; in xprt_setup_rdma() 317 sin = (struct sockaddr_in *)&cdata.addr; in xprt_setup_rdma() 423 struct sockaddr_in *sap; in xprt_rdma_set_port() 425 sap = (struct sockaddr_in *)&xprt->addr; in xprt_rdma_set_port() 427 sap = (struct sockaddr_in *)&rpcx_to_rdmad(xprt).addr; in xprt_rdma_set_port()
|
/linux-2.6.39/fs/cifs/ |
D | cifs_spnego.c | 101 struct sockaddr_in *sa = (struct sockaddr_in *) &server->dstaddr; in cifs_get_spnego_key()
|
D | connect.c | 1467 struct sockaddr_in *saddr4 = (struct sockaddr_in *)srcaddr; in srcip_matches() 1468 struct sockaddr_in *vaddr4 = (struct sockaddr_in *)rhs; in srcip_matches() 1494 sport = &((struct sockaddr_in *) &server->dstaddr)->sin_port; in match_port() 1495 port = ((struct sockaddr_in *) addr)->sin_port; in match_port() 1523 struct sockaddr_in *addr4 = (struct sockaddr_in *)addr; in match_address() 1524 struct sockaddr_in *srv_addr4 = in match_address() 1525 (struct sockaddr_in *)&server->dstaddr; in match_address() 1670 struct sockaddr_in *sin_server = (struct sockaddr_in *) &addr; in cifs_get_tcp_session() 1762 sizeof(struct sockaddr_in)); in cifs_get_tcp_session() 1879 struct sockaddr_in *addr = (struct sockaddr_in *)&server->dstaddr; in cifs_get_smb_ses() [all …]
|
/linux-2.6.39/drivers/net/ |
D | cnic_if.h | 199 struct sockaddr_in v4; 203 struct sockaddr_in v4; 277 struct cnic_dev *(*cm_select_dev)(struct sockaddr_in *, int ulp_type);
|
/linux-2.6.39/drivers/infiniband/hw/cxgb3/ |
D | iwch_cm.h | 161 struct sockaddr_in local_addr; 162 struct sockaddr_in remote_addr;
|
/linux-2.6.39/net/sctp/ |
D | protocol.c | 760 struct sockaddr_in *sin; in sctp_inet_msgname() 762 sin = (struct sockaddr_in *)msgname; in sctp_inet_msgname() 763 *addr_len = sizeof(struct sockaddr_in); in sctp_inet_msgname() 772 struct sockaddr_in *sin, *sinfrom; in sctp_inet_event_msgname() 779 sin = (struct sockaddr_in *)msgname; in sctp_inet_event_msgname() 791 struct sockaddr_in *sin = (struct sockaddr_in *)msgname; in sctp_inet_skb_msgname() 965 .sockaddr_len = sizeof(struct sockaddr_in),
|
/linux-2.6.39/fs/nfsd/ |
D | cache.h | 23 struct sockaddr_in c_addr;
|