/include/linux/sunrpc/ |
D | addr.h | 15 size_t rpc_ntop(const struct sockaddr *, char *, const size_t); 17 struct sockaddr *, const size_t); 18 char * rpc_sockaddr2uaddr(const struct sockaddr *, gfp_t); 20 struct sockaddr *, const size_t); 22 static inline unsigned short rpc_get_port(const struct sockaddr *sap) in rpc_get_port() 33 static inline void rpc_set_port(struct sockaddr *sap, in rpc_set_port() 49 static inline bool __rpc_cmp_addr4(const struct sockaddr *sap1, in __rpc_cmp_addr4() 50 const struct sockaddr *sap2) in __rpc_cmp_addr4() 58 static inline bool __rpc_copy_addr4(struct sockaddr *dst, in __rpc_copy_addr4() 59 const struct sockaddr *src) in __rpc_copy_addr4() [all …]
|
D | svc_xprt.h | 17 struct sockaddr *, int, 120 int svc_port_is_privileged(struct sockaddr *sin); 133 const struct sockaddr *sa, in svc_xprt_set_local() 140 const struct sockaddr *sa, in svc_xprt_set_remote() 146 static inline unsigned short svc_addr_port(const struct sockaddr *sa) in svc_addr_port() 161 static inline size_t svc_addr_len(const struct sockaddr *sa) in svc_addr_len() 174 return svc_addr_port((const struct sockaddr *)&xprt->xpt_local); in svc_xprt_local_port() 179 return svc_addr_port((const struct sockaddr *)&xprt->xpt_remote); in svc_xprt_remote_port() 182 static inline char *__svc_print_addr(const struct sockaddr *addr, in __svc_print_addr()
|
D | clnt.h | 106 struct sockaddr *address; 108 struct sockaddr *saddress; 146 const struct sockaddr *address, 167 size_t rpc_peeraddr(struct rpc_clnt *, struct sockaddr *, size_t); 169 int rpc_localaddr(struct rpc_clnt *, struct sockaddr *, size_t);
|
D | svc.h | 298 static inline struct sockaddr *svc_addr(const struct svc_rqst *rqst) in svc_addr() 300 return (struct sockaddr *) &rqst->rq_addr; in svc_addr() 313 static inline struct sockaddr *svc_daddr(const struct svc_rqst *rqst) in svc_daddr() 315 return (struct sockaddr *) &rqst->rq_daddr; in svc_daddr()
|
/include/uapi/linux/ |
D | if_arp.h | 112 struct sockaddr arp_pa; /* protocol address */ 113 struct sockaddr arp_ha; /* hardware address */ 115 struct sockaddr arp_netmask; /* netmask (only for proxy arps) */ 120 struct sockaddr arp_pa; /* protocol address */ 121 struct sockaddr arp_ha; /* hardware address */ 123 struct sockaddr arp_netmask; /* netmask (only for proxy arps) */
|
D | route.h | 32 struct sockaddr rt_dst; /* target address */ 33 struct sockaddr rt_gateway; /* gateway addr (RTF_GATEWAY) */ 34 struct sockaddr rt_genmask; /* target network mask (IP) */
|
D | if.h | 184 struct sockaddr ifru_addr; 185 struct sockaddr ifru_dstaddr; 186 struct sockaddr ifru_broadaddr; 187 struct sockaddr ifru_netmask; 188 struct sockaddr ifru_hwaddr;
|
D | wireless.h | 751 struct sockaddr addr; /* Source address (hw/mac) */ 777 struct sockaddr bssid; /* ff:ff:ff:ff:ff:ff for broadcast BSSID or 835 struct sockaddr addr; /* ff:ff:ff:ff:ff:ff for broadcast/multicast 848 struct sockaddr addr; 861 struct sockaddr bssid; 869 struct sockaddr src_addr; 880 struct sockaddr bssid; 934 struct sockaddr ap_addr; /* Access point address */ 935 struct sockaddr addr; /* Destination address (hw/mac) */ 1105 #define IW_EV_ADDR_LEN (IW_EV_LCP_LEN + sizeof(struct sockaddr)) [all …]
|
D | socket.h | 8 #define _K_SS_ALIGNSIZE (__alignof__ (struct sockaddr *))
|
D | errqueue.h | 23 #define SO_EE_OFFENDER(ee) ((struct sockaddr*)((ee)+1))
|
D | vm_sockets.h | 148 unsigned char svm_zero[sizeof(struct sockaddr) -
|
D | nfs4_mount.h | 48 struct sockaddr __user * host_addr; /* 1 */
|
D | l2tp.h | 34 unsigned char __pad[sizeof(struct sockaddr) -
|
/include/net/ |
D | inet_common.h | 13 struct sockaddr; 17 extern int inet_stream_connect(struct socket *sock, struct sockaddr *uaddr, 19 extern int __inet_stream_connect(struct socket *sock, struct sockaddr *uaddr, 21 extern int inet_dgram_connect(struct socket *sock, struct sockaddr *uaddr, 33 extern int inet_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len); 34 extern int inet_getname(struct socket *sock, struct sockaddr *uaddr,
|
D | inet6_connection_sock.h | 23 struct sockaddr; 43 extern void inet6_csk_addr2sockaddr(struct sock *sk, struct sockaddr *uaddr);
|
D | transp_v6.h | 37 struct sockaddr *uaddr,
|
D | ping.h | 74 int ping_bind(struct sock *sk, struct sockaddr *uaddr, int addr_len);
|
/include/linux/lockd/ |
D | lockd.h | 102 static inline struct sockaddr *nlm_addr(const struct nlm_host *host) in nlm_addr() 104 return (struct sockaddr *)&host->h_addr; in nlm_addr() 112 static inline struct sockaddr *nlm_srcaddr(const struct nlm_host *host) in nlm_srcaddr() 114 return (struct sockaddr *)&host->h_srcaddr; in nlm_srcaddr() 212 __be32 nlmclnt_grant(const struct sockaddr *addr, 222 struct nlm_host *nlmclnt_lookup_host(const struct sockaddr *sap, 247 struct nsm_handle *nsm_get_handle(const struct sockaddr *sap, 291 int nlmsvc_unlock_all_by_ip(struct sockaddr *server_addr); 298 static inline int __nlm_privileged_request4(const struct sockaddr *sap) in __nlm_privileged_request4() 309 static inline int __nlm_privileged_request6(const struct sockaddr *sap) in __nlm_privileged_request6() [all …]
|
D | bind.h | 40 const struct sockaddr *address;
|
/include/rdma/ |
D | rdma_cm.h | 186 int rdma_bind_addr(struct rdma_cm_id *id, struct sockaddr *addr); 198 int rdma_resolve_addr(struct rdma_cm_id *id, struct sockaddr *src_addr, 199 struct sockaddr *dst_addr, int timeout_ms); 327 int rdma_join_multicast(struct rdma_cm_id *id, struct sockaddr *addr, 334 void rdma_leave_multicast(struct rdma_cm_id *id, struct sockaddr *addr);
|
D | ib_addr.h | 75 int rdma_translate_ip(struct sockaddr *addr, struct rdma_dev_addr *dev_addr); 94 struct sockaddr *src_addr, struct sockaddr *dst_addr, 96 void (*callback)(int status, struct sockaddr *src_addr, 105 static inline int ip_addr_size(struct sockaddr *addr) in ip_addr_size()
|
/include/linux/ |
D | net.h | 123 struct sockaddr; 132 struct sockaddr *myaddr, 135 struct sockaddr *vaddr, 142 struct sockaddr *addr, 252 extern int kernel_bind(struct socket *sock, struct sockaddr *addr, 257 extern int kernel_connect(struct socket *sock, struct sockaddr *addr, 259 extern int kernel_getsockname(struct socket *sock, struct sockaddr *addr, 261 extern int kernel_getpeername(struct socket *sock, struct sockaddr *addr,
|
D | wireless.h | 38 #define IW_EV_COMPAT_ADDR_LEN (IW_EV_COMPAT_LCP_LEN + sizeof(struct sockaddr))
|
/include/net/caif/ |
D | caif_dev.h | 41 struct sockaddr_caif sockaddr; member
|
/include/scsi/ |
D | scsi_transport_iscsi.h | 39 struct sockaddr; 135 struct sockaddr *dst_addr, 140 uint32_t enable, struct sockaddr *dst_addr); 151 uint32_t pid, struct sockaddr *dst_addr);
|