Home
last modified time | relevance | path

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

/src/sys/netgraph/bluetooth/l2cap/
H A Dng_l2cap_evnt.c100 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 Dng_l2cap_llpi.c717 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 Dng_l2cap_ulpi.c998 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 Dng_l2cap_var.h130 struct mbuf *rx_pkt; /* received L2CAP packet */ member
H A Dng_l2cap_misc.c263 NG_FREE_M(con->rx_pkt); in ng_l2cap_free_con()
H A Dng_l2cap_main.c581 if (con->rx_pkt != NULL) in ng_l2cap_default_rcvmsg()
/src/sys/contrib/dev/iwlwifi/mld/tests/
H A Drx.c24 } rx_pkt; member
37 .rx_pkt = {
47 .rx_pkt = {
58 .rx_pkt = {
69 .rx_pkt = {
80 .rx_pkt = {
96 .rx_pkt = {
112 .rx_pkt = {
129 .rx_pkt = {
142 .rx_pkt = {
[all …]
H A Dagg.c37 } rx_pkt; member
65 .rx_pkt = {
82 .rx_pkt = {
99 .rx_pkt = {
115 .rx_pkt = {
132 .rx_pkt = {
151 .rx_pkt = {
168 .rx_pkt = {
190 .rx_pkt = {
212 .rx_pkt = {
[all …]
/src/crypto/openssl/test/
H A Dquic_txp_test.c578 OSSL_ACKM_RX_PKT rx_pkt = { 0 }; in schedule_ack() local
582 rx_pkt.pkt_num = i; in schedule_ack()
583 rx_pkt.time = fake_now(NULL); in schedule_ack()
584 rx_pkt.pkt_space = QUIC_PN_SPACE_APP; in schedule_ack()
585 rx_pkt.is_ack_eliciting = 1; in schedule_ack()
587 if (!TEST_true(ossl_ackm_on_rx_packet(h->args.ackm, &rx_pkt))) in schedule_ack()
/src/sys/dev/qlnx/qlnxe/
H A Dqlnx_os.c4393 int rx_pkt = 0; in qlnx_rx_int() local
4455 rx_pkt += qlnx_tpa_end(ha, fp, rxq, in qlnx_rx_int()
4624 rx_pkt++; in qlnx_rx_int()
4634 if (rx_pkt == budget) in qlnx_rx_int()
4641 return rx_pkt; in qlnx_rx_int()