| /net/mac80211/ |
| A D | tx.c | 759 rate_control_get_rate(tx->sdata, tx->sta, &txrc); in ieee80211_tx_h_rate_ctrl() 785 if (tx->sta && ieee80211_is_tx_data(tx->skb)) in ieee80211_tx_h_rate_ctrl() 1150 tx->sta->sta.addr, tx->sta->sta.aid); in ieee80211_tx_prep_agg() 1211 memset(tx, 0, sizeof(*tx)); in ieee80211_tx_prepare() 1819 ieee80211_free_txskb(&tx->local->hw, tx->skb); in invoke_tx_handlers_early() 1844 __skb_queue_tail(&tx->skbs, tx->skb); in invoke_tx_handlers_late() 1863 ieee80211_free_txskb(&tx->local->hw, tx->skb); in invoke_tx_handlers_late() 3855 memset(&tx, 0, sizeof(tx)); in ieee80211_tx_dequeue() 3919 tx.key, &tx); in ieee80211_tx_dequeue() 3968 tx.sdata = container_of(tx.sdata->bss, in ieee80211_tx_dequeue() [all …]
|
| A D | wpa.h | 15 ieee80211_tx_h_michael_mic_add(struct ieee80211_tx_data *tx); 20 ieee80211_crypto_tkip_encrypt(struct ieee80211_tx_data *tx); 25 ieee80211_crypto_ccmp_encrypt(struct ieee80211_tx_data *tx, 32 ieee80211_crypto_aes_cmac_encrypt(struct ieee80211_tx_data *tx); 34 ieee80211_crypto_aes_cmac_256_encrypt(struct ieee80211_tx_data *tx); 40 ieee80211_crypto_aes_gmac_encrypt(struct ieee80211_tx_data *tx); 45 ieee80211_crypto_gcmp_encrypt(struct ieee80211_tx_data *tx);
|
| A D | wpa.c | 36 struct sk_buff *skb = tx->skb; in ieee80211_tx_h_michael_mic_add() 41 if (!tx->key || tx->key->conf.cipher != WLAN_CIPHER_SUITE_TKIP || in ieee80211_tx_h_michael_mic_add() 253 ieee80211_tx_set_protected(tx); in ieee80211_crypto_tkip_encrypt() 255 skb_queue_walk(&tx->skbs, skb) { in ieee80211_crypto_tkip_encrypt() 503 ieee80211_tx_set_protected(tx); in ieee80211_crypto_ccmp_encrypt() 505 skb_queue_walk(&tx->skbs, skb) { in ieee80211_crypto_ccmp_encrypt() 702 ieee80211_tx_set_protected(tx); in ieee80211_crypto_gcmp_encrypt() 704 skb_queue_walk(&tx->skbs, skb) { in ieee80211_crypto_gcmp_encrypt() 843 skb = skb_peek(&tx->skbs); in ieee80211_crypto_aes_cmac_encrypt() 891 skb = skb_peek(&tx->skbs); in ieee80211_crypto_aes_cmac_256_encrypt() [all …]
|
| A D | wep.c | 277 if (ieee80211_wep_encrypt(tx->local, skb, tx->key->conf.key, in wep_encrypt_skb() 278 tx->key->conf.keylen, in wep_encrypt_skb() 279 tx->key->conf.keyidx)) in wep_encrypt_skb() 283 if (!ieee80211_wep_add_iv(tx->local, skb, in wep_encrypt_skb() 284 tx->key->conf.keylen, in wep_encrypt_skb() 285 tx->key->conf.keyidx)) in wep_encrypt_skb() 293 ieee80211_crypto_wep_encrypt(struct ieee80211_tx_data *tx) in ieee80211_crypto_wep_encrypt() argument 297 ieee80211_tx_set_protected(tx); in ieee80211_crypto_wep_encrypt() 299 skb_queue_walk(&tx->skbs, skb) { in ieee80211_crypto_wep_encrypt() 300 if (wep_encrypt_skb(tx, skb) < 0) { in ieee80211_crypto_wep_encrypt() [all …]
|
| A D | Makefile | 13 ht.o agg-tx.o agg-rx.o \ 30 tx.o \
|
| A D | tkip.c | 155 struct tkip_ctx *ctx = &key->u.tkip.tx; in ieee80211_compute_tkip_p1k() 176 struct tkip_ctx *ctx = &key->u.tkip.tx; in ieee80211_get_tkip_p1k_iv() 202 struct tkip_ctx *ctx = &key->u.tkip.tx; in ieee80211_get_tkip_p2k()
|
| A D | main.c | 673 .tx = 0xffff, 680 .tx = 0xffff, 698 .tx = 0xffff, 709 .tx = 0xffff, 719 .tx = 0xffff, 724 .tx = 0xffff, 734 .tx = 0xffff, 740 .tx = 0xffff, 796 if (WARN_ON(!ops->tx || !ops->start || !ops->stop || !ops->config || in ieee80211_alloc_hw_nm()
|
| A D | agg-rx.c | 59 u16 initiator, u16 reason, bool tx) in __ieee80211_stop_rx_ba_session() argument 95 if (initiator == WLAN_BACK_RECIPIENT && tx) in __ieee80211_stop_rx_ba_session() 274 u16 buf_size, bool tx, bool auto_seq, in __ieee80211_start_rx_ba_session() argument 462 if (tx) in __ieee80211_start_rx_ba_session()
|
| A D | wep.h | 28 ieee80211_crypto_wep_encrypt(struct ieee80211_tx_data *tx);
|
| /net/can/ |
| A D | isotp.c | 416 so->tx.bs = 0; in isotp_rcv_fc() 736 int num = min_t(int, so->tx.len - so->tx.idx, space); in isotp_fill_dataframe() 756 cf->data[pcilen + i] = so->tx.buf[so->tx.idx++]; in isotp_fill_dataframe() 794 so->tx.bs++; in isotp_send_cframe() 849 cf->data[i] = so->tx.buf[so->tx.idx++]; in isotp_create_fframe() 851 so->tx.sn = 1; in isotp_create_fframe() 870 if (so->tx.idx >= so->tx.len) { in isotp_rcv_echo() 969 if (size > so->tx.buflen && so->tx.buflen < max_pdu_size) { in isotp_sendmsg() 1236 if (so->tx.buf != so->tx.sbuf) in isotp_release() 1635 so->tx.buf = so->tx.sbuf; in isotp_init() [all …]
|
| /net/tipc/ |
| A D | crypto.c | 1342 aead = tipc_aead_rcu_ptr(tx->aead[KEY_MASTER], &tx->lock); in tipc_crypto_key_pick_tx() 1350 aead = tipc_aead_rcu_ptr(tx->aead[k], &tx->lock); in tipc_crypto_key_pick_tx() 1415 if (tx->key.keys && in tipc_crypto_key_synch() 1431 if (tx->key.keys && in tipc_crypto_key_synch() 1454 key = tx->key; in tipc_crypto_key_revoke() 1459 tipc_crypto_key_detach(tx->aead[key.active], &tx->lock); in tipc_crypto_key_revoke() 1560 key = tx->key; in tipc_crypto_timeout() 1570 tipc_crypto_key_detach(tx->aead[key.active], &tx->lock); in tipc_crypto_timeout() 1705 if (!tx->working) in tipc_crypto_xmit() 2370 key = tx->key.pending ?: tx->key.active; in tipc_crypto_work_rx() [all …]
|
| A D | crypto.h | 171 int tipc_crypto_key_distr(struct tipc_crypto *tx, u8 key, 174 void tipc_crypto_rekeying_sched(struct tipc_crypto *tx, bool changed,
|
| /net/ipv4/ |
| A D | tcp_rate.c | 65 TCP_SKB_CB(skb)->tx.first_tx_mstamp = tp->first_tx_mstamp; in tcp_rate_skb_sent() 66 TCP_SKB_CB(skb)->tx.delivered_mstamp = tp->delivered_mstamp; in tcp_rate_skb_sent() 67 TCP_SKB_CB(skb)->tx.delivered = tp->delivered; in tcp_rate_skb_sent() 68 TCP_SKB_CB(skb)->tx.delivered_ce = tp->delivered_ce; in tcp_rate_skb_sent() 87 if (!scb->tx.delivered_mstamp) in tcp_rate_skb_delivered() 94 rs->prior_delivered_ce = scb->tx.delivered_ce; in tcp_rate_skb_delivered() 95 rs->prior_delivered = scb->tx.delivered; in tcp_rate_skb_delivered() 96 rs->prior_mstamp = scb->tx.delivered_mstamp; in tcp_rate_skb_delivered() 97 rs->is_app_limited = scb->tx.is_app_limited; in tcp_rate_skb_delivered() 105 scb->tx.first_tx_mstamp); in tcp_rate_skb_delivered() [all …]
|
| /net/core/ |
| A D | netdev-genl.c | 633 netdev_stat_put(rsp, NETDEV_A_QSTATS_TX_STOP, tx->stop) || in netdev_nl_stats_write_tx() 634 netdev_stat_put(rsp, NETDEV_A_QSTATS_TX_WAKE, tx->wake)) in netdev_nl_stats_write_tx() 645 struct netdev_queue_stats_tx tx; in netdev_nl_stats_queue() local 666 memset(&tx, 0xff, sizeof(tx)); in netdev_nl_stats_queue() 667 ops->get_queue_stats_tx(netdev, i, &tx); in netdev_nl_stats_queue() 668 if (!memchr_inv(&tx, 0xff, sizeof(tx))) in netdev_nl_stats_queue() 670 if (netdev_nl_stats_write_tx(rsp, &tx)) in netdev_nl_stats_queue() 743 struct netdev_queue_stats_tx tx; in netdev_stat_queue_sum() local 755 memset(&tx, 0xff, sizeof(tx)); in netdev_stat_queue_sum() 757 ops->get_queue_stats_tx(netdev, i, &tx); in netdev_stat_queue_sum() [all …]
|
| /net/xdp/ |
| A D | xsk.c | 297 if (xskq_cons_present_entries(xs->tx) > xs->tx->nentries / 2) in xsk_tx_writeable() 305 __xskq_cons_release(xs->tx); in __xsk_tx_release() 452 xskq_cons_release(xs->tx); in xsk_tx_peek_desc() 774 xskq_cons_release(xs->tx); in xsk_build_skb() 919 if (unlikely(!xs->tx)) in __xsk_sendmsg() 1004 else if (xs->tx) in xsk_poll() 1122 xskq_destroy(xs->tx); in xsk_release() 1195 if (!xs->rx && !xs->tx) { in xsk_bind() 1452 if (!xs->tx || in xsk_setsockopt() 1557 &off.tx); in xsk_getsockopt() [all …]
|
| A D | xsk_diag.c | 42 if (!err && xs->tx) in xsk_diag_put_rings_cfg() 43 err = xsk_diag_put_ring(xs->tx, XDP_DIAG_TX_RING, nlskb); in xsk_diag_put_rings_cfg() 87 du.n_tx_invalid = xskq_nb_invalid_descs(xs->tx); in xsk_diag_put_stats() 88 du.n_tx_ring_empty = xskq_nb_queue_empty_descs(xs->tx); in xsk_diag_put_stats()
|
| A D | xsk.h | 22 struct xdp_ring_offset_v1 tx; member
|
| A D | xsk_buff_pool.c | 17 if (!xs->tx) in xp_add_xsk() 29 if (!xs->tx) in xp_del_xsk() 49 pool->tx_descs = kvcalloc(xs->tx->nentries, sizeof(*pool->tx_descs), in xp_alloc_tx_descs() 74 if (xs->tx) in xp_create_and_assign_umem()
|
| /net/nfc/nci/ |
| A D | spi.c | 180 struct spi_transfer tx, rx; in __nci_spi_read() local 186 memset(&tx, 0, sizeof(struct spi_transfer)); in __nci_spi_read() 189 tx.tx_buf = req; in __nci_spi_read() 190 tx.len = 2; in __nci_spi_read() 191 tx.cs_change = 0; in __nci_spi_read() 192 tx.speed_hz = nspi->xfer_speed_hz; in __nci_spi_read() 193 spi_message_add_tail(&tx, &m); in __nci_spi_read()
|
| /net/smc/ |
| A D | smc_stats.h | 119 SMC_STAT_PAYLOAD_SUB(_smc_stats, SMC_TYPE_D, tx, _len, _rc); \ 121 SMC_STAT_PAYLOAD_SUB(_smc_stats, SMC_TYPE_R, tx, _len, _rc); \ 175 SMC_STAT_RMB_SIZE_SUB(_smc_stats, SMC_TYPE_D, tx, is_add, l); \ 179 SMC_STAT_RMB_SIZE_SUB(_smc_stats, SMC_TYPE_R, tx, is_add, l); \ 192 SMC_STAT_RMB_SUB(_smc_stats, type, SMC_TYPE_D, tx); \ 196 SMC_STAT_RMB_SUB(_smc_stats, type, SMC_TYPE_R, tx); \
|
| /net/tls/ |
| A D | tls_main.c | 439 int __user *optlen, int tx) in do_tls_getsockopt_conf() argument 462 if (tx) { in do_tls_getsockopt_conf() 464 cctx = &ctx->tx; in do_tls_getsockopt_conf() 614 unsigned int optlen, int tx) in do_tls_setsockopt_conf() argument 629 if (tx) { in do_tls_setsockopt_conf() 691 if (tx) { in do_tls_setsockopt_conf() 735 if (tx) in do_tls_setsockopt_conf() 744 if (tx) { in do_tls_setsockopt_conf() 756 TLS_INC_STATS(sock_net(sk), tx ? LINUX_MIB_TLSTXREKEYERROR in do_tls_setsockopt_conf() 1049 static u16 tls_user_config(struct tls_context *ctx, bool tx) in tls_user_config() argument [all …]
|
| A D | tls_sw.c | 557 memcpy(&rec->iv_data[iv_offset], tls_ctx->tx.iv, in tls_do_encryption() 561 tls_ctx->tx.rec_seq); in tls_do_encryption() 602 tls_advance_record_sn(sk, prot, &tls_ctx->tx); in tls_do_encryption() 809 tls_ctx->tx.rec_seq, record_type, prot); in tls_push_record() 2755 int tls_set_sw_offload(struct sock *sk, int tx, in tls_set_sw_offload() argument 2775 if (tx) { in tls_set_sw_offload() 2786 if (tx) { in tls_set_sw_offload() 2789 cctx = &ctx->tx; in tls_set_sw_offload() 2844 if (!tx && !new_crypto_info) { in tls_set_sw_offload() 2866 if (!tx) in tls_set_sw_offload() [all …]
|
| /net/can/j1939/ |
| A D | transport.c | 736 session->pkt.tx = 0; in j1939_session_tx_rts() 785 session->pkt.tx = session->pkt.tx_acked; in j1939_session_tx_dpo() 803 se_skb = j1939_session_skb_get_by_offset(session, session->pkt.tx * 7); in j1939_session_tx_dat() 817 while (session->pkt.tx < pkt_end) { in j1939_session_tx_dat() 818 dat[0] = session->pkt.tx - session->pkt.dpo + 1; in j1939_session_tx_dat() 819 offset = (session->pkt.tx * 7) - se_skcb->offset; in j1939_session_tx_dat() 828 se_skb->len , session->pkt.tx); in j1939_session_tx_dat() 851 session->pkt.tx++; in j1939_session_tx_dat() 855 if (session->pkt.tx < session->pkt.total && pdelay) { in j1939_session_tx_dat() 1452 session->pkt.tx = session->pkt.tx_acked; in j1939_xtp_rx_cts_one() [all …]
|
| /net/ieee802154/6lowpan/ |
| A D | Makefile | 4 ieee802154_6lowpan-y := core.o rx.o reassembly.o tx.o
|
| /net/mac802154/ |
| A D | Makefile | 3 mac802154-objs := main.o rx.o tx.o mac_cmd.o mib.o \
|