FreeBSD kernel netgraph code
ng_l2cap_ulpi.c File Reference
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/endian.h>
#include <sys/malloc.h>
#include <sys/mbuf.h>
#include <sys/queue.h>
#include <netgraph/ng_message.h>
#include <netgraph/netgraph.h>
#include <netgraph/bluetooth/include/ng_hci.h>
#include <netgraph/bluetooth/include/ng_l2cap.h>
#include <netgraph/bluetooth/l2cap/ng_l2cap_var.h>
#include <netgraph/bluetooth/l2cap/ng_l2cap_cmds.h>
#include <netgraph/bluetooth/l2cap/ng_l2cap_evnt.h>
#include <netgraph/bluetooth/l2cap/ng_l2cap_llpi.h>
#include <netgraph/bluetooth/l2cap/ng_l2cap_ulpi.h>
#include <netgraph/bluetooth/l2cap/ng_l2cap_misc.h>
Include dependency graph for ng_l2cap_ulpi.c:

Go to the source code of this file.

Functions

int ng_l2cap_l2ca_con_req (ng_l2cap_p l2cap, struct ng_mesg *msg)
 
int ng_l2cap_l2ca_con_rsp (ng_l2cap_chan_p ch, u_int32_t token, u_int16_t result, u_int16_t status)
 
int ng_l2cap_l2ca_con_rsp_req (ng_l2cap_p l2cap, struct ng_mesg *msg)
 
int ng_l2cap_l2ca_encryption_change (ng_l2cap_chan_p ch, uint16_t result)
 
int ng_l2cap_l2ca_con_rsp_rsp (ng_l2cap_chan_p ch, u_int32_t token, u_int16_t result)
 
int ng_l2cap_l2ca_con_ind (ng_l2cap_chan_p ch)
 
int ng_l2cap_l2ca_cfg_req (ng_l2cap_p l2cap, struct ng_mesg *msg)
 
int ng_l2cap_l2ca_cfg_rsp (ng_l2cap_chan_p ch, u_int32_t token, u_int16_t result)
 
int ng_l2cap_l2ca_cfg_rsp_req (ng_l2cap_p l2cap, struct ng_mesg *msg)
 
int ng_l2cap_l2ca_cfg_rsp_rsp (ng_l2cap_chan_p ch, u_int32_t token, u_int16_t result)
 
int ng_l2cap_l2ca_cfg_ind (ng_l2cap_chan_p ch)
 
int ng_l2cap_l2ca_write_req (ng_l2cap_p l2cap, struct mbuf *m)
 
int ng_l2cap_l2ca_write_rsp (ng_l2cap_chan_p ch, u_int32_t token, u_int16_t result, u_int16_t length)
 
int ng_l2cap_l2ca_receive (ng_l2cap_con_p con)
 
int ng_l2cap_l2ca_clt_receive (ng_l2cap_con_p con)
 
int ng_l2cap_l2ca_qos_ind (ng_l2cap_chan_p ch)
 
int ng_l2cap_l2ca_discon_req (ng_l2cap_p l2cap, struct ng_mesg *msg)
 
int ng_l2cap_l2ca_discon_rsp (ng_l2cap_chan_p ch, u_int32_t token, u_int16_t result)
 
int ng_l2cap_l2ca_discon_ind (ng_l2cap_chan_p ch)
 
int ng_l2cap_l2ca_grp_create (ng_l2cap_p l2cap, struct ng_mesg *msg)
 
int ng_l2cap_l2ca_grp_close (ng_l2cap_p l2cap, struct ng_mesg *msg)
 
int ng_l2cap_l2ca_grp_add_member_req (ng_l2cap_p l2cap, struct ng_mesg *msg)
 
int ng_l2cap_l2ca_grp_add_member_rsp (ng_l2cap_chan_p ch, u_int32_t token, u_int16_t result)
 
int ng_l2cap_l2ca_grp_rem_member (ng_l2cap_p l2cap, struct ng_mesg *msg)
 
int ng_l2cap_l2ca_grp_get_members (ng_l2cap_p l2cap, struct ng_mesg *msg)
 
