Home
last modified time | relevance | path

Searched refs:rx_pkt (Results 1 – 8 of 8) sorted by relevance

/NextBSD/sys/netgraph/bluetooth/l2cap/
HDng_l2cap_evnt.c99 if (con->rx_pkt->m_pkthdr.len < sizeof(*hdr)) { in ng_l2cap_receive()
103 con->rx_pkt->m_pkthdr.len); in ng_l2cap_receive()
109 NG_L2CAP_M_PULLUP(con->rx_pkt, sizeof(*hdr)); in ng_l2cap_receive()
110 if (con->rx_pkt == NULL) in ng_l2cap_receive()
113 hdr = mtod(con->rx_pkt, ng_l2cap_hdr_t *); in ng_l2cap_receive()
118 if (hdr->length != con->rx_pkt->m_pkthdr.len - sizeof(*hdr)) { in ng_l2cap_receive()
122 con->rx_pkt->m_pkthdr.len - sizeof(*hdr)); in ng_l2cap_receive()
130 m_adj(con->rx_pkt, sizeof(*hdr)); in ng_l2cap_receive()
134 m_adj(con->rx_pkt, sizeof(*hdr)); in ng_l2cap_receive()
148 NG_FREE_M(con->rx_pkt); in ng_l2cap_receive()
[all …]
HDng_l2cap_llpi.c715 if (con->rx_pkt != NULL) { in ng_l2cap_lp_receive()
719 con->rx_pkt->m_pkthdr.len, con->rx_pkt_len); in ng_l2cap_lp_receive()
720 NG_FREE_M(con->rx_pkt); in ng_l2cap_lp_receive()
746 con->rx_pkt = m; in ng_l2cap_lp_receive()
749 if (con->rx_pkt == NULL) { in ng_l2cap_lp_receive()
758 m_cat(con->rx_pkt, m); in ng_l2cap_lp_receive()
759 con->rx_pkt->m_pkthdr.len += length; in ng_l2cap_lp_receive()
773 con->rx_pkt->m_pkthdr.len, con->rx_pkt_len); in ng_l2cap_lp_receive()
774 NG_FREE_M(con->rx_pkt); in ng_l2cap_lp_receive()
779 con->rx_pkt = NULL; in ng_l2cap_lp_receive()
HDng_l2cap_ulpi.c997 NG_L2CAP_M_PULLUP(con->rx_pkt, sizeof(*hdr)); in ng_l2cap_l2ca_receive()
998 if (con->rx_pkt == NULL) in ng_l2cap_l2ca_receive()
1001 hdr = mtod(con->rx_pkt, ng_l2cap_hdr_t *); in ng_l2cap_l2ca_receive()
1076 M_PREPEND(con->rx_pkt, sizeof(uint16_t), M_NOWAIT); in ng_l2cap_l2ca_receive()
1077 if(con->rx_pkt == NULL) in ng_l2cap_l2ca_receive()
1079 idp = mtod(con->rx_pkt, uint16_t *); in ng_l2cap_l2ca_receive()
1082 NG_SEND_DATA_ONLY(error, l2cap->l2c, con->rx_pkt); in ng_l2cap_l2ca_receive()
1083 con->rx_pkt = NULL; in ng_l2cap_l2ca_receive()
1085 NG_FREE_M(con->rx_pkt); /* checks for != NULL */ in ng_l2cap_l2ca_receive()
1105 NG_L2CAP_M_PULLUP(con->rx_pkt, sizeof(*hdr)); in ng_l2cap_l2ca_clt_receive()
[all …]
HDng_l2cap_var.h129 struct mbuf *rx_pkt; /* received L2CAP packet */ member
HDng_l2cap_misc.c262 NG_FREE_M(con->rx_pkt); in ng_l2cap_free_con()
HDng_l2cap_main.c580 if (con->rx_pkt != NULL) in ng_l2cap_default_rcvmsg()
/NextBSD/sys/contrib/octeon-sdk/
HDcvmx-ilk.c1254 *pstats->chan_list, ilk_rxx_mem_stat0.s.rx_pkt, in cvmx_ilk_show_stats()
1316 ilk_rxx_mem_stat0.s.rx_pkt, in cvmx_ilk_show_stats()
1324 ilk_rxx_mem_stat0.s.rx_pkt, in cvmx_ilk_show_stats()
HDcvmx-ilk-defs.h2053 uint64_t rx_pkt : 28; /**< Number of packets received (256M) member
2057 uint64_t rx_pkt : 28;