Home
last modified time | relevance | path

Searched refs:sockaddr_in (Results 1 – 14 of 14) sorted by relevance

/include/linux/sunrpc/
Daddr.h27 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()
Dsvc_xprt.h172 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()
Dsvc.h315 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()
/include/uapi/linux/
Dif_pppol2tp.h32 struct sockaddr_in addr; /* IP address and port to send to */
60 struct sockaddr_in addr; /* IP address and port to send to */
Dnfs_mount.h40 struct sockaddr_in addr; /* 1 */
Drxrpc.h25 struct sockaddr_in sin; /* IPv4 transport address */
Din.h261 struct sockaddr_in { struct
/include/linux/lockd/
Dlockd.h102 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()
/include/rdma/
Dib_addr.h118 ipv6_addr_set_v4mapped(((struct sockaddr_in *) in rdma_ip2gid()
136 struct sockaddr_in *out_in = (struct sockaddr_in *)out; in rdma_gid2ip()
/include/trace/events/
Dnet_probe_common.h8 struct sockaddr_in *v4 = (void *)__entry->saddr; \
Dtcp.h301 struct sockaddr_in *v4 = (void *)__entry->saddr; \
/include/uapi/rdma/
Drdma_user_rxe.h70 struct sockaddr_in _sockaddr_in;
/include/net/
Dvxlan.h193 struct sockaddr_in sin;
/include/net/sctp/
Dstructs.h54 struct sockaddr_in v4;