Home
last modified time | relevance | path

Searched refs:sockaddr (Results 1 – 25 of 53) sorted by relevance

123

/include/linux/sunrpc/
Daddr.h16 size_t rpc_ntop(const struct sockaddr *, char *, const size_t);
18 struct sockaddr *, const size_t);
19 char * rpc_sockaddr2uaddr(const struct sockaddr *, gfp_t);
21 struct sockaddr *, const size_t);
23 static inline unsigned short rpc_get_port(const struct sockaddr *sap) in rpc_get_port()
34 static inline void rpc_set_port(struct sockaddr *sap, in rpc_set_port()
50 static inline bool rpc_cmp_addr4(const struct sockaddr *sap1, in rpc_cmp_addr4()
51 const struct sockaddr *sap2) in rpc_cmp_addr4()
59 static inline bool __rpc_copy_addr4(struct sockaddr *dst, in __rpc_copy_addr4()
60 const struct sockaddr *src) in __rpc_copy_addr4()
[all …]
Dsvc_xprt.h18 struct sockaddr *, int,
138 int svc_port_is_privileged(struct sockaddr *sin);
145 void svc_age_temp_xprts_now(struct svc_serv *, struct sockaddr *);
152 const struct sockaddr *sa, in svc_xprt_set_local()
159 const struct sockaddr *sa, in svc_xprt_set_remote()
168 static inline unsigned short svc_addr_port(const struct sockaddr *sa) in svc_addr_port()
183 static inline size_t svc_addr_len(const struct sockaddr *sa) in svc_addr_len()
196 return svc_addr_port((const struct sockaddr *)&xprt->xpt_local); in svc_xprt_local_port()
201 return svc_addr_port((const struct sockaddr *)&xprt->xpt_remote); in svc_xprt_remote_port()
204 static inline char *__svc_print_addr(const struct sockaddr *addr, in __svc_print_addr()
Dclnt.h122 struct sockaddr *address;
124 struct sockaddr *saddress;
181 const struct sockaddr *address,
205 size_t rpc_peeraddr(struct rpc_clnt *, struct sockaddr *, size_t);
207 int rpc_localaddr(struct rpc_clnt *, struct sockaddr *, size_t);
237 const struct sockaddr *sap);
Dxprtmultipath.h73 const struct sockaddr *sap);
/include/uapi/linux/
Dif_arp.h117 struct sockaddr arp_pa; /* protocol address */
118 struct sockaddr arp_ha; /* hardware address */
120 struct sockaddr arp_netmask; /* netmask (only for proxy arps) */
125 struct sockaddr arp_pa; /* protocol address */
126 struct sockaddr arp_ha; /* hardware address */
128 struct sockaddr arp_netmask; /* netmask (only for proxy arps) */
Droute.h33 struct sockaddr rt_dst; /* target address */
34 struct sockaddr rt_gateway; /* gateway addr (RTF_GATEWAY) */
35 struct sockaddr rt_genmask; /* target network mask (IP) */
Dif.h242 struct sockaddr ifru_addr;
243 struct sockaddr ifru_dstaddr;
244 struct sockaddr ifru_broadaddr;
245 struct sockaddr ifru_netmask;
246 struct sockaddr ifru_hwaddr;
Dwireless.h751 struct sockaddr addr; /* Source address (hw/mac) */
776 struct sockaddr bssid; /* ff:ff:ff:ff:ff:ff for broadcast BSSID or
833 struct sockaddr addr; /* ff:ff:ff:ff:ff:ff for broadcast/multicast
845 struct sockaddr addr;
857 struct sockaddr bssid;
864 struct sockaddr src_addr;
874 struct sockaddr bssid;
926 struct sockaddr ap_addr; /* Access point address */
927 struct sockaddr addr; /* Destination address (hw/mac) */
1093 #define IW_EV_ADDR_LEN (IW_EV_LCP_LEN + sizeof(struct sockaddr))
[all …]
Dvm_sockets.h151 unsigned char svm_zero[sizeof(struct sockaddr) -
Dnfs4_mount.h49 struct sockaddr __user * host_addr; /* 1 */
Derrqueue.h37 #define SO_EE_OFFENDER(ee) ((struct sockaddr*)((ee)+1))
/include/net/
Dinet_common.h16 struct sockaddr;
20 int inet_stream_connect(struct socket *sock, struct sockaddr *uaddr,
22 int __inet_stream_connect(struct socket *sock, struct sockaddr *uaddr,
24 int inet_dgram_connect(struct socket *sock, struct sockaddr *uaddr,
37 int inet_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len);
44 int __inet_bind(struct sock *sk, struct sockaddr *uaddr, int addr_len,
46 int inet_getname(struct socket *sock, struct sockaddr *uaddr,
Dcompat.h35 struct sockaddr rt_dst; /* target address */
36 struct sockaddr rt_gateway; /* gateway addr (RTF_GATEWAY) */
37 struct sockaddr rt_genmask; /* target network mask (IP) */
60 struct sockaddr __user **save_addr, compat_uptr_t *ptr,
63 struct sockaddr __user **, struct iovec **);
Dinet6_connection_sock.h17 struct sockaddr;
22 void inet6_csk_addr2sockaddr(struct sock *sk, struct sockaddr *uaddr);
Dvsock_addr.h19 int vsock_addr_cast(const struct sockaddr *addr, size_t len,
Dtransp_v6.h34 int udpv6_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len);
/include/linux/lockd/
Dlockd.h105 static inline struct sockaddr *nlm_addr(const struct nlm_host *host) in nlm_addr()
107 return (struct sockaddr *)&host->h_addr; in nlm_addr()
115 static inline struct sockaddr *nlm_srcaddr(const struct nlm_host *host) in nlm_srcaddr()
117 return (struct sockaddr *)&host->h_srcaddr; in nlm_srcaddr()
215 __be32 nlmclnt_grant(const struct sockaddr *addr,
225 struct nlm_host *nlmclnt_lookup_host(const struct sockaddr *sap,
253 const struct sockaddr *sap,
300 int nlmsvc_unlock_all_by_ip(struct sockaddr *server_addr);
307 static inline int __nlm_privileged_request4(const struct sockaddr *sap) in __nlm_privileged_request4()
318 static inline int __nlm_privileged_request6(const struct sockaddr *sap) in __nlm_privileged_request6()
[all …]
Dbind.h42 const struct sockaddr *address;
/include/linux/
Dsocket.h32 struct sockaddr { struct
399 struct sockaddr __user *uaddr,
406 struct sockaddr __user **uaddr,
410 struct sockaddr __user **save_addr,
415 unsigned int flags, struct sockaddr __user *addr,
418 unsigned int flags, struct sockaddr __user *addr,
421 struct sockaddr __user *upeer_sockaddr,
425 struct sockaddr __user *upeer_sockaddr,
427 extern int __sys_accept4(int fd, struct sockaddr __user *upeer_sockaddr,
430 extern int __sys_bind(int fd, struct sockaddr __user *umyaddr, int addrlen);
[all …]
Dnet.h131 struct sockaddr;
145 struct sockaddr *myaddr,
148 struct sockaddr *vaddr,
155 struct sockaddr *addr,
320 int kernel_bind(struct socket *sock, struct sockaddr *addr, int addrlen);
323 int kernel_connect(struct socket *sock, struct sockaddr *addr, int addrlen,
325 int kernel_getsockname(struct socket *sock, struct sockaddr *addr);
326 int kernel_getpeername(struct socket *sock, struct sockaddr *addr);
Dinet.h58 extern bool inet_addr_is_any(struct sockaddr *addr);
Dwireless.h39 #define IW_EV_COMPAT_ADDR_LEN (IW_EV_COMPAT_LCP_LEN + sizeof(struct sockaddr))
/include/rdma/
Dib_addr.h54 int rdma_translate_ip(const struct sockaddr *addr,
74 int rdma_resolve_ip(struct sockaddr *src_addr, const struct sockaddr *dst_addr,
76 void (*callback)(int status, struct sockaddr *src_addr,
82 int rdma_addr_size(const struct sockaddr *addr);
113 static inline int rdma_ip2gid(struct sockaddr *addr, union ib_gid *gid) in rdma_ip2gid()
132 static inline void rdma_gid2ip(struct sockaddr *out, const union ib_gid *gid) in rdma_gid2ip()
Drdma_cm.h163 int rdma_bind_addr(struct rdma_cm_id *id, struct sockaddr *addr);
175 int rdma_resolve_addr(struct rdma_cm_id *id, struct sockaddr *src_addr,
176 const struct sockaddr *dst_addr,
290 int rdma_join_multicast(struct rdma_cm_id *id, struct sockaddr *addr,
297 void rdma_leave_multicast(struct rdma_cm_id *id, struct sockaddr *addr);
339 __be64 rdma_get_service_id(struct rdma_cm_id *id, struct sockaddr *addr);
/include/net/caif/
Dcaif_dev.h41 struct sockaddr_caif sockaddr; member

123