Searched refs:sockaddr_in (Results 1 – 14 of 14) sorted by relevance
27 return ntohs(((struct sockaddr_in *)sap)->sin_port); in rpc_get_port()39 ((struct sockaddr_in *)sap)->sin_port = htons(port); in rpc_set_port()53 const struct sockaddr_in *sin1 = (const struct sockaddr_in *)sap1; in rpc_cmp_addr4()54 const struct sockaddr_in *sin2 = (const struct sockaddr_in *)sap2; in rpc_cmp_addr4()62 const struct sockaddr_in *ssin = (struct sockaddr_in *) src; in __rpc_copy_addr4()63 struct sockaddr_in *dsin = (struct sockaddr_in *) dst; in __rpc_copy_addr4()
172 const struct sockaddr_in *sin = (const struct sockaddr_in *)sa; in svc_addr_port()189 return sizeof(struct sockaddr_in); in svc_addr_len()209 const struct sockaddr_in *sin = (const struct sockaddr_in *)addr; in __svc_print_addr()
315 static inline struct sockaddr_in *svc_addr_in(const struct svc_rqst *rqst) in svc_addr_in()317 return (struct sockaddr_in *) &rqst->rq_addr; in svc_addr_in()330 static inline struct sockaddr_in *svc_daddr_in(const struct svc_rqst *rqst) in svc_daddr_in()332 return (struct sockaddr_in *) &rqst->rq_daddr; in svc_daddr_in()
32 struct sockaddr_in addr; /* IP address and port to send to */60 struct sockaddr_in addr; /* IP address and port to send to */
40 struct sockaddr_in addr; /* 1 */
25 struct sockaddr_in sin; /* IPv4 transport address */
261 struct sockaddr_in { struct
102 static inline struct sockaddr_in *nlm_addr_in(const struct nlm_host *host) in nlm_addr_in()104 return (struct sockaddr_in *)&host->h_addr; in nlm_addr_in()112 static inline struct sockaddr_in *nlm_srcaddr_in(const struct nlm_host *host) in nlm_srcaddr_in()114 return (struct sockaddr_in *)&host->h_srcaddr; in nlm_srcaddr_in()314 const struct sockaddr_in *sin = (struct sockaddr_in *)sap; in __nlm_privileged_request4()
118 ipv6_addr_set_v4mapped(((struct sockaddr_in *) in rdma_ip2gid()136 struct sockaddr_in *out_in = (struct sockaddr_in *)out; in rdma_gid2ip()
8 struct sockaddr_in *v4 = (void *)__entry->saddr; \
301 struct sockaddr_in *v4 = (void *)__entry->saddr; \
70 struct sockaddr_in _sockaddr_in;
193 struct sockaddr_in sin;
54 struct sockaddr_in v4;