/include/linux/sunrpc/ |
D | addr.h | 16 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 …]
|
D | svc_xprt.h | 18 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()
|
D | clnt.h | 122 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);
|
D | xprtmultipath.h | 73 const struct sockaddr *sap);
|
/include/uapi/linux/ |
D | if_arp.h | 117 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) */
|
D | route.h | 33 struct sockaddr rt_dst; /* target address */ 34 struct sockaddr rt_gateway; /* gateway addr (RTF_GATEWAY) */ 35 struct sockaddr rt_genmask; /* target network mask (IP) */
|
D | if.h | 242 struct sockaddr ifru_addr; 243 struct sockaddr ifru_dstaddr; 244 struct sockaddr ifru_broadaddr; 245 struct sockaddr ifru_netmask; 246 struct sockaddr ifru_hwaddr;
|
D | wireless.h | 751 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 …]
|
D | vm_sockets.h | 151 unsigned char svm_zero[sizeof(struct sockaddr) -
|
D | nfs4_mount.h | 49 struct sockaddr __user * host_addr; /* 1 */
|
D | errqueue.h | 37 #define SO_EE_OFFENDER(ee) ((struct sockaddr*)((ee)+1))
|
/include/net/ |
D | inet_common.h | 16 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,
|
D | compat.h | 35 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 **);
|
D | inet6_connection_sock.h | 17 struct sockaddr; 22 void inet6_csk_addr2sockaddr(struct sock *sk, struct sockaddr *uaddr);
|
D | vsock_addr.h | 19 int vsock_addr_cast(const struct sockaddr *addr, size_t len,
|
D | transp_v6.h | 34 int udpv6_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len);
|
/include/linux/lockd/ |
D | lockd.h | 105 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 …]
|
D | bind.h | 42 const struct sockaddr *address;
|
/include/linux/ |
D | socket.h | 32 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 …]
|
D | net.h | 131 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);
|
D | inet.h | 58 extern bool inet_addr_is_any(struct sockaddr *addr);
|
D | wireless.h | 39 #define IW_EV_COMPAT_ADDR_LEN (IW_EV_COMPAT_LCP_LEN + sizeof(struct sockaddr))
|
/include/rdma/ |
D | ib_addr.h | 54 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()
|
D | rdma_cm.h | 163 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/ |
D | caif_dev.h | 41 struct sockaddr_caif sockaddr; member
|