int ng_l2cap_l2ca_ping_req (ng_l2cap_p l2cap, struct ng_mesg *msg)
 
int ng_l2cap_l2ca_ping_rsp (ng_l2cap_con_p con, u_int32_t token, u_int16_t result, struct mbuf *data)
 
int ng_l2cap_l2ca_get_info_req (ng_l2cap_p l2cap, struct ng_mesg *msg)
 
int ng_l2cap_l2ca_get_info_rsp (ng_l2cap_con_p con, u_int32_t token, u_int16_t result, struct mbuf *data)
 
int ng_l2cap_l2ca_enable_clt (ng_l2cap_p l2cap, struct ng_mesg *msg)
 

Function Documentation

◆ ng_l2cap_l2ca_cfg_ind()

◆ ng_l2cap_l2ca_cfg_req()

◆ ng_l2cap_l2ca_cfg_rsp()

◆ ng_l2cap_l2ca_cfg_rsp_req()

◆ ng_l2cap_l2ca_cfg_rsp_rsp()

◆ ng_l2cap_l2ca_clt_receive()

◆ ng_l2cap_l2ca_con_ind()

◆ ng_l2cap_l2ca_con_req()

◆ ng_l2cap_l2ca_con_rsp()

◆ ng_l2cap_l2ca_con_rsp_req()

◆ ng_l2cap_l2ca_con_rsp_rsp()

◆ ng_l2cap_l2ca_discon_ind()

◆ ng_l2cap_l2ca_discon_req()

◆ ng_l2cap_l2ca_discon_rsp()

◆ ng_l2cap_l2ca_enable_clt()

◆ ng_l2cap_l2ca_encryption_change()

◆ ng_l2cap_l2ca_get_info_req()

◆ ng_l2cap_l2ca_get_info_rsp()

◆ ng_l2cap_l2ca_grp_add_member_req()

int ng_l2cap_l2ca_grp_add_member_req ( ng_l2cap_p  l2cap,
struct ng_mesg msg 
)

Definition at line 1434 of file ng_l2cap_ulpi.c.

Referenced by ng_l2cap_upper_rcvmsg().

Here is the caller graph for this function:

◆ ng_l2cap_l2ca_grp_add_member_rsp()

int ng_l2cap_l2ca_grp_add_member_rsp ( ng_l2cap_chan_p  ch,
u_int32_t  token,
u_int16_t  result 
)

Definition at line 1445 of file ng_l2cap_ulpi.c.

◆ ng_l2cap_l2ca_grp_close()

int ng_l2cap_l2ca_grp_close ( ng_l2cap_p  l2cap,
struct ng_mesg msg 
)

Definition at line 1423 of file ng_l2cap_ulpi.c.

Referenced by ng_l2cap_upper_rcvmsg().

Here is the caller graph for this function:

◆ ng_l2cap_l2ca_grp_create()

int ng_l2cap_l2ca_grp_create ( ng_l2cap_p  l2cap,
struct ng_mesg msg 
)

Definition at line 1412 of file ng_l2cap_ulpi.c.

Referenced by ng_l2cap_upper_rcvmsg().

Here is the caller graph for this function:

◆ ng_l2cap_l2ca_grp_get_members()

int ng_l2cap_l2ca_grp_get_members ( ng_l2cap_p  l2cap,
struct ng_mesg msg 
)

Definition at line 1468 of file ng_l2cap_ulpi.c.

Referenced by ng_l2cap_upper_rcvmsg().

Here is the caller graph for this function:

◆ ng_l2cap_l2ca_grp_rem_member()

int ng_l2cap_l2ca_grp_rem_member ( ng_l2cap_p  l2cap,
struct ng_mesg msg 
)

Definition at line 1457 of file ng_l2cap_ulpi.c.

Referenced by ng_l2cap_upper_rcvmsg().

Here is the caller graph for this function:

◆ ng_l2cap_l2ca_ping_req()

◆ ng_l2cap_l2ca_ping_rsp()

◆ ng_l2cap_l2ca_qos_ind()

◆ ng_l2cap_l2ca_receive()

◆ ng_l2cap_l2ca_write_req()

◆ ng_l2cap_l2ca_write_rsp()