/freebsd-10-stable/usr.sbin/ngctl/ |
H A D | connect.c | 63 struct ngm_connect con; local 74 snprintf(con.path, sizeof(con.path), "%s", av[1]); 75 snprintf(con.ourhook, sizeof(con.ourhook), "%s", av[2]); 76 snprintf(con.peerhook, sizeof(con.peerhook), "%s", av[3]); 84 NGM_CONNECT, &con, sizeof(con)) < 0) {
|
/freebsd-10-stable/sys/netgraph/bluetooth/l2cap/ |
H A D | ng_l2cap_misc.c | 104 ng_l2cap_con_p con = NULL; local 107 con = malloc(sizeof(*con), M_NETGRAPH_L2CAP, 109 if (con == NULL) 112 con->l2cap = l2cap; 113 con->state = NG_L2CAP_CON_CLOSED; 129 con->con_handle = fake_con_handle ++; 133 bcopy(bdaddr, &con->remote, sizeof(con->remote)); 134 ng_callout_init(&con 150 ng_l2cap_con_ref(ng_l2cap_con_p con) argument 171 ng_l2cap_con_unref(ng_l2cap_con_p con) argument 202 ng_l2cap_discon_timeout(ng_l2cap_con_p con) argument 224 ng_l2cap_discon_untimeout(ng_l2cap_con_p con) argument 245 ng_l2cap_free_con(ng_l2cap_con_p con) argument 297 ng_l2cap_con_p con = NULL; local 313 ng_l2cap_con_p con = NULL; local 328 ng_l2cap_new_chan(ng_l2cap_p l2cap, ng_l2cap_con_p con, u_int16_t psm) argument 419 ng_l2cap_new_cmd(ng_l2cap_con_p con, ng_l2cap_chan_p ch, u_int8_t ident, u_int8_t code, u_int32_t token) argument 448 ng_l2cap_cmd_by_ident(ng_l2cap_con_p con, u_int8_t ident) argument 471 ng_l2cap_lp_timeout(ng_l2cap_con_p con) argument 493 ng_l2cap_lp_untimeout(ng_l2cap_con_p con) argument 622 ng_l2cap_get_ident(ng_l2cap_con_p con) argument [all...] |
H A D | ng_l2cap_llpi.c | 71 ng_l2cap_con_p con = NULL; local 75 con = ng_l2cap_con_by_addr(l2cap, bdaddr); 76 if (con != NULL) { 80 __func__, NG_NODE_NAME(l2cap->node), con->state, 81 con->con_handle); 96 con = ng_l2cap_new_con(l2cap, bdaddr); 97 if (con == NULL) 104 ng_l2cap_free_con(con); 113 con->flags |= NG_L2CAP_CON_OUTGOING; 114 con 142 ng_l2cap_con_p con = NULL; local 212 ng_l2cap_con_p con = NULL; local 293 ng_l2cap_con_p con = NULL; local 355 ng_l2cap_con_p con = NULL; local 444 ng_l2cap_con_p con = NULL; local 491 ng_l2cap_lp_send(ng_l2cap_con_p con, u_int16_t dcid, struct mbuf *m0) argument 611 ng_l2cap_con_p con = NULL; local 745 ng_l2cap_lp_deliver(ng_l2cap_con_p con) argument 819 ng_l2cap_con_p con = NULL; local 862 ng_l2cap_con_p con = NULL; local [all...] |
H A D | ng_l2cap_evnt.c | 86 ng_l2cap_receive(ng_l2cap_con_p con) argument 88 ng_l2cap_p l2cap = con->l2cap; 93 if (con->rx_pkt->m_pkthdr.len < sizeof(*hdr)) { 97 con->rx_pkt->m_pkthdr.len); 103 NG_L2CAP_M_PULLUP(con->rx_pkt, sizeof(*hdr)); 104 if (con->rx_pkt == NULL) 107 hdr = mtod(con->rx_pkt, ng_l2cap_hdr_t *); 112 if (hdr->length != con->rx_pkt->m_pkthdr.len - sizeof(*hdr)) { 116 con->rx_pkt->m_pkthdr.len - sizeof(*hdr)); 124 m_adj(con 153 ng_l2cap_process_signal_cmd(ng_l2cap_con_p con) argument 273 ng_l2cap_process_cmd_rej(ng_l2cap_con_p con, u_int8_t ident) argument 347 ng_l2cap_process_con_req(ng_l2cap_con_p con, u_int8_t ident) argument 401 ng_l2cap_process_con_rsp(ng_l2cap_con_p con, u_int8_t ident) argument 521 ng_l2cap_process_cfg_req(ng_l2cap_con_p con, u_int8_t ident) argument 655 ng_l2cap_process_cfg_rsp(ng_l2cap_con_p con, u_int8_t ident) argument 809 ng_l2cap_process_discon_req(ng_l2cap_con_p con, u_int8_t ident) argument 900 ng_l2cap_process_discon_rsp(ng_l2cap_con_p con, u_int8_t ident) argument 969 ng_l2cap_process_echo_req(ng_l2cap_con_p con, u_int8_t ident) argument 1010 ng_l2cap_process_echo_rsp(ng_l2cap_con_p con, u_int8_t ident) argument 1048 ng_l2cap_process_info_req(ng_l2cap_con_p con, u_int8_t ident) argument 1096 ng_l2cap_process_info_rsp(ng_l2cap_con_p con, u_int8_t ident) argument 1172 send_l2cap_reject(ng_l2cap_con_p con, u_int8_t ident, u_int16_t reason, u_int16_t mtu, u_int16_t scid, u_int16_t dcid) argument 1200 send_l2cap_con_rej(ng_l2cap_con_p con, u_int8_t ident, u_int16_t scid, u_int16_t dcid, u_int16_t result) argument 1228 send_l2cap_cfg_rsp(ng_l2cap_con_p con, u_int8_t ident, u_int16_t scid, u_int16_t result, struct mbuf *opt) argument [all...] |
H A D | ng_l2cap_cmds.c | 64 ng_l2cap_con_wakeup(ng_l2cap_con_p con) argument 71 TAILQ_FOREACH(cmd, &con->cmd_list, next) { 72 KASSERT((cmd->con == con), 74 __func__, NG_NODE_NAME(con->l2cap->node))); 103 (void) ng_l2cap_lp_send(con, NG_L2CAP_SIGNAL_CID, m); 109 error = ng_l2cap_lp_send(con, NG_L2CAP_SIGNAL_CID, m); 120 error = ng_l2cap_lp_send(con, NG_L2CAP_SIGNAL_CID, m); 133 error = ng_l2cap_lp_send(con, NG_L2CAP_SIGNAL_CID, m); 145 error = ng_l2cap_lp_send(con, NG_L2CAP_SIGNAL_CI 229 ng_l2cap_con_fail(ng_l2cap_con_p con, u_int16_t result) argument 329 ng_l2cap_con_p con = NULL; local [all...] |
H A D | ng_l2cap_misc.h | 62 #define ng_l2cap_link_cmd(con, cmd) \ 64 TAILQ_INSERT_TAIL(&(con)->cmd_list, (cmd), next); \ 65 ng_l2cap_con_ref((con)); \ 70 TAILQ_REMOVE(&((cmd)->con->cmd_list), (cmd), next); \ 71 ng_l2cap_con_unref((cmd)->con); \
|
H A D | ng_l2cap_ulpi.c | 66 ng_l2cap_con_p con = NULL; local 84 con = ng_l2cap_con_by_addr(l2cap, &ip->bdaddr); 85 if (con == NULL) { 96 con = ng_l2cap_con_by_addr(l2cap, &ip->bdaddr); 97 KASSERT((con != NULL), 106 ch = ng_l2cap_new_chan(l2cap, con, ip->psm); 113 cmd = ng_l2cap_new_cmd(ch->con, ch, ng_l2cap_get_ident(con), 140 ng_l2cap_link_cmd(ch->con, cmd); 141 ng_l2cap_lp_deliver(ch->con); 204 ng_l2cap_con_p con = NULL; local 882 ng_l2cap_l2ca_receive(ng_l2cap_con_p con) argument 956 ng_l2cap_l2ca_clt_receive(ng_l2cap_con_p con) argument 1301 ng_l2cap_con_p con = NULL; local 1377 ng_l2cap_l2ca_ping_rsp(ng_l2cap_con_p con, u_int32_t token, u_int16_t result, struct mbuf *data) argument 1430 ng_l2cap_con_p con = NULL; local 1498 ng_l2cap_l2ca_get_info_rsp(ng_l2cap_con_p con, u_int32_t token, u_int16_t result, struct mbuf *data) argument [all...] |
H A D | ng_l2cap_main.c | 296 ng_l2cap_con_p con = NULL; local 302 con = ng_l2cap_con_by_handle(l2cap, 304 if (con == NULL) 310 ep->con_handle, con->pending, 313 con->pending -= ep->completed; 314 if (con->pending < 0) { 319 con->con_handle, con->pending, 322 con->pending = 0; 325 ng_l2cap_lp_deliver(con); 548 ng_l2cap_con_p con = NULL; local 730 ng_l2cap_con_p con = NULL; local [all...] |
/freebsd-10-stable/sys/netgraph/bluetooth/hci/ |
H A D | ng_hci_misc.c | 145 ng_hci_unit_con_p con = LIST_FIRST(&unit->con_list); local 148 if (con->flags & NG_HCI_CON_TIMEOUT_PENDING) 149 ng_hci_con_untimeout(con); 156 ng_hci_lp_discon_ind(con, reason); 157 ng_hci_free_con(con); 257 ng_hci_unit_con_p con = NULL; local 261 con = malloc(sizeof(*con), M_NETGRAPH_HCI, 263 if (con != NULL) { 264 con 307 ng_hci_free_con(ng_hci_unit_con_p con) argument 334 ng_hci_unit_con_p con = NULL; local 350 ng_hci_unit_con_p con = NULL; local 405 ng_hci_con_timeout(ng_hci_unit_con_p con) argument 426 ng_hci_con_untimeout(ng_hci_unit_con_p con) argument [all...] |
H A D | ng_hci_evnt.c | 249 ng_hci_unit_con_p con = NULL, winner = NULL; local 262 LIST_FOREACH(con, &unit->con_list, next) { 263 if (con->link_type != link_type) 265 if (NG_BT_ITEMQ_LEN(&con->conq) == 0) 268 if (con->pending < min_pending) { 269 winner = con; 270 min_pending = con->pending; 342 sync_con_queue(ng_hci_unit_p unit, ng_hci_unit_con_p con, int completed) argument 349 hook = (con->link_type == NG_HCI_LINK_ACL)? unit->acl : unit->sco; 359 state->con_handle = con 432 ng_hci_unit_con_p con = NULL; local 558 ng_hci_unit_con_p con = NULL; local 643 ng_hci_unit_con_p con = NULL; local 689 ng_hci_unit_con_p con = NULL; local 733 ng_hci_unit_con_p con = NULL; local 785 ng_hci_unit_con_p con = NULL; local 840 ng_hci_unit_con_p con = NULL; local 877 ng_hci_unit_con_p con = NULL; local 935 ng_hci_unit_con_p con = NULL; local 990 ng_hci_unit_con_p con = NULL; local 1041 ng_hci_unit_con_p con = NULL; local [all...] |
H A D | ng_hci_ulpi.c | 116 ng_hci_unit_con_p con = NULL; local 150 con = ng_hci_con_by_bdaddr(unit, &ep->bdaddr, NG_HCI_LINK_ACL); 151 if (con != NULL) { 152 switch (con->state) { 159 con->flags |= NG_HCI_CON_NOTIFY_ACL; 161 con->flags |= NG_HCI_CON_NOTIFY_SCO; 178 cfm->link_type = con->link_type; 179 cfm->con_handle = con->con_handle; 180 bcopy(&con->bdaddr, &cfm->bdaddr, 202 __func__, NG_NODE_NAME(unit->node), con 484 ng_hci_unit_con_p con = NULL; local 568 ng_hci_lp_con_cfm(ng_hci_unit_con_p con, int status) argument 636 ng_hci_lp_con_ind(ng_hci_unit_con_p con, u_int8_t *uclass) argument 692 ng_hci_unit_con_p con = NULL; local 876 ng_hci_lp_discon_ind(ng_hci_unit_con_p con, int reason) argument 941 ng_hci_unit_con_p con = NULL; local 1047 ng_hci_lp_qos_cfm(ng_hci_unit_con_p con, int status) argument 1102 ng_hci_lp_qos_ind(ng_hci_unit_con_p con) argument 1155 ng_hci_unit_con_p con = NULL; local [all...] |
/freebsd-10-stable/contrib/wpa/wpa_supplicant/dbus/ |
H A D | dbus_common_i.h | 17 DBusConnection *con; member in struct:wpas_dbus_priv
|
H A D | dbus_common.c | 33 static void dispatch_data(DBusConnection *con) argument 35 while (dbus_connection_get_dispatch_status(con) == 37 dbus_connection_dispatch(con); 53 DBusConnection *con = eloop_ctx; local 54 dispatch_data(con); 61 dbus_connection_ref(priv->con); 73 dispatch_data(priv->con); 77 dbus_connection_unref(priv->con); 200 if (sig != SIGPOLL || !priv->con) 203 if (dbus_connection_get_dispatch_status(priv->con) ! [all...] |
H A D | dbus_new_helpers.c | 478 obj_desc->connection = iface->con; 482 if (!dbus_connection_register_object_path(iface->con, 492 switch (dbus_bus_request_name(iface->con, dbus_service, 534 DBusConnection *con; local 546 con = ctrl_iface->con; 547 obj_desc->connection = con; 552 if (!dbus_connection_try_register_object_path(con, path, &vtable, 586 DBusConnection *con = ctrl_iface->con; local 658 do_send_prop_changed_signal( DBusConnection *con, const char *path, const char *interface, const struct wpa_dbus_object_desc *obj_dsc) argument 708 do_send_deprecated_prop_changed_signal( DBusConnection *con, const char *path, const char *interface, const struct wpa_dbus_object_desc *obj_dsc) argument 744 send_prop_changed_signal( DBusConnection *con, const char *path, const char *interface, const struct wpa_dbus_object_desc *obj_dsc) argument 769 DBusConnection *con = eloop_ctx; local 778 recursive_flush_changed_properties(DBusConnection *con, const char *path) argument 808 wpa_dbus_flush_all_changed_properties(DBusConnection *con) argument 831 wpa_dbus_flush_object_changed_properties(DBusConnection *con, const char *path) argument [all...] |
H A D | dbus_old.c | 386 dbus_connection_send(iface->con, _signal, NULL); 453 dbus_connection_send(iface->con, _signal, NULL); 489 dbus_connection_send(iface->con, _signal, NULL); 533 dbus_connection_send(iface->con, _signal, NULL); 591 dbus_connection_send(iface->con, _signal, NULL); 616 if (!dbus_connection_register_object_path(iface->con, 626 switch (dbus_bus_request_name(iface->con, WPAS_DBUS_SERVICE, 664 DBusConnection * con; local 674 con = ctrl_iface->con; 707 DBusConnection *con; local [all...] |
H A D | dbus_new_helpers.h | 128 void wpa_dbus_flush_all_changed_properties(DBusConnection *con); 130 void wpa_dbus_flush_object_changed_properties(DBusConnection *con,
|
/freebsd-10-stable/crypto/openssl/ssl/ |
H A D | clienthellotest.c | 91 SSL *con; local 125 con = SSL_new(ctx); 129 SSL_set_bio(con, rbio, wbio); 130 SSL_set_connect_state(con); 134 if (!SSL_set_session_ticket_ext(con, dummytick, strlen(dummytick))) 138 if (SSL_connect(con) > 0) { 203 SSL_free(con);
|
/freebsd-10-stable/crypto/openssl/apps/ |
H A D | s_server.c | 1962 SSL *con = NULL; local 1989 if (con == NULL) { 1990 con = SSL_new(ctx); 1993 SSL_set_tlsext_debug_callback(con, tlsext_cb); 1994 SSL_set_tlsext_debug_arg(con, bio_s_out); 2004 SSL_set0_kssl_ctx(con, kctx); 2010 SSL_set_session_id_context(con, context, strlen((char *)context)); 2012 SSL_clear(con); 2015 SSL_set_tlsext_opaque_prf_input(con, "Test server", 11); 2019 if (SSL_version(con) 2377 init_ssl_connection(SSL *con) argument 2546 SSL *con; local [all...] |
H A D | s_client.c | 222 static void print_stuff(BIO *berr, SSL *con, int full); 624 SSL *con = NULL; local 1213 con = SSL_new(ctx); 1229 SSL_set_session(con, sess); 1234 SSL_set_mode(con, SSL_MODE_SEND_FALLBACK_SCSV); 1238 if (!SSL_set_tlsext_host_name(con, servername)) { 1246 if (con && (kctx = kssl_ctx_new()) != NULL) { 1247 SSL_set0_kssl_ctx(con, kctx); 1251 /* SSL_set_cipher_list(con,"RC4-MD5"); */ 1254 SSL_set_tlsext_opaque_prf_input(con, "Tes [all...] |
/freebsd-10-stable/lib/libutil/ |
H A D | fparseln.c | 87 char esc, con, nl, com; local 101 con = str[1]; 134 if (s && con) { /* Check and eliminate continuations */ 137 if (*cp == con && !isescaped(ptr, cp, esc)) { 177 if (cp[1] == con) 181 if (cp[1] != com && cp[1] != con && cp[1] != esc)
|
/freebsd-10-stable/release/picobsd/tinyware/aps/ |
H A D | main.c | 51 char con[10]; local 86 major="con"; 92 major="con"; 95 sprintf(con,"%s%s",major,minor); 96 printf("%5s %5s %4s (%s)\n",pid,ppid,con,name);
|
/freebsd-10-stable/usr.sbin/pmcstudy/ |
H A D | pmcstudy.c | 522 double br, un, con, res; local 523 con = 20.0; 534 res = (con * br)/un; 557 double br, cl, cl2, cl3, uo, re, un, con, res, is; local 558 con = 4.0; 587 res = (br/(br + cl + cl2 + cl3) * ((is - uo + con * re) / (con * un))); 631 double con, un, memd, res; local 634 con = 5.0; 644 res = (memd * con)/u 679 double con, un, memd, res; local 703 double con, un, memd, res; local 728 double con, un, ld, res; local 790 double con, res, me, un; local 818 double con, res, me, un; local 846 double con, un, me, res; local 907 double con, un, me, res; local 931 double con, un, me, res; local 956 double con, un, d1, d2, res; local 986 double con, un, d1, d2, res; local 1065 double un, con, ic, res; local 1115 double con, un, id, res; local 1141 double con, un, cl1, cl2, cl3, res; local 1172 double un, id, res, con; local 1197 double un, lds, con, res; local 1244 double un, ot, con, res; local 1268 double un, ot, con, res; local 1293 double un, ot, con, res; local [all...] |
/freebsd-10-stable/contrib/sendmail/src/ |
H A D | sfsasl.c | 425 SSL *con; member in struct:tls_obj 431 SSL *con; member in struct:tls_info 467 return SSL_pending(so->con) > 0; 509 so->con = ti->con; 736 r = SSL_read(so->con, (char *) buf, size); 742 switch (ssl_err = SSL_get_error(so->con, r)) 753 rfd = SSL_get_rfd(so->con); 754 wfd = SSL_get_wfd(so->con); 755 try = tls_retry(so->con, rf [all...] |
/freebsd-10-stable/sys/dev/firewire/ |
H A D | fwphyreg.h | 116 con:1, member in struct:phyreg_page0 143 con:1,
|
/freebsd-10-stable/sys/arm/samsung/exynos/ |
H A D | exynos5_pad.c | 153 uint32_t con; member in struct:gpio_bank 338 reg = READ4(sc, bank.port, bank.con); 341 printf("writing 0x%08x to 0x%08x\n", reg, bank.con); 343 WRITE4(sc, bank.port, bank.con, reg); 432 reg = READ4(sc, bank.port, bank.con); 545 if (READ4(sc, bank.port, bank.con + 0x4) & (1 << pin_shift)) 576 reg = READ4(sc, bank.port, bank.con + 0x4); 581 WRITE4(sc, bank.port, bank.con + 0x4, reg); 610 printf("bank is 0x%08x pin_shift %d\n", bank.con, pin_shift); 615 reg = READ4(sc, bank.port, bank.con); [all...] |