Home
last modified time | relevance | path

Searched refs:session (Results 1 – 13 of 13) sorted by relevance

/net/bluetooth/hidp/
Dcore.c78 struct hidp_session *session; in __hidp_get_session() local
84 session = list_entry(p, struct hidp_session, list); in __hidp_get_session()
85 if (!bacmp(bdaddr, &session->bdaddr)) in __hidp_get_session()
86 return session; in __hidp_get_session()
91 static void __hidp_link_session(struct hidp_session *session) in __hidp_link_session() argument
94 list_add(&session->list, &hidp_session_list); in __hidp_link_session()
97 static void __hidp_unlink_session(struct hidp_session *session) in __hidp_unlink_session() argument
99 list_del(&session->list); in __hidp_unlink_session()
103 static void __hidp_copy_session(struct hidp_session *session, struct hidp_conninfo *ci) in __hidp_copy_session() argument
105 bacpy(&ci->bdaddr, &session->bdaddr); in __hidp_copy_session()
[all …]
Dhidp.h158 static inline void hidp_schedule(struct hidp_session *session) in hidp_schedule() argument
160 struct sock *ctrl_sk = session->ctrl_sock->sk; in hidp_schedule()
161 struct sock *intr_sk = session->intr_sock->sk; in hidp_schedule()
/net/bluetooth/cmtp/
Dcore.c54 struct cmtp_session *session; in __cmtp_get_session() local
60 session = list_entry(p, struct cmtp_session, list); in __cmtp_get_session()
61 if (!bacmp(bdaddr, &session->bdaddr)) in __cmtp_get_session()
62 return session; in __cmtp_get_session()
67 static void __cmtp_link_session(struct cmtp_session *session) in __cmtp_link_session() argument
70 list_add(&session->list, &cmtp_session_list); in __cmtp_link_session()
73 static void __cmtp_unlink_session(struct cmtp_session *session) in __cmtp_unlink_session() argument
75 list_del(&session->list); in __cmtp_unlink_session()
79 static void __cmtp_copy_session(struct cmtp_session *session, struct cmtp_conninfo *ci) in __cmtp_copy_session() argument
81 bacpy(&ci->bdaddr, &session->bdaddr); in __cmtp_copy_session()
[all …]
Dcapi.c71 static struct cmtp_application *cmtp_application_add(struct cmtp_session *session, __u16 appl) in cmtp_application_add() argument
75 BT_DBG("session %p application %p appl %d", session, app, appl); in cmtp_application_add()
83 list_add_tail(&app->list, &session->applications); in cmtp_application_add()
88 static void cmtp_application_del(struct cmtp_session *session, struct cmtp_application *app) in cmtp_application_del() argument
90 BT_DBG("session %p application %p", session, app); in cmtp_application_del()
98 static struct cmtp_application *cmtp_application_get(struct cmtp_session *session, int pattern, __u… in cmtp_application_get() argument
103 list_for_each_safe(p, n, &session->applications) { in cmtp_application_get()
124 static int cmtp_msgnum_get(struct cmtp_session *session) in cmtp_msgnum_get() argument
126 session->msgnum++; in cmtp_msgnum_get()
128 if ((session->msgnum & 0xff) > 200) in cmtp_msgnum_get()
[all …]
Dcmtp.h119 int cmtp_attach_device(struct cmtp_session *session);
120 void cmtp_detach_device(struct cmtp_session *session);
122 void cmtp_recv_capimsg(struct cmtp_session *session, struct sk_buff *skb);
124 static inline void cmtp_schedule(struct cmtp_session *session) in cmtp_schedule() argument
126 struct sock *sk = session->sock->sk; in cmtp_schedule()
/net/rxrpc/
DKconfig2 # RxRPC session sockets
6 tristate "RxRPC session sockets"
11 Say Y or M here to include support for RxRPC session sockets (just
/net/atm/
Dsignaling.c109 session_vcc = vcc->session ? vcc->session : vcc; in sigd_send()
170 static unsigned session = 0; in sigd_enq2() local
188 msg->session = ++session; in sigd_enq2()
/net/bluetooth/rfcomm/
Dcore.c228 struct sock *sk = d->session->sock->sk; in rfcomm_check_security()
325 d->session = s; in rfcomm_dlc_link()
330 struct rfcomm_session *s = d->session; in rfcomm_dlc_unlink()
335 d->session = NULL; in rfcomm_dlc_unlink()
422 struct rfcomm_session *s = d->session; in __rfcomm_dlc_close()
1191 struct sock *sk = d->session->sock->sk; in rfcomm_dlc_accept()
1195 rfcomm_send_ua(d->session, d->dlci); in rfcomm_dlc_accept()
1205 rfcomm_send_msc(d->session, 1, d->dlci, d->v24_sig); in rfcomm_dlc_accept()
1271 struct rfcomm_session *s = d->session; in rfcomm_apply_pn()
1698 rfcomm_send_msc(d->session, 1, d->dlci, d->v24_sig); in rfcomm_process_tx()
[all …]
Dtty.c891 if (!dev || !dev->dlc || !dev->dlc->session) in rfcomm_tty_set_termios()
1013 rfcomm_send_rpn(dev->dlc->session, 1, dev->dlc->dlci, baud, in rfcomm_tty_set_termios()
Dsock.c104 rfcomm_session_getaddr(d->session, &bt_sk(sk)->src, NULL); in rfcomm_sk_state_change()
879 l2cap_sk = rfcomm_pi(sk)->dlc->session->sock->sk; in rfcomm_sock_getsockopt_old()
/net/bluetooth/bnep/
Dcore.c518 static struct device *bnep_get_device(struct bnep_session *session) in bnep_get_device() argument
520 bdaddr_t *src = &bt_sk(session->sock->sk)->src; in bnep_get_device()
521 bdaddr_t *dst = &bt_sk(session->sock->sk)->dst; in bnep_get_device()
/net/decnet/
DTODO34 o Add session control message flow control
/net/netfilter/
DKconfig70 of packets, but this mark value is kept in the conntrack session
230 - Only supports a single call within each session
528 connection mark value previously set for the session by `CONNMARK'.