Searched refs:rx_pkt (Results 1 – 7 of 7) sorted by relevance
/freebsd/sys/netgraph/bluetooth/l2cap/ |
H A D | ng_l2cap_evnt.c | 100 if (con->rx_pkt->m_pkthdr.len < sizeof(*hdr)) { in ng_l2cap_receive() 104 con->rx_pkt->m_pkthdr.len); in ng_l2cap_receive() 110 NG_L2CAP_M_PULLUP(con->rx_pkt, sizeof(*hdr)); in ng_l2cap_receive() 111 if (con->rx_pkt == NULL) in ng_l2cap_receive() 114 hdr = mtod(con->rx_pkt, ng_l2cap_hdr_t *); in ng_l2cap_receive() 119 if (hdr->length != con->rx_pkt->m_pkthdr.len - sizeof(*hdr)) { in ng_l2cap_receive() 123 con->rx_pkt->m_pkthdr.len - sizeof(*hdr)); in ng_l2cap_receive() 131 m_adj(con->rx_pkt, sizeof(*hdr)); in ng_l2cap_receive() 135 m_adj(con->rx_pkt, sizeof(*hdr)); in ng_l2cap_receive() 149 NG_FREE_M(con->rx_pkt); in ng_l2cap_receive() [all …]
|
H A D | ng_l2cap_llpi.c | 717 if (con->rx_pkt != NULL) { in ng_l2cap_lp_receive() 721 con->rx_pkt->m_pkthdr.len, con->rx_pkt_len); in ng_l2cap_lp_receive() 722 NG_FREE_M(con->rx_pkt); in ng_l2cap_lp_receive() 748 con->rx_pkt = m; in ng_l2cap_lp_receive() 751 if (con->rx_pkt == NULL) { in ng_l2cap_lp_receive() 760 m_cat(con->rx_pkt, m); in ng_l2cap_lp_receive() 761 con->rx_pkt->m_pkthdr.len += length; in ng_l2cap_lp_receive() 775 con->rx_pkt->m_pkthdr.len, con->rx_pkt_len); in ng_l2cap_lp_receive() 776 NG_FREE_M(con->rx_pkt); in ng_l2cap_lp_receive() 781 con->rx_pkt = NULL; in ng_l2cap_lp_receive()
|
H A D | ng_l2cap_ulpi.c | 998 NG_L2CAP_M_PULLUP(con->rx_pkt, sizeof(*hdr)); in ng_l2cap_l2ca_receive() 999 if (con->rx_pkt == NULL) in ng_l2cap_l2ca_receive() 1002 hdr = mtod(con->rx_pkt, ng_l2cap_hdr_t *); in ng_l2cap_l2ca_receive() 1077 M_PREPEND(con->rx_pkt, sizeof(uint16_t), M_NOWAIT); in ng_l2cap_l2ca_receive() 1078 if(con->rx_pkt == NULL) in ng_l2cap_l2ca_receive() 1080 idp = mtod(con->rx_pkt, uint16_t *); in ng_l2cap_l2ca_receive() 1083 NG_SEND_DATA_ONLY(error, l2cap->l2c, con->rx_pkt); in ng_l2cap_l2ca_receive() 1084 con->rx_pkt = NULL; in ng_l2cap_l2ca_receive() 1086 NG_FREE_M(con->rx_pkt); /* checks for != NULL */ in ng_l2cap_l2ca_receive() 1106 NG_L2CAP_M_PULLUP(con->rx_pkt, sizeof(*hdr)); in ng_l2cap_l2ca_clt_receive() [all …]
|
H A D | ng_l2cap_var.h | 130 struct mbuf *rx_pkt; /* received L2CAP packet */ member
|
H A D | ng_l2cap_misc.c | 263 NG_FREE_M(con->rx_pkt); in ng_l2cap_free_con()
|
H A D | ng_l2cap_main.c | 581 if (con->rx_pkt != NULL) in ng_l2cap_default_rcvmsg()
|
/freebsd/sys/dev/qlnx/qlnxe/ |
H A D | qlnx_os.c | 4520 int rx_pkt = 0; in qlnx_rx_int() local 4582 rx_pkt += qlnx_tpa_end(ha, fp, rxq, in qlnx_rx_int() 4751 rx_pkt++; in qlnx_rx_int() 4761 if (rx_pkt == budget) in qlnx_rx_int() 4768 return rx_pkt; in qlnx_rx_int()
|