Searched refs:cinfo (Results 1 – 5 of 5) sorted by relevance
/net/rds/ |
D | connection.c | 741 struct rds_info_connection *cinfo = buffer; in rds_conn_info_visitor() local 747 cinfo->next_tx_seq = cp->cp_next_tx_seq; in rds_conn_info_visitor() 748 cinfo->next_rx_seq = cp->cp_next_rx_seq; in rds_conn_info_visitor() 749 cinfo->laddr = conn->c_laddr.s6_addr32[3]; in rds_conn_info_visitor() 750 cinfo->faddr = conn->c_faddr.s6_addr32[3]; in rds_conn_info_visitor() 751 cinfo->tos = conn->c_tos; in rds_conn_info_visitor() 752 strncpy(cinfo->transport, conn->c_trans->t_name, in rds_conn_info_visitor() 753 sizeof(cinfo->transport)); in rds_conn_info_visitor() 754 cinfo->flags = 0; in rds_conn_info_visitor() 756 rds_conn_info_set(cinfo->flags, test_bit(RDS_IN_XMIT, &cp->cp_flags), in rds_conn_info_visitor() [all …]
|
/net/bluetooth/rfcomm/ |
D | sock.c | 742 struct rfcomm_conninfo cinfo; in rfcomm_sock_getsockopt_old() local 793 memset(&cinfo, 0, sizeof(cinfo)); in rfcomm_sock_getsockopt_old() 794 cinfo.hci_handle = conn->hcon->handle; in rfcomm_sock_getsockopt_old() 795 memcpy(cinfo.dev_class, conn->hcon->dev_class, 3); in rfcomm_sock_getsockopt_old() 797 len = min_t(unsigned int, len, sizeof(cinfo)); in rfcomm_sock_getsockopt_old() 798 if (copy_to_user(optval, (char *) &cinfo, len)) in rfcomm_sock_getsockopt_old()
|
/net/smc/ |
D | smc_diag.c | 108 struct smc_diag_conninfo cinfo = { in __smc_diag_dump() local 141 if (nla_put(skb, SMC_DIAG_CONNINFO, sizeof(cinfo), &cinfo) < 0) in __smc_diag_dump()
|
/net/bluetooth/ |
D | sco.c | 906 struct sco_conninfo cinfo; in sco_sock_getsockopt_old() local 943 memset(&cinfo, 0, sizeof(cinfo)); in sco_sock_getsockopt_old() 944 cinfo.hci_handle = sco_pi(sk)->conn->hcon->handle; in sco_sock_getsockopt_old() 945 memcpy(cinfo.dev_class, sco_pi(sk)->conn->hcon->dev_class, 3); in sco_sock_getsockopt_old() 947 len = min_t(unsigned int, len, sizeof(cinfo)); in sco_sock_getsockopt_old() 948 if (copy_to_user(optval, (char *)&cinfo, len)) in sco_sock_getsockopt_old()
|
D | l2cap_sock.c | 458 struct l2cap_conninfo cinfo; in l2cap_sock_getsockopt_old() local 552 memset(&cinfo, 0, sizeof(cinfo)); in l2cap_sock_getsockopt_old() 553 cinfo.hci_handle = chan->conn->hcon->handle; in l2cap_sock_getsockopt_old() 554 memcpy(cinfo.dev_class, chan->conn->hcon->dev_class, 3); in l2cap_sock_getsockopt_old() 556 len = min_t(unsigned int, len, sizeof(cinfo)); in l2cap_sock_getsockopt_old() 557 if (copy_to_user(optval, (char *) &cinfo, len)) in l2cap_sock_getsockopt_old()
|