Searched refs:con (Results 1 - 25 of 65) sorted by relevance

123

/freebsd-10.0-release/usr.sbin/ngctl/
H A Dconnect.c63 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.0-release/sys/netgraph/bluetooth/l2cap/
H A Dng_l2cap_misc.c104 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 Dng_l2cap_llpi.c71 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 Dng_l2cap_evnt.c86 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 Dng_l2cap_cmds.c64 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 Dng_l2cap_misc.h62 #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 Dng_l2cap_ulpi.c66 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 Dng_l2cap_main.c296 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...]
H A Dng_l2cap_var.h136 ng_l2cap_con_p con; /* pointer to connection */ member in struct:ng_l2cap_chan
169 ng_l2cap_con_p con; /* L2CAP connection */ member in struct:ng_l2cap_cmd
/freebsd-10.0-release/sys/netgraph/bluetooth/hci/
H A Dng_hci_misc.c145 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 Dng_hci_evnt.c249 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 Dng_hci_ulpi.c116 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...]
H A Dng_hci_main.c773 ng_hci_unit_con_p con = NULL; local
824 con = ng_hci_con_by_handle(unit, con_handle);
825 if (con == NULL) {
834 if (con->link_type != NG_HCI_LINK_ACL) {
838 con_handle, con->link_type);
844 if (con->state != NG_HCI_CON_OPEN) {
848 con->state, con_handle);
854 if (NG_BT_ITEMQ_FULL(&con->conq)) {
858 m->m_pkthdr.len, NG_BT_ITEMQ_LEN(&con->conq));
860 NG_BT_ITEMQ_DROP(&con
892 ng_hci_unit_con_p con = NULL; local
[all...]
H A Dng_hci_cmds.c490 ng_hci_unit_con_t *con = NULL; local
498 con = ng_hci_con_by_handle(unit, h);
499 if (con == NULL) {
504 } else if (con->link_type != NG_HCI_LINK_ACL) {
507 con->link_type);
510 con->role = rp->role;
611 ng_hci_unit_con_p con = NULL; local
626 con = LIST_FIRST(&unit->con_list);
629 if (con->flags & NG_HCI_CON_TIMEOUT_PENDING)
630 ng_hci_con_untimeout(con);
[all...]
/freebsd-10.0-release/contrib/wpa/wpa_supplicant/dbus/
H A Ddbus_common_i.h17 DBusConnection *con; member in struct:wpas_dbus_priv
H A Ddbus_common.c33 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 Ddbus_new_helpers.c478 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 Ddbus_old.c386 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 Ddbus_new_helpers.h128 void wpa_dbus_flush_all_changed_properties(DBusConnection *con);
130 void wpa_dbus_flush_object_changed_properties(DBusConnection *con,
/freebsd-10.0-release/crypto/openssl/apps/
H A Ds_server.c1975 SSL *con=NULL; local
2004 if (con == NULL) {
2005 con=SSL_new(ctx);
2009 SSL_set_tlsext_debug_callback(con, tlsext_cb);
2010 SSL_set_tlsext_debug_arg(con, bio_s_out);
2022 SSL_set0_kssl_ctx(con, kctx);
2028 SSL_set_session_id_context(con, context,
2031 SSL_clear(con);
2034 SSL_set_tlsext_opaque_prf_input(con, "Test server", 11);
2038 if (SSL_version(con)
2413 init_ssl_connection(SSL *con) argument
2592 SSL *con; local
[all...]
H A Ds_client.c213 static void print_stuff(BIO *berr,SSL *con,int full);
566 SSL *con=NULL; local
1222 con=SSL_new(ctx);
1243 SSL_set_session(con, sess);
1248 SSL_set_mode(con, SSL_MODE_SEND_FALLBACK_SCSV);
1253 if (!SSL_set_tlsext_host_name(con,servername))
1262 if (con && (kctx = kssl_ctx_new()) != NULL)
1264 SSL_set0_kssl_ctx(con, kctx);
1268 /* SSL_set_cipher_list(con,"RC4-MD5"); */
1271 SSL_set_tlsext_opaque_prf_input(con, "Tes
[all...]
/freebsd-10.0-release/lib/libutil/
H A Dfparseln.c87 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)) {
171 if (cp[1] == con)
175 if (cp[1] != com && cp[1] != con && cp[1] != esc)
/freebsd-10.0-release/release/picobsd/tinyware/aps/
H A Dmain.c51 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.0-release/contrib/sendmail/src/
H A Dsfsasl.c424 SSL *con; member in struct:tls_obj
430 SSL *con; member in struct:tls_info
466 return SSL_pending(so->con) > 0;
508 so->con = ti->con;
732 r = SSL_read(so->con, (char *) buf, size);
738 switch (ssl_err = SSL_get_error(so->con, r))
749 rfd = SSL_get_rfd(so->con);
750 wfd = SSL_get_wfd(so->con);
751 try = tls_retry(so->con, rf
[all...]
/freebsd-10.0-release/sys/dev/firewire/
H A Dfwphyreg.h116 con:1, member in struct:phyreg_page0
143 con:1,

Completed in 144 milliseconds

123