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

123

/freebsd-11-stable/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-11-stable/sys/netgraph/bluetooth/l2cap/
H A Dng_l2cap_misc.c107 ng_l2cap_con_p con = NULL; local
110 con = malloc(sizeof(*con), M_NETGRAPH_L2CAP,
112 if (con == NULL)
115 con->l2cap = l2cap;
116 con->state = NG_L2CAP_CON_CLOSED;
117 con->encryption = 0;
132 con->con_handle = fake_con_handle ++;
136 bcopy(bdaddr, &con->remote, sizeof(con
154 ng_l2cap_con_ref(ng_l2cap_con_p con) argument
175 ng_l2cap_con_unref(ng_l2cap_con_p con) argument
206 ng_l2cap_discon_timeout(ng_l2cap_con_p con) argument
228 ng_l2cap_discon_untimeout(ng_l2cap_con_p con) argument
249 ng_l2cap_free_con(ng_l2cap_con_p con) argument
301 ng_l2cap_con_p con = NULL; local
318 ng_l2cap_con_p con = NULL; local
333 ng_l2cap_new_chan(ng_l2cap_p l2cap, ng_l2cap_con_p con, u_int16_t psm, int idtype) argument
455 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
484 ng_l2cap_cmd_by_ident(ng_l2cap_con_p con, u_int8_t ident) argument
507 ng_l2cap_lp_timeout(ng_l2cap_con_p con) argument
529 ng_l2cap_lp_untimeout(ng_l2cap_con_p con) argument
677 ng_l2cap_get_ident(ng_l2cap_con_p con) argument
[all...]
H A Dng_l2cap_evnt.c92 ng_l2cap_receive(ng_l2cap_con_p con) argument
94 ng_l2cap_p l2cap = con->l2cap;
99 if (con->rx_pkt->m_pkthdr.len < sizeof(*hdr)) {
103 con->rx_pkt->m_pkthdr.len);
109 NG_L2CAP_M_PULLUP(con->rx_pkt, sizeof(*hdr));
110 if (con->rx_pkt == NULL)
113 hdr = mtod(con->rx_pkt, ng_l2cap_hdr_t *);
118 if (hdr->length != con->rx_pkt->m_pkthdr.len - sizeof(*hdr)) {
122 con->rx_pkt->m_pkthdr.len - sizeof(*hdr));
130 m_adj(con
162 ng_l2cap_process_signal_cmd(ng_l2cap_con_p con) argument
277 ng_l2cap_process_lesignal_cmd(ng_l2cap_con_p con) argument
359 ng_l2cap_process_cmd_urq(ng_l2cap_con_p con, uint8_t ident) argument
367 ng_l2cap_process_cmd_urs(ng_l2cap_con_p con, uint8_t ident) argument
381 ng_l2cap_process_cmd_rej(ng_l2cap_con_p con, u_int8_t ident) argument
455 ng_l2cap_process_con_req(ng_l2cap_con_p con, u_int8_t ident) argument
519 ng_l2cap_process_con_rsp(ng_l2cap_con_p con, u_int8_t ident) argument
642 ng_l2cap_process_cfg_req(ng_l2cap_con_p con, u_int8_t ident) argument
776 ng_l2cap_process_cfg_rsp(ng_l2cap_con_p con, u_int8_t ident) argument
930 ng_l2cap_process_discon_req(ng_l2cap_con_p con, u_int8_t ident) argument
1021 ng_l2cap_process_discon_rsp(ng_l2cap_con_p con, u_int8_t ident) argument
1090 ng_l2cap_process_echo_req(ng_l2cap_con_p con, u_int8_t ident) argument
1131 ng_l2cap_process_echo_rsp(ng_l2cap_con_p con, u_int8_t ident) argument
1169 ng_l2cap_process_info_req(ng_l2cap_con_p con, u_int8_t ident) argument
1217 ng_l2cap_process_info_rsp(ng_l2cap_con_p con, u_int8_t ident) argument
1293 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
1321 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
1349 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
1376 send_l2cap_param_urs(ng_l2cap_con_p con, u_int8_t ident, u_int16_t result) argument
[all...]
H A Dng_l2cap_llpi.c71 ng_l2cap_con_p con = NULL; local
75 con = ng_l2cap_con_by_addr(l2cap, bdaddr, type);
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, type);
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
211 ng_l2cap_con_p con = NULL; local
292 ng_l2cap_con_p con = NULL; local
354 ng_l2cap_con_p con = NULL; local
443 ng_l2cap_con_p con = NULL; local
488 ng_l2cap_con_p con = NULL; local
542 ng_l2cap_lp_send(ng_l2cap_con_p con, u_int16_t dcid, struct mbuf *m0) argument
662 ng_l2cap_con_p con = NULL; local
796 ng_l2cap_lp_deliver(ng_l2cap_con_p con) argument
874 ng_l2cap_con_p con = NULL; local
917 ng_l2cap_con_p con = NULL; local
[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)));
102 (void) ng_l2cap_lp_send(con, NG_L2CAP_SIGNAL_CID, m);
107 (void) ng_l2cap_lp_send(con,
108 (con->linktype == NG_HCI_LINK_ACL)?
117 error = ng_l2cap_lp_send(con, NG_L2CAP_SIGNAL_CID, m);
127 error = ng_l2cap_lp_send(con, NG_L2CAP_SIGNAL_CI
241 ng_l2cap_con_fail(ng_l2cap_con_p con, u_int16_t result) argument
342 ng_l2cap_con_p con = NULL; local
[all...]
H A Dng_l2cap_misc.h64 #define ng_l2cap_link_cmd(con, cmd) \
66 TAILQ_INSERT_TAIL(&(con)->cmd_list, (cmd), next); \
67 ng_l2cap_con_ref((con)); \
72 TAILQ_REMOVE(&((cmd)->con->cmd_list), (cmd), next); \
73 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, ip->linktype);
85 if (con == NULL) {
96 con = ng_l2cap_con_by_addr(l2cap, &ip->bdaddr, ip->linktype);
97 KASSERT((con != NULL),
106 ch = ng_l2cap_new_chan(l2cap, con, ip->psm, ip->idtype);
113 cmd = ng_l2cap_new_cmd(ch->con, ch, ng_l2cap_get_ident(con),
150 ng_l2cap_link_cmd(ch->con, cmd);
151 ng_l2cap_lp_deliver(ch->con);
225 ng_l2cap_con_p con = NULL; local
987 ng_l2cap_l2ca_receive(ng_l2cap_con_p con) argument
1096 ng_l2cap_l2ca_clt_receive(ng_l2cap_con_p con) argument
1480 ng_l2cap_con_p con = NULL; local
1556 ng_l2cap_l2ca_ping_rsp(ng_l2cap_con_p con, u_int32_t token, u_int16_t result, struct mbuf *data) argument
1609 ng_l2cap_con_p con = NULL; local
1677 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);
550 ng_l2cap_con_p con = NULL; local
732 ng_l2cap_con_p con = NULL; local
[all...]
/freebsd-11-stable/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);
258 ng_hci_unit_con_p con = NULL; local
262 con = malloc(sizeof(*con), M_NETGRAPH_HCI,
264 if (con != NULL) {
265 con
308 ng_hci_free_con(ng_hci_unit_con_p con) argument
335 ng_hci_unit_con_p con = NULL; local
351 ng_hci_unit_con_p con = NULL; local
406 ng_hci_con_timeout(ng_hci_unit_con_p con) argument
427 ng_hci_con_untimeout(ng_hci_unit_con_p con) argument
[all...]
H A Dng_hci_evnt.c253 ng_hci_unit_con_p con = NULL, winner = NULL; local
267 LIST_FOREACH(con, &unit->con_list, next) {
268 reallink_type = (con->link_type == NG_HCI_LINK_SCO)?
273 if (NG_BT_ITEMQ_LEN(&con->conq) == 0)
276 if (con->pending < min_pending) {
277 winner = con;
278 min_pending = con->pending;
349 sync_con_queue(ng_hci_unit_p unit, ng_hci_unit_con_p con, int completed) argument
356 hook = (con->link_type != NG_HCI_LINK_SCO)? unit->acl : unit->sco;
366 state->con_handle = con
453 ng_hci_unit_con_p con = NULL; local
658 ng_hci_unit_con_p con = NULL; local
784 ng_hci_unit_con_p con = NULL; local
869 ng_hci_unit_con_p con = NULL; local
915 ng_hci_unit_con_p con = NULL; local
962 ng_hci_unit_con_p con = NULL; local
1015 ng_hci_unit_con_p con = NULL; local
1070 ng_hci_unit_con_p con = NULL; local
1107 ng_hci_unit_con_p con = NULL; local
1165 ng_hci_unit_con_p con = NULL; local
1220 ng_hci_unit_con_p con = NULL; local
1272 ng_hci_unit_con_p con = NULL; local
[all...]
H A Dng_hci_ulpi.c128 ng_hci_unit_con_p con = NULL; local
162 con = ng_hci_con_by_bdaddr(unit, &ep->bdaddr, NG_HCI_LINK_ACL);
163 if (con != NULL) {
164 switch (con->state) {
171 con->flags |= NG_HCI_CON_NOTIFY_ACL;
173 con->flags |= NG_HCI_CON_NOTIFY_SCO;
190 cfm->link_type = con->link_type;
191 cfm->con_handle = con->con_handle;
192 bcopy(&con->bdaddr, &cfm->bdaddr,
214 __func__, NG_NODE_NAME(unit->node), con
492 ng_hci_unit_con_p con = NULL; local
670 ng_hci_unit_con_p con = NULL; local
754 ng_hci_lp_con_cfm(ng_hci_unit_con_p con, int status) argument
818 ng_hci_lp_enc_change(ng_hci_unit_con_p con, int status) argument
853 ng_hci_lp_con_ind(ng_hci_unit_con_p con, u_int8_t *uclass) argument
909 ng_hci_unit_con_p con = NULL; local
1093 ng_hci_lp_discon_ind(ng_hci_unit_con_p con, int reason) argument
1158 ng_hci_unit_con_p con = NULL; local
1264 ng_hci_lp_qos_cfm(ng_hci_unit_con_p con, int status) argument
1319 ng_hci_lp_qos_ind(ng_hci_unit_con_p con) argument
1372 ng_hci_unit_con_p con = NULL; local
[all...]
H A Dng_hci_main.c773 ng_hci_unit_con_p con = NULL; local
822 con = ng_hci_con_by_handle(unit, con_handle);
823 if (con == NULL) {
832 if (con->link_type == NG_HCI_LINK_SCO) {
836 con_handle, con->link_type);
842 if (con->state != NG_HCI_CON_OPEN) {
846 con->state, con_handle);
852 if (NG_BT_ITEMQ_FULL(&con->conq)) {
856 m->m_pkthdr.len, NG_BT_ITEMQ_LEN(&con->conq));
858 NG_BT_ITEMQ_DROP(&con
890 ng_hci_unit_con_p con = NULL; local
[all...]
/freebsd-11-stable/contrib/wpa/wpa_supplicant/dbus/
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);
202 if (sig != SIGPOLL || !priv->con)
205 if (dbus_connection_get_dispatch_status(priv->con) !
[all...]
H A Ddbus_common_i.h19 DBusConnection *con; member in struct:wpas_dbus_priv
H A Ddbus_new_helpers.c481 obj_desc->connection = iface->con;
485 if (!dbus_connection_register_object_path(iface->con, dbus_path,
493 switch (dbus_bus_request_name(iface->con, dbus_service, 0, &error)) {
534 DBusConnection *con; local
545 con = ctrl_iface->con;
546 obj_desc->connection = con;
551 if (!dbus_connection_try_register_object_path(con, path, &vtable,
583 DBusConnection *con = ctrl_iface->con; local
655 do_send_prop_changed_signal( DBusConnection *con, const char *path, const char *interface, const struct wpa_dbus_object_desc *obj_dsc) argument
690 do_send_deprecated_prop_changed_signal( DBusConnection *con, const char *path, const char *interface, const struct wpa_dbus_object_desc *obj_dsc) argument
717 send_prop_changed_signal( DBusConnection *con, const char *path, const char *interface, const struct wpa_dbus_object_desc *obj_dsc) argument
742 DBusConnection *con = eloop_ctx; local
752 recursive_flush_changed_properties(DBusConnection *con, const char *path) argument
782 wpa_dbus_flush_all_changed_properties(DBusConnection *con) argument
805 wpa_dbus_flush_object_changed_properties(DBusConnection *con, const char *path) argument
[all...]
H A Ddbus_new_helpers.h134 void wpa_dbus_flush_all_changed_properties(DBusConnection *con);
136 void wpa_dbus_flush_object_changed_properties(DBusConnection *con,
/freebsd-11-stable/crypto/openssl/ssl/
H A Dclienthellotest.c91 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-11-stable/crypto/openssl/apps/
H A Ds_server.c2186 SSL *con = NULL; local
2213 if (con == NULL) {
2214 con = SSL_new(ctx);
2217 SSL_set_tlsext_debug_callback(con, tlsext_cb);
2218 SSL_set_tlsext_debug_arg(con, bio_s_out);
2228 SSL_set0_kssl_ctx(con, kctx);
2234 SSL_set_session_id_context(con, context, strlen((char *)context));
2236 SSL_clear(con);
2239 SSL_set_tlsext_opaque_prf_input(con, "Test server", 11);
2258 if (socket_mtu < DTLS_get_link_min_mtu(con)) {
2610 init_ssl_connection(SSL *con) argument
2799 SSL *con; local
3208 SSL *con; local
[all...]
H A Ds_client.c223 static void print_stuff(BIO *berr, SSL *con, int full);
662 SSL *con = NULL; local
1405 con = SSL_new(ctx);
1421 SSL_set_session(con, sess);
1426 SSL_set_mode(con, SSL_MODE_SEND_FALLBACK_SCSV);
1430 if (!SSL_set_tlsext_host_name(con, servername)) {
1438 if (con && (kctx = kssl_ctx_new()) != NULL) {
1439 SSL_set0_kssl_ctx(con, kctx);
1443 /* SSL_set_cipher_list(con,"RC4-MD5"); */
1446 SSL_set_tlsext_opaque_prf_input(con, "Tes
[all...]
/freebsd-11-stable/contrib/blacklist/port/
H A Dfparseln.c91 char esc, con, nl, com; local
101 con = str[1];
136 if (s && con) { /* Check and eliminate continuations */
139 if (*cp == con && !isescaped(ptr, cp, esc)) {
182 if (cp[1] == con)
186 if (cp[1] != com && cp[1] != con && cp[1] != esc)
/freebsd-11-stable/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)) {
177 if (cp[1] == con)
181 if (cp[1] != com && cp[1] != con && cp[1] != esc)
/freebsd-11-stable/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-11-stable/usr.sbin/pmcstudy/
H A Dpmcstudy.c526 double br, un, con, res; local
527 con = 20.0;
538 res = (con * br)/un;
561 double br, cl, cl2, cl3, uo, re, un, con, res, is; local
562 con = 4.0;
591 res = (br/(br + cl + cl2 + cl3) * ((is - uo + con * re) / (con * un)));
607 double br, cl, uo, uo_r, re, con, un, res; local
609 con = 4.0;
633 res = br / (br + cl) * (uo - uo_r + con * r
678 double con, un, memd, res; local
703 double con, un, memd, res; local
776 double con, un, memd, res; local
800 double con, un, memd, res; local
825 double con, un, memd, memtoo, res; local
854 double con, un, ld, res; local
916 double con, res, me, un; local
944 double con, res, me, un; local
972 double con, un, me, res; local
1036 double con, un, me, res; local
1061 double con, un, me, res; local
1085 double con, un, me, res; local
1110 double con, un, me, res; local
1135 double con, un, d1, d2, res; local
1165 double con, un, d1, d2, res; local
1273 double un, con, ic, res; local
1323 double con, un, id, res; local
1349 double con, un, cl1, cl2, cl3, res; local
1381 double con, un, cl1, cl2, cl3, cy, res; local
1419 double un, id, res, con; local
1445 double un, id, res, con, uoi, uor; local
1476 double un, lds, con, res; local
1500 double un, lds, con, res; local
1548 double un, ot, con, res; local
1572 double un, ot, con, res; local
1597 double un, ot, con, res; local
[all...]
/freebsd-11-stable/contrib/sendmail/src/
H A Dsfsasl.c426 SSL *con; member in struct:tls_obj
432 SSL *con; member in struct:tls_info
468 return SSL_pending(so->con) > 0;
510 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-11-stable/sys/dev/firewire/
H A Dfwphyreg.h116 con:1, member in struct:phyreg_page0
143 con:1,

Completed in 306 milliseconds

123