/net/sched/ |
D | em_text.c | 51 struct tcf_em_text *conf = data; in em_text_change() local 55 if (len < sizeof(*conf) || len < (sizeof(*conf) + conf->pattern_len)) in em_text_change() 58 if (conf->from_layer > conf->to_layer) in em_text_change() 61 if (conf->from_layer == conf->to_layer && in em_text_change() 62 conf->from_offset > conf->to_offset) in em_text_change() 66 ts_conf = textsearch_prepare(conf->algo, (u8 *) conf + sizeof(*conf), in em_text_change() 67 conf->pattern_len, GFP_KERNEL, flags); in em_text_change() 90 tm->from_offset = conf->from_offset; in em_text_change() 91 tm->to_offset = conf->to_offset; in em_text_change() 92 tm->from_layer = conf->from_layer; in em_text_change() [all …]
|
D | em_canid.c | 126 struct can_filter *conf = data; /* Array with rules */ in em_canid_change() local 157 if (conf[i].can_id & CAN_EFF_FLAG) { in em_canid_change() 159 &conf[i], in em_canid_change() 168 if (!(conf[i].can_id & CAN_EFF_FLAG)) { in em_canid_change() 172 &conf[i], sizeof(struct can_filter)); in em_canid_change() 177 conf[i].can_id, conf[i].can_mask); in em_canid_change()
|
D | sch_generic.c | 1007 const struct tc_ratespec *conf, in psched_ratecfg_precompute() argument 1011 r->overhead = conf->overhead; in psched_ratecfg_precompute() 1012 r->rate_bytes_ps = max_t(u64, conf->rate, rate64); in psched_ratecfg_precompute() 1013 r->linklayer = (conf->linklayer & TC_LINKLAYER_MASK); in psched_ratecfg_precompute()
|
/net/netfilter/ |
D | xt_string.c | 28 const struct xt_string_info *conf = par->matchinfo; in string_mt() local 31 invert = conf->u.v1.flags & XT_STRING_FLAG_INVERT; in string_mt() 33 return (skb_find_text((struct sk_buff *)skb, conf->from_offset, in string_mt() 34 conf->to_offset, conf->config) in string_mt() 42 struct xt_string_info *conf = par->matchinfo; in string_mt_check() local 47 if (conf->from_offset > conf->to_offset) in string_mt_check() 49 if (conf->algo[XT_STRING_MAX_ALGO_NAME_SIZE - 1] != '\0') in string_mt_check() 51 if (conf->patlen > XT_STRING_MAX_PATTERN_SIZE) in string_mt_check() 53 if (conf->u.v1.flags & in string_mt_check() 56 if (conf->u.v1.flags & XT_STRING_FLAG_IGNORECASE) in string_mt_check() [all …]
|
/net/mac80211/ |
D | key.c | 158 if (sta && !(key->conf.flags & IEEE80211_KEY_FLAG_PAIRWISE) && in ieee80211_key_enable_hw_accel() 171 if (!(key->conf.flags & IEEE80211_KEY_FLAG_PAIRWISE)) in ieee80211_key_enable_hw_accel() 176 sta ? &sta->sta : NULL, &key->conf); in ieee80211_key_enable_hw_accel() 181 if (!((key->conf.flags & IEEE80211_KEY_FLAG_GENERATE_MMIC) || in ieee80211_key_enable_hw_accel() 182 (key->conf.flags & IEEE80211_KEY_FLAG_RESERVE_TAILROOM))) in ieee80211_key_enable_hw_accel() 185 WARN_ON((key->conf.flags & IEEE80211_KEY_FLAG_PUT_IV_SPACE) && in ieee80211_key_enable_hw_accel() 186 (key->conf.flags & IEEE80211_KEY_FLAG_GENERATE_IV)); in ieee80211_key_enable_hw_accel() 194 key->conf.keyidx, in ieee80211_key_enable_hw_accel() 198 switch (key->conf.cipher) { in ieee80211_key_enable_hw_accel() 240 if (!((key->conf.flags & IEEE80211_KEY_FLAG_GENERATE_MMIC) || in ieee80211_key_disable_hw_accel() [all …]
|
D | chan.c | 70 struct ieee80211_chanctx_conf *conf; in ieee80211_vif_get_chanctx() local 72 conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in ieee80211_vif_get_chanctx() 74 if (!conf) in ieee80211_vif_get_chanctx() 77 return container_of(conf, struct ieee80211_chanctx, conf); in ieee80211_vif_get_chanctx() 243 struct ieee80211_chanctx_conf *conf) in ieee80211_get_chanctx_max_required_bw() argument 256 if (rcu_access_pointer(sdata->vif.chanctx_conf) != conf) in ieee80211_get_chanctx_max_required_bw() 294 if (sdata && rcu_access_pointer(sdata->vif.chanctx_conf) == conf) in ieee80211_get_chanctx_max_required_bw() 295 max_bw = max(max_bw, conf->def.width); in ieee80211_get_chanctx_max_required_bw() 316 if (ctx->conf.def.width == NL80211_CHAN_WIDTH_5 || in ieee80211_recalc_chanctx_min_def() 317 ctx->conf.def.width == NL80211_CHAN_WIDTH_10 || in ieee80211_recalc_chanctx_min_def() [all …]
|
D | debugfs_key.c | 51 KEY_READ(conf_##name, conf.name, format_string) 78 u32 c = key->conf.cipher; in key_algorithm_read() 93 switch (key->conf.cipher) { in key_tx_spec_write() 114 atomic64_set(&key->conf.tx_pn, pn); in key_tx_spec_write() 129 switch (key->conf.cipher) { in key_tx_spec_read() 135 pn = atomic64_read(&key->conf.tx_pn); in key_tx_spec_read() 148 pn = atomic64_read(&key->conf.tx_pn); in key_tx_spec_read() 168 switch (key->conf.cipher) { in key_rx_spec_read() 235 switch (key->conf.cipher) { in key_replays_read() 268 switch (key->conf.cipher) { in key_icverrors_read() [all …]
|
D | wep.c | 248 if (!key || keyidx != key->conf.keyidx) in ieee80211_wep_decrypt() 251 klen = 3 + key->conf.keylen; in ieee80211_wep_decrypt() 257 memcpy(rc4key + 3, key->conf.key, key->conf.keylen); in ieee80211_wep_decrypt() 310 if (ieee80211_wep_encrypt(tx->local, skb, tx->key->conf.key, in wep_encrypt_skb() 311 tx->key->conf.keylen, in wep_encrypt_skb() 312 tx->key->conf.keyidx)) in wep_encrypt_skb() 317 tx->key->conf.keylen, in wep_encrypt_skb() 318 tx->key->conf.keyidx)) in wep_encrypt_skb()
|
D | cfg.c | 201 struct cfg80211_nan_conf *conf) in ieee80211_start_nan() argument 216 ret = drv_start_nan(sdata->local, sdata, conf); in ieee80211_start_nan() 220 sdata->u.nan.conf = *conf; in ieee80211_start_nan() 236 struct cfg80211_nan_conf *conf, in ieee80211_nan_change_conf() argument 249 new_conf = sdata->u.nan.conf; in ieee80211_nan_change_conf() 252 new_conf.master_pref = conf->master_pref; in ieee80211_nan_change_conf() 255 new_conf.bands = conf->bands; in ieee80211_nan_change_conf() 259 sdata->u.nan.conf = new_conf; in ieee80211_nan_change_conf() 398 key->conf.flags |= IEEE80211_KEY_FLAG_PAIRWISE; in ieee80211_add_key() 424 key->conf.flags |= IEEE80211_KEY_FLAG_RX_MGMT; in ieee80211_add_key() [all …]
|
D | tkip.c | 159 const u8 *tk = &key->conf.key[NL80211_TKIP_DATA_OFFSET_ENCR_KEY]; in ieee80211_compute_tkip_p1k() 178 container_of(keyconf, struct ieee80211_key, conf); in ieee80211_get_tkip_p1k_iv() 203 container_of(keyconf, struct ieee80211_key, conf); in ieee80211_get_tkip_p2k() 204 const u8 *tk = &key->conf.key[NL80211_TKIP_DATA_OFFSET_ENCR_KEY]; in ieee80211_get_tkip_p2k() 232 ieee80211_get_tkip_p2k(&key->conf, skb, rc4key); in ieee80211_tkip_encrypt_data() 252 const u8 *tk = &key->conf.key[NL80211_TKIP_DATA_OFFSET_ENCR_KEY]; in ieee80211_tkip_decrypt_data() 266 if ((keyid >> 6) != key->conf.keyidx) in ieee80211_tkip_decrypt_data() 305 drv_update_tkip_key(key->local, sdata, &key->conf, key->sta, in ieee80211_tkip_decrypt_data()
|
D | wpa.c | 43 if (!tx->key || tx->key->conf.cipher != WLAN_CIPHER_SUITE_TKIP || in ieee80211_tx_h_michael_mic_add() 62 !(tx->key->conf.flags & IEEE80211_KEY_FLAG_GENERATE_MMIC)) { in ieee80211_tx_h_michael_mic_add() 78 key = &tx->key->conf.key[NL80211_TKIP_DATA_OFFSET_TX_MIC_KEY]; in ieee80211_tx_h_michael_mic_add() 117 rx->key->conf.cipher == WLAN_CIPHER_SUITE_TKIP) in ieee80211_rx_h_michael_mic_verify() 128 if (!rx->key || rx->key->conf.cipher != WLAN_CIPHER_SUITE_TKIP || in ieee80211_rx_h_michael_mic_verify() 132 if (rx->sdata->vif.type == NL80211_IFTYPE_AP && rx->key->conf.keyidx) { in ieee80211_rx_h_michael_mic_verify() 155 key = &rx->key->conf.key[NL80211_TKIP_DATA_OFFSET_RX_MIC_KEY]; in ieee80211_rx_h_michael_mic_verify() 183 rx->key ? rx->key->conf.keyidx : -1, in ieee80211_rx_h_michael_mic_verify() 227 pn = atomic64_inc_return(&key->conf.tx_pn); in tkip_encrypt_skb() 228 pos = ieee80211_tkip_add_iv(pos, &key->conf, pn); in tkip_encrypt_skb() [all …]
|
D | main.c | 99 offchannel_flag = local->hw.conf.flags & IEEE80211_CONF_OFFCHANNEL; in ieee80211_hw_conf_chan() 116 local->hw.conf.flags |= IEEE80211_CONF_OFFCHANNEL; in ieee80211_hw_conf_chan() 118 local->hw.conf.flags &= ~IEEE80211_CONF_OFFCHANNEL; in ieee80211_hw_conf_chan() 120 offchannel_flag ^= local->hw.conf.flags & IEEE80211_CONF_OFFCHANNEL; in ieee80211_hw_conf_chan() 123 !cfg80211_chandef_identical(&local->hw.conf.chandef, in ieee80211_hw_conf_chan() 125 local->hw.conf.chandef = chandef; in ieee80211_hw_conf_chan() 129 if (!conf_is_ht(&local->hw.conf)) { in ieee80211_hw_conf_chan() 135 local->hw.conf.smps_mode = IEEE80211_SMPS_STATIC; in ieee80211_hw_conf_chan() 136 } else if (local->hw.conf.smps_mode != local->smps_mode) { in ieee80211_hw_conf_chan() 137 local->hw.conf.smps_mode = local->smps_mode; in ieee80211_hw_conf_chan() [all …]
|
D | driver-ops.h | 259 struct ieee80211_key_conf *conf, in drv_update_tkip_key() argument 272 trace_drv_update_tkip_key(local, sdata, conf, ista, iv32); in drv_update_tkip_key() 274 local->ops->update_tkip_key(&local->hw, &sdata->vif, conf, in drv_update_tkip_key() 388 local->ops->get_key_seq(&local->hw, &key->conf, seq); in drv_get_key_seq() 389 trace_drv_get_key_seq(local, &key->conf); in drv_get_key_seq() 855 ret = local->ops->add_chanctx(&local->hw, &ctx->conf); in drv_add_chanctx() 873 local->ops->remove_chanctx(&local->hw, &ctx->conf); in drv_remove_chanctx() 887 local->ops->change_chanctx(&local->hw, &ctx->conf, changed); in drv_change_chanctx() 906 &ctx->conf); in drv_assign_vif_chanctx() 927 &ctx->conf); in drv_unassign_vif_chanctx() [all …]
|
D | trace.h | 70 #define CHANCTX_ASSIGN CHANDEF_ASSIGN(&ctx->conf.def) \ 71 MIN_CHANDEF_ASSIGN(&ctx->conf.min_def) \ 72 __entry->rx_chains_static = ctx->conf.rx_chains_static; \ 73 __entry->rx_chains_dynamic = ctx->conf.rx_chains_dynamic 363 __entry->flags = local->hw.conf.flags; 364 __entry->power_level = local->hw.conf.power_level; 365 __entry->dynamic_ps_timeout = local->hw.conf.dynamic_ps_timeout; 366 __entry->listen_interval = local->hw.conf.listen_interval; 368 local->hw.conf.long_frame_max_tx_count; 370 local->hw.conf.short_frame_max_tx_count; [all …]
|
D | driver-ops.c | 268 conf); in drv_switch_vif_chanctx() 272 conf); in drv_switch_vif_chanctx() 291 conf); in drv_switch_vif_chanctx() 295 conf); in drv_switch_vif_chanctx()
|
D | pm.c | 103 !(local->hw.conf.flags & IEEE80211_CONF_PS)) { in __ieee80211_suspend() 104 local->hw.conf.flags |= IEEE80211_CONF_PS; in __ieee80211_suspend()
|
D | mlme.c | 689 cpu_to_le16(local->hw.conf.listen_interval); in ieee80211_send_assoc() 698 cpu_to_le16(local->hw.conf.listen_interval); in ieee80211_send_assoc() 1150 struct ieee80211_chanctx_conf *conf; in ieee80211_sta_process_chanswitch() local 1213 conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in ieee80211_sta_process_chanswitch() 1215 if (!conf) { in ieee80211_sta_process_chanswitch() 1221 chanctx = container_of(conf, struct ieee80211_chanctx, conf); in ieee80211_sta_process_chanswitch() 1438 struct ieee80211_conf *conf = &local->hw.conf; in ieee80211_enable_ps() local 1447 if (conf->dynamic_ps_timeout > 0 && in ieee80211_enable_ps() 1450 msecs_to_jiffies(conf->dynamic_ps_timeout)); in ieee80211_enable_ps() 1459 conf->flags |= IEEE80211_CONF_PS; in ieee80211_enable_ps() [all …]
|
D | offchannel.c | 42 if (local->hw.conf.flags & IEEE80211_CONF_PS) { in ieee80211_offchannel_ps_enable() 44 local->hw.conf.flags &= ~IEEE80211_CONF_PS; in ieee80211_offchannel_ps_enable() 87 local->hw.conf.flags |= IEEE80211_CONF_PS; in ieee80211_offchannel_ps_disable() 89 } else if (local->hw.conf.dynamic_ps_timeout > 0) { in ieee80211_offchannel_ps_disable() 98 msecs_to_jiffies(local->hw.conf.dynamic_ps_timeout)); in ieee80211_offchannel_ps_disable()
|
D | tdls.c | 1248 struct ieee80211_chanctx_conf *conf; in iee80211_tdls_recalc_chanctx() local 1254 conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in iee80211_tdls_recalc_chanctx() 1256 if (conf) { in iee80211_tdls_recalc_chanctx() 1257 width = conf->def.width; in iee80211_tdls_recalc_chanctx() 1258 sband = local->hw.wiphy->bands[conf->def.chan->band]; in iee80211_tdls_recalc_chanctx() 1259 ctx = container_of(conf, struct ieee80211_chanctx, conf); in iee80211_tdls_recalc_chanctx() 1263 if (width != conf->def.width && sta && in iee80211_tdls_recalc_chanctx() 1267 bw = ieee80211_chan_width_to_rx_bw(conf->def.width); in iee80211_tdls_recalc_chanctx()
|
D | tx.c | 227 if (local->hw.conf.dynamic_ps_timeout <= 0) in ieee80211_tx_h_dynamic_ps() 265 if (local->hw.conf.flags & IEEE80211_CONF_PS) { in ieee80211_tx_h_dynamic_ps() 280 msecs_to_jiffies(local->hw.conf.dynamic_ps_timeout)); in ieee80211_tx_h_dynamic_ps() 619 switch (tx->key->conf.cipher) { in ieee80211_tx_h_select_key() 636 skip_hw = (tx->key->conf.flags & in ieee80211_tx_h_select_key() 655 info->control.hw_key = &tx->key->conf; in ieee80211_tx_h_select_key() 1018 switch (tx->key->conf.cipher) { in ieee80211_tx_h_encrypt() 2439 band = local->hw.conf.chandef.chan->band; in ieee80211_build_hdr() 2896 gen_iv = build.key->conf.flags & IEEE80211_KEY_FLAG_GENERATE_IV; in ieee80211_check_fast_xmit() 2897 iv_spc = build.key->conf.flags & IEEE80211_KEY_FLAG_PUT_IV_SPACE; in ieee80211_check_fast_xmit() [all …]
|
/net/openvswitch/ |
D | vport-vxlan.c | 65 struct vxlan_config *conf) in vxlan_configure_exts() argument 79 conf->flags |= VXLAN_F_GBP; in vxlan_configure_exts() 92 struct vxlan_config conf = { in vxlan_tnl_create() local 106 conf.dst_port = htons(nla_get_u16(a)); in vxlan_tnl_create() 119 err = vxlan_configure_exts(vport, a, &conf); in vxlan_tnl_create() 127 dev = vxlan_dev_create(net, parms->name, NET_NAME_USER, &conf); in vxlan_tnl_create()
|
/net/wireless/ |
D | trace.h | 74 __entry->dot11MeshRetryTimeout = conf->dot11MeshRetryTimeout; \ 76 conf->dot11MeshConfirmTimeout; \ 78 conf->dot11MeshHoldingTimeout; \ 79 __entry->dot11MeshMaxPeerLinks = conf->dot11MeshMaxPeerLinks; \ 80 __entry->dot11MeshMaxRetries = conf->dot11MeshMaxRetries; \ 81 __entry->dot11MeshTTL = conf->dot11MeshTTL; \ 82 __entry->element_ttl = conf->element_ttl; \ 83 __entry->auto_open_plinks = conf->auto_open_plinks; \ 85 conf->dot11MeshNbrOffsetMaxNeighbor; \ 87 conf->dot11MeshHWMPmaxPREQretries; \ [all …]
|
D | mesh.c | 100 const struct mesh_config *conf) in __cfg80211_join_mesh() argument 190 err = rdev_join_mesh(rdev, dev, conf, setup); in __cfg80211_join_mesh() 204 const struct mesh_config *conf) in cfg80211_join_mesh() argument 210 err = __cfg80211_join_mesh(rdev, dev, setup, conf); in cfg80211_join_mesh()
|
D | rdev-ops.h | 308 struct net_device *dev, struct mesh_config *conf) in rdev_get_mesh_config() argument 312 ret = rdev->ops->get_mesh_config(&rdev->wiphy, dev, conf); in rdev_get_mesh_config() 313 trace_rdev_return_int_mesh_config(&rdev->wiphy, ret, conf); in rdev_get_mesh_config() 331 const struct mesh_config *conf, in rdev_join_mesh() argument 335 trace_rdev_join_mesh(&rdev->wiphy, dev, conf, setup); in rdev_join_mesh() 336 ret = rdev->ops->join_mesh(&rdev->wiphy, dev, conf, setup); in rdev_join_mesh() 932 struct cfg80211_nan_conf *conf) in rdev_start_nan() argument 936 trace_rdev_start_nan(&rdev->wiphy, wdev, conf); in rdev_start_nan() 937 ret = rdev->ops->start_nan(&rdev->wiphy, wdev, conf); in rdev_start_nan() 974 struct cfg80211_nan_conf *conf, u32 changes) in rdev_nan_change_conf() argument [all …]
|
/net/dns_resolver/ |
D | Kconfig | 19 helper "/sbin/dns.resolver" via /etc/request-key.conf.
|