/linux/arch/um/drivers/ |
A D | daemon_user.c | 51 struct sockaddr_un *local_addr = pri->local_addr; in connect_to_switch() local 79 if (bind(fd, (struct sockaddr *) local_addr, sizeof(*local_addr)) < 0) { in connect_to_switch() 97 req.sock = *local_addr; in connect_to_switch() 143 pri->local_addr = new_addr(&name, sizeof(name)); in daemon_user_init() 147 kfree(pri->local_addr); in daemon_user_init() 148 pri->local_addr = NULL; in daemon_user_init() 174 kfree(pri->local_addr); in daemon_remove() 175 pri->local_addr = NULL; in daemon_remove()
|
A D | vector_user.c | 313 struct sockaddr_un *local_addr = NULL, *remote_addr = NULL; in user_init_unix_fds() local 332 local_addr = uml_kmalloc(sizeof(struct sockaddr_un), UM_GFP_KERNEL); in user_init_unix_fds() 333 if (local_addr == NULL) { in user_init_unix_fds() 337 local_addr->sun_family = AF_UNIX; in user_init_unix_fds() 338 memcpy(local_addr->sun_path, src, strlen(src) + 1); in user_init_unix_fds() 358 if (local_addr != NULL) { in user_init_unix_fds() 359 if (bind(fd, (struct sockaddr *) local_addr, sizeof(struct sockaddr_un))) { in user_init_unix_fds()
|
A D | daemon.h | 18 void *local_addr; member
|
A D | daemon_kern.c | 35 dpri->local_addr = NULL; in daemon_init()
|
/linux/tools/testing/selftests/net/ |
A D | reuseaddr_ports_exhausted.c | 56 struct sockaddr_in local_addr; in bind_port() local 57 int len = sizeof(local_addr); in bind_port() 69 local_addr.sin_family = AF_INET; in bind_port() 70 local_addr.sin_addr.s_addr = inet_addr("127.0.0.1"); in bind_port() 71 local_addr.sin_port = 0; in bind_port() 73 if (bind(fd, (struct sockaddr *)&local_addr, len) == -1) { in bind_port()
|
A D | nettest.c | 62 } local_addr; member 645 struct sockaddr_in6 local_addr, remote_addr; in show_sockstat() local 646 socklen_t alen = sizeof(local_addr); in show_sockstat() 652 sa = (struct sockaddr *) &local_addr; in show_sockstat() 708 addr = &args->local_addr; in convert_addr() 1270 if_addr = args->local_addr.in.s_addr; in msock_init() 1303 args->local_addr.in.s_addr, args->ifindex)) in msock_init() 1339 serv_addr.sin_addr = args->local_addr.in; in bind_socket() 1346 serv6_addr.sin6_addr = args->local_addr.in6; in bind_socket()
|
/linux/drivers/net/ethernet/qlogic/qed/ |
A D | qed_nvmetcp_ip_services.c | 23 int qed_route_ipv4(struct sockaddr_storage *local_addr, in qed_route_ipv4() argument 34 loc_ip = &((struct sockaddr_in *)local_addr)->sin_addr.s_addr; in qed_route_ipv4() 75 local_addr->ss_family = AF_INET; in qed_route_ipv4() 84 int qed_route_ipv6(struct sockaddr_storage *local_addr, in qed_route_ipv6() argument 96 fl6.saddr = ((struct sockaddr_in6 *)local_addr)->sin6_addr; in qed_route_ipv6() 139 local_addr->ss_family = AF_INET6; in qed_route_ipv6() 140 ((struct sockaddr_in6 *)local_addr)->sin6_addr = in qed_route_ipv6()
|
/linux/drivers/infiniband/core/ |
A D | iwcm.c | 440 iwpm_remove_mapping(&cm_id->local_addr, RDMA_NL_IWCM); in destroy_cm_id() 519 cm_id->m_local_addr = cm_id->local_addr; in iw_cm_map() 530 pm_msg.loc_addr = cm_id->local_addr; in iw_cm_map() 550 return iwpm_create_mapinfo(&cm_id->local_addr, in iw_cm_map() 786 cm_id->m_local_addr = iw_event->local_addr; in cm_conn_req_handler() 788 cm_id->local_addr = listen_id_priv->id.local_addr; in cm_conn_req_handler() 798 &iw_event->local_addr, in cm_conn_req_handler() 799 &cm_id->local_addr); in cm_conn_req_handler() 800 iw_event->local_addr = cm_id->local_addr; in cm_conn_req_handler() 896 cm_id_priv->id.m_local_addr = iw_event->local_addr; in cm_conn_rep_handler() [all …]
|
A D | iwpm_msg.c | 314 int iwpm_remove_mapping(struct sockaddr_storage *local_addr, u8 nl_client) in iwpm_remove_mapping() argument 342 local_addr, IWPM_NLA_MANAGE_ADDR); in iwpm_remove_mapping() 355 iwpm_print_sockaddr(local_addr, in iwpm_remove_mapping()
|
/linux/include/rdma/ |
A D | iw_portmap.h | 47 int iwpm_remove_mapping(struct sockaddr_storage *local_addr, u8 nl_client); 58 int iwpm_create_mapinfo(struct sockaddr_storage *local_addr, 61 int iwpm_remove_mapinfo(struct sockaddr_storage *local_addr,
|
A D | iw_cm.h | 26 struct sockaddr_storage local_addr; member 60 struct sockaddr_storage local_addr; /* local addr */ member
|
/linux/tools/testing/selftests/net/mptcp/ |
A D | mptcp_sockopt.sh | 172 local local_addr 174 local_addr="::" 176 local_addr="0.0.0.0" 182 ${local_addr} < "$sin" > "$sout" & 211 if [ $local_addr = "::" ];then
|
A D | mptcp_connect.sh | 385 local local_addr="$6" 452 $extra_args $local_addr < "$sin" > "$sout" & 618 local local_addr 620 local_addr="::" 622 local_addr="0.0.0.0" 626 ${connect_addr} ${local_addr} "${extra_args}" 641 ${connect_addr} ${local_addr} "${extra_args}" 649 ${connect_addr} ${local_addr} "${extra_args}" 658 ${connect_addr} ${local_addr} "${extra_args}"
|
/linux/include/linux/qed/ |
A D | qed_nvmetcp_ip_services_if.h | 14 int qed_route_ipv4(struct sockaddr_storage *local_addr, 18 int qed_route_ipv6(struct sockaddr_storage *local_addr,
|
/linux/net/vmw_vsock/ |
A D | vmci_transport.c | 288 if (!vsock_addr_bound(&vsk->local_addr)) in vmci_transport_send_control_pkt() 324 if (!vsock_addr_bound(&vsk->local_addr)) in vmci_transport_send_reset() 492 pkt->dst_port == vpending->local_addr.svm_port) { in vmci_transport_get_pending() 759 vsk->local_addr.svm_cid = dst.svm_cid; in vmci_transport_recv_stream_cb() 821 if (vsk->local_addr.svm_cid == VMADDR_CID_HOST || in vmci_transport_handle_detach() 902 vsock_sk(sk)->local_addr.svm_cid = pkt->dg.dst.context; in vmci_transport_recv_pkt_work() 1406 if (vsk->local_addr.svm_cid == VMADDR_CID_ANY) in vmci_transport_recv_connecting_client_negotiate() 1407 vsk->local_addr.svm_cid = pkt->dg.dst.context; in vmci_transport_recv_connecting_client_negotiate() 1685 vsock_addr_init(&vsk->local_addr, addr->svm_cid, in vmci_transport_dgram_bind() 1715 dg->src = vmci_make_handle(vsk->local_addr.svm_cid, in vmci_transport_dgram_enqueue() [all …]
|
A D | af_vsock.c | 184 struct sockaddr_vm local_addr; in vsock_auto_bind() local 186 if (vsock_addr_bound(&vsk->local_addr)) in vsock_auto_bind() 189 return __vsock_bind(sk, &local_addr); in vsock_auto_bind() 237 if (addr->svm_port == vsk->local_addr.svm_port && in __vsock_find_bound_socket() 238 (vsk->local_addr.svm_cid == VMADDR_CID_ANY || in __vsock_find_bound_socket() 254 dst->svm_port == vsk->local_addr.svm_port) { in __vsock_find_connected_socket() 272 &vsk->remote_addr, &vsk->local_addr); in vsock_insert_connected() 684 if (vsock_addr_bound(&vsk->local_addr)) in __vsock_bind() 928 vm_addr = &vsk->local_addr; in vsock_getname() 1534 if (!vsock_addr_bound(&vsk->local_addr)) { in vsock_listen() [all …]
|
A D | diag.c | 37 rep->vdiag_src_cid = vsk->local_addr.svm_cid; in sk_diag_fill() 38 rep->vdiag_src_port = vsk->local_addr.svm_port; in sk_diag_fill()
|
/linux/drivers/infiniband/hw/cxgb4/ |
A D | cm.c | 398 &ep->com.local_addr; in _c4iw_free_ep() 406 ep->com.local_addr.ss_family); in _c4iw_free_ep() 728 &ep->com.local_addr; in send_connect() 732 &ep->com.local_addr; in send_connect() 1325 memcpy(&event.local_addr, &ep->com.local_addr, in connect_reply_upcall() 1367 memcpy(&event.local_addr, &ep->com.local_addr, in connect_request_upcall() 2325 &ep->com.local_addr; in act_open_rpl() 2607 &child_ep->com.local_addr; in pass_accept_req() 2951 &ep->com.local_addr; in peer_abort() 3467 &ep->com.local_addr; in create_server6() [all …]
|
A D | device.c | 215 *m_lsin = (struct sockaddr_in *)&ep->com.local_addr; in set_ep_sin_addrs() 218 *lsin = (struct sockaddr_in *)&id->local_addr; in set_ep_sin_addrs() 234 *m_lsin6 = (struct sockaddr_in6 *)&ep->com.local_addr; in set_ep_sin6_addrs() 237 *lsin6 = (struct sockaddr_in6 *)&id->local_addr; in set_ep_sin6_addrs() 260 if (ep->com.local_addr.ss_family == AF_INET) { in dump_qp() 567 if (ep->com.local_addr.ss_family == AF_INET) { in dump_ep() 625 if (ep->com.local_addr.ss_family == AF_INET) { in dump_listen_ep() 627 &ep->com.cm_id->local_addr; in dump_listen_ep() 640 &ep->com.cm_id->local_addr; in dump_listen_ep()
|
/linux/include/trace/events/ |
A D | mctp.h | 36 __entry->laddr = key->local_addr; 57 __entry->laddr = key->local_addr;
|
/linux/include/uapi/linux/ |
A D | rds.h | 218 __be32 local_addr; member 231 struct in6_addr local_addr; member 368 __u64 local_addr; member
|
/linux/drivers/target/iscsi/cxgbit/ |
A D | cxgbit_cm.c | 148 &cnp->com.local_addr; in cxgbit_create_server6() 200 &cnp->com.local_addr; in cxgbit_create_server4() 346 int ss_family = cnp->com.local_addr.ss_family; in __cxgbit_setup_cdev_np() 447 sizeof(cnp->com.local_addr)); in cxgbit_setup_np() 473 conn->local_sockaddr = csk->com.local_addr; in cxgbit_set_conn_info() 560 cnp->com.local_addr.ss_family); in __cxgbit_free_cdev_np() 804 &csk->com.local_addr; in _cxgbit_free_csk() 811 csk->com.local_addr.ss_family); in _cxgbit_free_csk() 1283 &cnp->com.local_addr)->sin6_scope_id); in cxgbit_pass_accept_req() 1330 &csk->com.local_addr; in cxgbit_pass_accept_req() [all …]
|
/linux/drivers/infiniband/hw/qedr/ |
A D | qedr_iw_cm.c | 46 struct sockaddr_in *laddr = (struct sockaddr_in *)&event->local_addr; in qedr_fill_sockaddr4() 63 struct sockaddr_in6 *laddr6 = (struct sockaddr_in6 *)&event->local_addr; in qedr_fill_sockaddr6() 557 &cm_id->local_addr, &cm_id->remote_addr); in qedr_iw_connect() 672 "Create Listener address: %pISpc\n", &cm_id->local_addr); in qedr_iw_create_listen() 688 cm_id->local_addr.ss_family == AF_INET) { in qedr_iw_create_listen()
|
/linux/drivers/net/ethernet/sfc/ |
A D | siena_sriov.c | 1084 struct efx_local_addr *local_addr; in efx_siena_sriov_peer_work() local 1118 list_for_each_entry(local_addr, &nic_data->local_addr_list, link) { in efx_siena_sriov_peer_work() 1119 ether_addr_copy(peer->mac_addr, local_addr->addr); in efx_siena_sriov_peer_work() 1173 struct efx_local_addr *local_addr; in efx_siena_sriov_free_local() local 1177 local_addr = list_first_entry(&nic_data->local_addr_list, in efx_siena_sriov_free_local() 1179 list_del(&local_addr->link); in efx_siena_sriov_free_local() 1180 kfree(local_addr); in efx_siena_sriov_free_local()
|
/linux/include/net/ |
A D | mctp.h | 124 mctp_eid_t local_addr; member
|