Home
last modified time | relevance | path

Searched refs:sockaddr (Results 1 – 25 of 57) 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,
139 int svc_port_is_privileged(struct sockaddr *sin);
146 void svc_age_temp_xprts_now(struct svc_serv *, struct sockaddr *);
154 const struct sockaddr *sa, in svc_xprt_set_local()
161 const struct sockaddr *sa, in svc_xprt_set_remote()
170 static inline unsigned short svc_addr_port(const struct sockaddr *sa) in svc_addr_port()
185 static inline size_t svc_addr_len(const struct sockaddr *sa) in svc_addr_len()
198 return svc_addr_port((const struct sockaddr *)&xprt->xpt_local); in svc_xprt_local_port()
203 return svc_addr_port((const struct sockaddr *)&xprt->xpt_remote); in svc_xprt_remote_port()
206 static inline char *__svc_print_addr(const struct sockaddr *addr, in __svc_print_addr()
Dclnt.h126 struct sockaddr *address;
128 struct sockaddr *saddress;
187 const struct sockaddr *address,
211 size_t rpc_peeraddr(struct rpc_clnt *, struct sockaddr *, size_t);
213 int rpc_localaddr(struct rpc_clnt *, struct sockaddr *, size_t);
243 const struct sockaddr *sap);
/include/uapi/linux/
Dif_arp.h118 struct sockaddr arp_pa; /* protocol address */
119 struct sockaddr arp_ha; /* hardware address */
121 struct sockaddr arp_netmask; /* netmask (only for proxy arps) */
126 struct sockaddr arp_pa; /* protocol address */
127 struct sockaddr arp_ha; /* hardware address */
129 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.h173 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);
46 int __inet_bind(struct sock *sk, struct sockaddr *uaddr, int addr_len,
48 int inet_getname(struct socket *sock, struct sockaddr *uaddr,
Dcompat.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) */
50 struct sockaddr __user **save_addr, compat_uptr_t *ptr,
53 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,
/include/linux/lockd/
Dlockd.h107 static inline struct sockaddr *nlm_addr(const struct nlm_host *host) in nlm_addr()
109 return (struct sockaddr *)&host->h_addr; in nlm_addr()
117 static inline struct sockaddr *nlm_srcaddr(const struct nlm_host *host) in nlm_srcaddr()
119 return (struct sockaddr *)&host->h_srcaddr; in nlm_srcaddr()
218 __be32 nlmclnt_grant(const struct sockaddr *addr,
228 struct nlm_host *nlmclnt_lookup_host(const struct sockaddr *sap,
256 const struct sockaddr *sap,
304 int nlmsvc_unlock_all_by_ip(struct sockaddr *server_addr);
312 static inline int __nlm_privileged_request4(const struct sockaddr *sap) in __nlm_privileged_request4()
323 static inline int __nlm_privileged_request6(const struct sockaddr *sap) in __nlm_privileged_request6()
[all …]
Dbind.h43 const struct sockaddr *address;
/include/linux/
Dsocket.h32 struct sockaddr { struct
403 struct sockaddr __user *uaddr,
410 struct sockaddr __user **uaddr,
414 struct sockaddr __user **save_addr,
419 unsigned int flags, struct sockaddr __user *addr,
422 unsigned int flags, struct sockaddr __user *addr,
425 struct sockaddr __user *upeer_sockaddr,
429 struct sockaddr __user *upeer_sockaddr,
431 extern int __sys_accept4(int fd, struct sockaddr __user *upeer_sockaddr,
434 extern int __sys_bind(int fd, struct sockaddr __user *umyaddr, int addrlen);
[all …]
Dnet.h131 struct sockaddr;
143 struct sockaddr *myaddr,
146 struct sockaddr *vaddr,
153 struct sockaddr *addr,
318 int kernel_bind(struct socket *sock, struct sockaddr *addr, int addrlen);
321 int kernel_connect(struct socket *sock, struct sockaddr *addr, int addrlen,
323 int kernel_getsockname(struct socket *sock, struct sockaddr *addr);
324 int kernel_getpeername(struct socket *sock, struct sockaddr *addr);
Dinet.h58 extern bool inet_addr_is_any(struct sockaddr *addr);
Dwireless.h47 #define IW_EV_COMPAT_ADDR_LEN (IW_EV_COMPAT_LCP_LEN + sizeof(struct sockaddr))
/include/linux/qed/
Dqed_nvmetcp_ip_services_if.h16 struct sockaddr *hardware_address,
20 struct sockaddr *hardware_address,
/include/rdma/
Dib_addr.h55 int rdma_translate_ip(const struct sockaddr *addr,
75 int rdma_resolve_ip(struct sockaddr *src_addr, const struct sockaddr *dst_addr,
77 void (*callback)(int status, struct sockaddr *src_addr,
83 int rdma_addr_size(const struct sockaddr *addr);
114 static inline int rdma_ip2gid(struct sockaddr *addr, union ib_gid *gid) in rdma_ip2gid()
133 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);
341 __be64 rdma_get_service_id(struct rdma_cm_id *id, struct sockaddr *addr);
/include/net/caif/
Dcaif_dev.h41 struct sockaddr_caif sockaddr; member
/include/trace/
Dperf.h25 #define __get_sockaddr(field) ((struct sockaddr *)__get_dynamic_array(field))
45 #define __get_rel_sockaddr(field) ((struct sockaddr *)__get_rel_dynamic_array(field))

123