Home
last modified time | relevance | path

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

1234567

/drivers/infiniband/core/
Daddr.c60 void (*callback)(int status, struct sockaddr *src_addr,
106 int rdma_translate_ip(struct sockaddr *addr, struct rdma_dev_addr *dev_addr) in rdma_translate_ip()
227 ret = rdma_translate_ip((struct sockaddr *) dst_in, addr); in addr4_resolve()
275 ret = rdma_translate_ip((struct sockaddr *) dst_in, addr); in addr6_resolve()
301 static int addr_resolve(struct sockaddr *src_in, in addr_resolve()
302 struct sockaddr *dst_in, in addr_resolve()
316 struct sockaddr *src_in, *dst_in; in process_req()
324 src_in = (struct sockaddr *) &req->src_addr; in process_req()
325 dst_in = (struct sockaddr *) &req->dst_addr; in process_req()
343 req->callback(req->status, (struct sockaddr *) &req->src_addr, in process_req()
[all …]
Dcma.c674 static inline int cma_zero_addr(struct sockaddr *addr) in cma_zero_addr()
688 static inline int cma_loopback_addr(struct sockaddr *addr) in cma_loopback_addr()
698 static inline int cma_any_addr(struct sockaddr *addr) in cma_any_addr()
703 static int cma_addr_cmp(struct sockaddr *src, struct sockaddr *dst) in cma_addr_cmp()
718 static inline __be16 cma_port(struct sockaddr *addr) in cma_port()
726 static inline int cma_any_port(struct sockaddr *addr) in cma_any_port()
858 if (cma_any_addr((struct sockaddr *) &id_priv->id.route.addr.src_addr) in cma_cancel_operation()
1110 if (cma_any_addr((struct sockaddr *) &rt->addr.src_addr)) { in cma_new_conn_id()
1115 ret = rdma_translate_ip((struct sockaddr *) &rt->addr.src_addr, in cma_new_conn_id()
1154 if (!cma_any_addr((struct sockaddr *) &id->route.addr.src_addr)) { in cma_new_udp_id()
[all …]
Ducma.c550 ret = rdma_bind_addr(ctx->cm_id, (struct sockaddr *) &cmd.addr); in ucma_bind_addr()
570 ret = rdma_resolve_addr(ctx->cm_id, (struct sockaddr *) &cmd.src_addr, in ucma_resolve_addr()
571 (struct sockaddr *) &cmd.dst_addr, in ucma_resolve_addr()
678 struct sockaddr *addr; in ucma_query_route()
692 addr = (struct sockaddr *) &ctx->cm_id->route.addr.src_addr; in ucma_query_route()
696 addr = (struct sockaddr *) &ctx->cm_id->route.addr.dst_addr; in ucma_query_route()
1073 ret = rdma_join_multicast(ctx->cm_id, (struct sockaddr *) &mc->addr, mc); in ucma_join_multicast()
1089 rdma_leave_multicast(ctx->cm_id, (struct sockaddr *) &mc->addr); in ucma_join_multicast()
1135 rdma_leave_multicast(mc->ctx->cm_id, (struct sockaddr *) &mc->addr); in ucma_leave_multicast()
/drivers/target/iscsi/
Discsi_target_login.c764 struct __kernel_sockaddr_storage *sockaddr) in iscsi_target_setup_login_socket() argument
791 ret = sock_create(sockaddr->ss_family, np->np_sock_type, in iscsi_target_setup_login_socket()
802 memcpy(&np->np_sockaddr, sockaddr, in iscsi_target_setup_login_socket()
805 if (sockaddr->ss_family == AF_INET6) in iscsi_target_setup_login_socket()
841 ret = kernel_bind(sock, (struct sockaddr *)&np->np_sockaddr, len); in iscsi_target_setup_login_socket()
976 (struct sockaddr *)&sock_in6, &err, 1) < 0) { in __iscsi_target_login_thread()
987 (struct sockaddr *)&sock_in6, &err, 0) < 0) { in __iscsi_target_login_thread()
1001 (struct sockaddr *)&sock_in, &err, 1) < 0) { in __iscsi_target_login_thread()
1011 (struct sockaddr *)&sock_in, &err, 0) < 0) { in __iscsi_target_login_thread()
Discsi_target_configfs.c168 struct __kernel_sockaddr_storage sockaddr; in lio_target_call_addnptotpg() local
183 memset(&sockaddr, 0, sizeof(struct __kernel_sockaddr_storage)); in lio_target_call_addnptotpg()
212 sock_in6 = (struct sockaddr_in6 *)&sockaddr; in lio_target_call_addnptotpg()
237 sock_in = (struct sockaddr_in *)&sockaddr; in lio_target_call_addnptotpg()
264 tpg_np = iscsit_tpg_add_network_portal(tpg, &sockaddr, str, NULL, in lio_target_call_addnptotpg()
/drivers/staging/vt6655/
Diwctl.h48 struct sockaddr *wrq,
89 struct sockaddr *wrq,
/drivers/staging/vt6656/
Diwctl.h46 struct sockaddr *wrq,
87 struct sockaddr *wrq,
Diwctl.c612 struct sockaddr *wrq, in iwctl_siwap()
663 struct sockaddr *wrq, in iwctl_giwap()
698 struct sockaddr sock[IW_MAX_AP]; in iwctl_giwaplist()
732 memcpy(extra, sock, sizeof(struct sockaddr)*jj); in iwctl_giwaplist()
733 memcpy(extra + sizeof(struct sockaddr)*jj, qual, sizeof(struct iw_quality)*jj); in iwctl_giwaplist()
/drivers/net/wireless/prism54/
Disl_ioctl.c524 struct sockaddr *awrq, char *extra) in prism54_set_wap()
546 struct sockaddr *awrq, char *extra) in prism54_get_wap()
1821 struct sockaddr *awrq, char *extra) in prism54_add_mac()
1826 struct sockaddr *addr = (struct sockaddr *) extra; in prism54_add_mac()
1850 struct sockaddr *awrq, char *extra) in prism54_del_mac()
1855 struct sockaddr *addr = (struct sockaddr *) extra; in prism54_del_mac()
1882 struct sockaddr *dst = (struct sockaddr *) extra; in prism54_get_mac()
2001 struct sockaddr *awrq, char *extra) in prism54_kick_mac()
2004 struct sockaddr *addr = (struct sockaddr *) extra; in prism54_kick_mac()
2087 prism54_get_wap(ndev, NULL, (struct sockaddr *) &uwrq, in link_changed()
[all …]
/drivers/net/ppp/
Dpppopns.c240 static int pppopns_connect(struct socket *sock, struct sockaddr *useraddr, in pppopns_connect()
269 error = kernel_getpeername(sock_tcp, (struct sockaddr *)&ss, &addrlen); in pppopns_connect()
286 error = kernel_connect(sock_raw, (struct sockaddr *)&ss, addrlen, 0); in pppopns_connect()
Dpptp.c414 static int pptp_bind(struct socket *sock, struct sockaddr *uservaddr, in pptp_bind()
433 static int pptp_connect(struct socket *sock, struct sockaddr *uservaddr, in pptp_connect()
503 static int pptp_getname(struct socket *sock, struct sockaddr *uaddr, in pptp_getname()
/drivers/net/wireless/bcmdhd/
Dwl_iw.c472 struct sockaddr bssid; in wl_iw_config_commit()
484 bzero(&bssid, sizeof(struct sockaddr)); in wl_iw_config_commit()
903 struct sockaddr *addr = (struct sockaddr *) extra; in wl_iw_set_spy()
928 struct sockaddr *addr = (struct sockaddr *) extra; in wl_iw_get_spy()
952 struct sockaddr *awrq, in wl_iw_set_wap()
990 struct sockaddr *awrq, in wl_iw_get_wap()
1010 struct sockaddr *awrq, in wl_iw_mlme()
1056 struct sockaddr *addr = (struct sockaddr *) extra; in wl_iw_get_aplist()
1132 struct sockaddr *addr = (struct sockaddr *) extra; in wl_iw_iscan_get_aplist()
3011 token_size = sizeof(struct sockaddr) + sizeof(struct iw_quality);
[all …]
/drivers/scsi/be2iscsi/
Dbe_iscsi.h66 struct sockaddr *dst_addr,
Dbe_iscsi.c489 struct sockaddr *src_addr, in beiscsi_open_conn()
490 struct sockaddr *dst_addr, int non_blocking) in beiscsi_open_conn()
583 beiscsi_ep_connect(struct Scsi_Host *shost, struct sockaddr *dst_addr, in beiscsi_ep_connect()
Dbe_mgmt.h90 struct sockaddr *dst_addr,
/drivers/staging/usbip/userspace/src/
Dusbipd.c289 connfd = accept(listenfd, (struct sockaddr *) &ss, &len); in do_accept()
295 rc = getnameinfo((struct sockaddr *) &ss, len, host, sizeof(host), in do_accept()
/drivers/net/hamradio/
Dbpqether.c309 struct sockaddr *sa = (struct sockaddr *)addr; in bpq_set_mac_address()
/drivers/net/wireless/hostap/
Dhostap.h67 int prism2_ap_get_sta_qual(local_info_t *local, struct sockaddr addr[],
/drivers/staging/rtl8187se/ieee80211/
Dieee80211_softmac_wx.c138 struct sockaddr *temp = (struct sockaddr *)awrq; in ieee80211_wx_set_wap()
/drivers/net/
Ddummy.c45 struct sockaddr *sa = p; in dummy_set_address()
/drivers/infiniband/ulp/iser/
Diser_verbs.c565 struct sockaddr *src, *dst; in iser_connect()
589 src = (struct sockaddr *)src_addr; in iser_connect()
590 dst = (struct sockaddr *)dst_addr; in iser_connect()
/drivers/isdn/mISDN/
Dsocket.c482 data_sock_bind(struct socket *sock, struct sockaddr *addr, int addr_len) in data_sock_bind()
570 data_sock_getname(struct socket *sock, struct sockaddr *addr, in data_sock_getname()
716 base_sock_bind(struct socket *sock, struct sockaddr *addr, int addr_len) in base_sock_bind()
/drivers/staging/rtl8192u/ieee80211/
Dieee80211_softmac_wx.c143 struct sockaddr *temp = (struct sockaddr *)awrq; in ieee80211_wx_set_wap()
/drivers/net/ethernet/atheros/atlx/
Datlx.c77 struct sockaddr *addr = p; in atlx_set_mac()
/drivers/staging/rtl8192e/
Drtllib_softmac_wx.c144 struct sockaddr *temp = (struct sockaddr *)awrq; in rtllib_wx_set_wap()

1234567