Home
last modified time | relevance | path

Searched refs:conf (Results 1 – 25 of 40) sorted by relevance

12

/net/sched/
Dem_text.c47 struct tcf_em_text *conf = data; in em_text_change() local
51 if (len < sizeof(*conf) || len < (sizeof(*conf) + conf->pattern_len)) in em_text_change()
54 if (conf->from_layer > conf->to_layer) in em_text_change()
57 if (conf->from_layer == conf->to_layer && in em_text_change()
58 conf->from_offset > conf->to_offset) in em_text_change()
62 ts_conf = textsearch_prepare(conf->algo, (u8 *) conf + sizeof(*conf), in em_text_change()
63 conf->pattern_len, GFP_KERNEL, flags); in em_text_change()
86 tm->from_offset = conf->from_offset; in em_text_change()
87 tm->to_offset = conf->to_offset; in em_text_change()
88 tm->from_layer = conf->from_layer; in em_text_change()
[all …]
Dem_canid.c122 struct can_filter *conf = data; /* Array with rules */ in em_canid_change() local
153 if (conf[i].can_id & CAN_EFF_FLAG) { in em_canid_change()
155 &conf[i], in em_canid_change()
164 if (!(conf[i].can_id & CAN_EFF_FLAG)) { in em_canid_change()
168 &conf[i], sizeof(struct can_filter)); in em_canid_change()
173 conf[i].can_id, conf[i].can_mask); in em_canid_change()
/net/netfilter/
Dxt_string.c26 const struct xt_string_info *conf = par->matchinfo; in string_mt() local
29 invert = conf->u.v1.flags & XT_STRING_FLAG_INVERT; in string_mt()
31 return (skb_find_text((struct sk_buff *)skb, conf->from_offset, in string_mt()
32 conf->to_offset, conf->config) in string_mt()
40 struct xt_string_info *conf = par->matchinfo; in string_mt_check() local
45 if (conf->from_offset > conf->to_offset) in string_mt_check()
47 if (conf->algo[XT_STRING_MAX_ALGO_NAME_SIZE - 1] != '\0') in string_mt_check()
49 if (conf->patlen > XT_STRING_MAX_PATTERN_SIZE) in string_mt_check()
51 if (conf->u.v1.flags & in string_mt_check()
54 if (conf->u.v1.flags & XT_STRING_FLAG_IGNORECASE) in string_mt_check()
[all …]
/net/mac80211/
Dkey.c142 !(key->conf.flags & (IEEE80211_KEY_FLAG_GENERATE_MMIC | in ieee80211_key_enable_hw_accel()
162 if (sta && !(key->conf.flags & IEEE80211_KEY_FLAG_PAIRWISE) && in ieee80211_key_enable_hw_accel()
174 if (!(key->conf.flags & IEEE80211_KEY_FLAG_PAIRWISE)) { in ieee80211_key_enable_hw_accel()
181 sta ? &sta->sta : NULL, &key->conf); in ieee80211_key_enable_hw_accel()
186 if (!(key->conf.flags & (IEEE80211_KEY_FLAG_GENERATE_MMIC | in ieee80211_key_enable_hw_accel()
191 WARN_ON((key->conf.flags & IEEE80211_KEY_FLAG_PUT_IV_SPACE) && in ieee80211_key_enable_hw_accel()
192 (key->conf.flags & IEEE80211_KEY_FLAG_GENERATE_IV)); in ieee80211_key_enable_hw_accel()
194 WARN_ON((key->conf.flags & IEEE80211_KEY_FLAG_PUT_MIC_SPACE) && in ieee80211_key_enable_hw_accel()
195 (key->conf.flags & IEEE80211_KEY_FLAG_GENERATE_MMIC)); in ieee80211_key_enable_hw_accel()
203 key->conf.keyidx, in ieee80211_key_enable_hw_accel()
[all …]
Dchan.c71 struct ieee80211_chanctx_conf *conf; in ieee80211_vif_get_chanctx() local
73 conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in ieee80211_vif_get_chanctx()
75 if (!conf) in ieee80211_vif_get_chanctx()
78 return container_of(conf, struct ieee80211_chanctx, conf); in ieee80211_vif_get_chanctx()
244 struct ieee80211_chanctx_conf *conf) in ieee80211_get_chanctx_max_required_bw() argument
257 if (rcu_access_pointer(sdata->vif.chanctx_conf) != conf) in ieee80211_get_chanctx_max_required_bw()
295 if (sdata && rcu_access_pointer(sdata->vif.chanctx_conf) == conf) in ieee80211_get_chanctx_max_required_bw()
296 max_bw = max(max_bw, conf->def.width); in ieee80211_get_chanctx_max_required_bw()
317 if (ctx->conf.def.width == NL80211_CHAN_WIDTH_5 || in ieee80211_recalc_chanctx_min_def()
318 ctx->conf.def.width == NL80211_CHAN_WIDTH_10 || in ieee80211_recalc_chanctx_min_def()
[all …]
Ddebugfs_key.c48 KEY_READ(conf_##name, conf.name, format_string)
75 u32 c = key->conf.cipher; in key_algorithm_read()
90 switch (key->conf.cipher) { in key_tx_spec_write()
111 atomic64_set(&key->conf.tx_pn, pn); in key_tx_spec_write()
126 switch (key->conf.cipher) { in key_tx_spec_read()
132 pn = atomic64_read(&key->conf.tx_pn); in key_tx_spec_read()
145 pn = atomic64_read(&key->conf.tx_pn); in key_tx_spec_read()
165 switch (key->conf.cipher) { in key_rx_spec_read()
232 switch (key->conf.cipher) { in key_replays_read()
265 switch (key->conf.cipher) { in key_icverrors_read()
[all …]
Dwep.c216 if (!key || keyidx != key->conf.keyidx) in ieee80211_wep_decrypt()
219 klen = 3 + key->conf.keylen; in ieee80211_wep_decrypt()
225 memcpy(rc4key + 3, key->conf.key, key->conf.keylen); in ieee80211_wep_decrypt()
278 if (ieee80211_wep_encrypt(tx->local, skb, tx->key->conf.key, in wep_encrypt_skb()
279 tx->key->conf.keylen, in wep_encrypt_skb()
280 tx->key->conf.keyidx)) in wep_encrypt_skb()
285 tx->key->conf.keylen, in wep_encrypt_skb()
286 tx->key->conf.keyidx)) in wep_encrypt_skb()
Dtkip.c156 const u8 *tk = &key->conf.key[NL80211_TKIP_DATA_OFFSET_ENCR_KEY]; in ieee80211_compute_tkip_p1k()
175 container_of(keyconf, struct ieee80211_key, conf); in ieee80211_get_tkip_p1k_iv()
200 container_of(keyconf, struct ieee80211_key, conf); in ieee80211_get_tkip_p2k()
201 const u8 *tk = &key->conf.key[NL80211_TKIP_DATA_OFFSET_ENCR_KEY]; in ieee80211_get_tkip_p2k()
229 ieee80211_get_tkip_p2k(&key->conf, skb, rc4key); in ieee80211_tkip_encrypt_data()
249 const u8 *tk = &key->conf.key[NL80211_TKIP_DATA_OFFSET_ENCR_KEY]; in ieee80211_tkip_decrypt_data()
263 if ((keyid >> 6) != key->conf.keyidx) in ieee80211_tkip_decrypt_data()
302 drv_update_tkip_key(key->local, sdata, &key->conf, key->sta, in ieee80211_tkip_decrypt_data()
Dcfg.c201 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()
378 if (key && key->conf.flags & IEEE80211_KEY_FLAG_NO_AUTO_TX) in ieee80211_set_tx()
430 key->conf.flags |= IEEE80211_KEY_FLAG_PAIRWISE; in ieee80211_add_key()
[all …]
Dwpa.c41 if (!tx->key || tx->key->conf.cipher != WLAN_CIPHER_SUITE_TKIP || in ieee80211_tx_h_michael_mic_add()
60 !(tx->key->conf.flags & (IEEE80211_KEY_FLAG_GENERATE_MMIC | in ieee80211_tx_h_michael_mic_add()
79 if (tx->key->conf.flags & IEEE80211_KEY_FLAG_PUT_MIC_SPACE) { in ieee80211_tx_h_michael_mic_add()
85 key = &tx->key->conf.key[NL80211_TKIP_DATA_OFFSET_TX_MIC_KEY]; in ieee80211_tx_h_michael_mic_add()
123 rx->key->conf.cipher == WLAN_CIPHER_SUITE_TKIP) in ieee80211_rx_h_michael_mic_verify()
134 if (!rx->key || rx->key->conf.cipher != WLAN_CIPHER_SUITE_TKIP || in ieee80211_rx_h_michael_mic_verify()
138 if (rx->sdata->vif.type == NL80211_IFTYPE_AP && rx->key->conf.keyidx) { in ieee80211_rx_h_michael_mic_verify()
161 key = &rx->key->conf.key[NL80211_TKIP_DATA_OFFSET_RX_MIC_KEY]; in ieee80211_rx_h_michael_mic_verify()
189 rx->key ? rx->key->conf.keyidx : -1, in ieee80211_rx_h_michael_mic_verify()
233 pn = atomic64_inc_return(&key->conf.tx_pn); in tkip_encrypt_skb()
[all …]
Dmain.c99 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 …]
Ddriver-ops.h260 struct ieee80211_key_conf *conf, in drv_update_tkip_key() argument
273 trace_drv_update_tkip_key(local, sdata, conf, ista, iv32); in drv_update_tkip_key()
275 local->ops->update_tkip_key(&local->hw, &sdata->vif, conf, in drv_update_tkip_key()
389 local->ops->get_key_seq(&local->hw, &key->conf, seq); in drv_get_key_seq()
390 trace_drv_get_key_seq(local, &key->conf); in drv_get_key_seq()
864 ret = local->ops->add_chanctx(&local->hw, &ctx->conf); in drv_add_chanctx()
882 local->ops->remove_chanctx(&local->hw, &ctx->conf); in drv_remove_chanctx()
896 local->ops->change_chanctx(&local->hw, &ctx->conf, changed); in drv_change_chanctx()
915 &ctx->conf); in drv_assign_vif_chanctx()
936 &ctx->conf); in drv_unassign_vif_chanctx()
[all …]
Dtrace.h71 #define CHANCTX_ASSIGN CHANDEF_ASSIGN(&ctx->conf.def) \
72 MIN_CHANDEF_ASSIGN(&ctx->conf.min_def) \
73 __entry->rx_chains_static = ctx->conf.rx_chains_static; \
74 __entry->rx_chains_dynamic = ctx->conf.rx_chains_dynamic
364 __entry->flags = local->hw.conf.flags;
365 __entry->power_level = local->hw.conf.power_level;
366 __entry->dynamic_ps_timeout = local->hw.conf.dynamic_ps_timeout;
367 __entry->listen_interval = local->hw.conf.listen_interval;
369 local->hw.conf.long_frame_max_tx_count;
371 local->hw.conf.short_frame_max_tx_count;
[all …]
Ddriver-ops.c289 conf); in drv_switch_vif_chanctx()
293 conf); in drv_switch_vif_chanctx()
312 conf); in drv_switch_vif_chanctx()
316 conf); in drv_switch_vif_chanctx()
Dpm.c103 !(local->hw.conf.flags & IEEE80211_CONF_PS)) { in __ieee80211_suspend()
104 local->hw.conf.flags |= IEEE80211_CONF_PS; in __ieee80211_suspend()
Dmlme.c742 cpu_to_le16(local->hw.conf.listen_interval); in ieee80211_send_assoc()
751 cpu_to_le16(local->hw.conf.listen_interval); in ieee80211_send_assoc()
1290 struct ieee80211_chanctx_conf *conf; in ieee80211_sta_process_chanswitch() local
1371 conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in ieee80211_sta_process_chanswitch()
1373 if (!conf) { in ieee80211_sta_process_chanswitch()
1379 chanctx = container_of(conf, struct ieee80211_chanctx, conf); in ieee80211_sta_process_chanswitch()
1590 struct ieee80211_conf *conf = &local->hw.conf; in ieee80211_enable_ps() local
1599 if (conf->dynamic_ps_timeout > 0 && in ieee80211_enable_ps()
1602 msecs_to_jiffies(conf->dynamic_ps_timeout)); in ieee80211_enable_ps()
1611 conf->flags |= IEEE80211_CONF_PS; in ieee80211_enable_ps()
[all …]
Doffchannel.c40 if (local->hw.conf.flags & IEEE80211_CONF_PS) { in ieee80211_offchannel_ps_enable()
42 local->hw.conf.flags &= ~IEEE80211_CONF_PS; in ieee80211_offchannel_ps_enable()
85 local->hw.conf.flags |= IEEE80211_CONF_PS; in ieee80211_offchannel_ps_disable()
87 } else if (local->hw.conf.dynamic_ps_timeout > 0) { in ieee80211_offchannel_ps_disable()
96 msecs_to_jiffies(local->hw.conf.dynamic_ps_timeout)); in ieee80211_offchannel_ps_disable()
Dtdls.c1252 struct ieee80211_chanctx_conf *conf; in iee80211_tdls_recalc_chanctx() local
1258 conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in iee80211_tdls_recalc_chanctx()
1260 if (conf) { in iee80211_tdls_recalc_chanctx()
1261 width = conf->def.width; in iee80211_tdls_recalc_chanctx()
1262 sband = local->hw.wiphy->bands[conf->def.chan->band]; in iee80211_tdls_recalc_chanctx()
1263 ctx = container_of(conf, struct ieee80211_chanctx, conf); in iee80211_tdls_recalc_chanctx()
1267 if (width != conf->def.width && sta && in iee80211_tdls_recalc_chanctx()
1271 bw = ieee80211_chan_width_to_rx_bw(conf->def.width); in iee80211_tdls_recalc_chanctx()
Dtx.c225 if (local->hw.conf.dynamic_ps_timeout <= 0) in ieee80211_tx_h_dynamic_ps()
266 if (local->hw.conf.flags & IEEE80211_CONF_PS) { in ieee80211_tx_h_dynamic_ps()
281 msecs_to_jiffies(local->hw.conf.dynamic_ps_timeout)); in ieee80211_tx_h_dynamic_ps()
623 switch (tx->key->conf.cipher) { in ieee80211_tx_h_select_key()
640 skip_hw = (tx->key->conf.flags & in ieee80211_tx_h_select_key()
660 info->control.hw_key = &tx->key->conf; in ieee80211_tx_h_select_key()
1025 switch (tx->key->conf.cipher) { in ieee80211_tx_h_encrypt()
2564 band = local->hw.conf.chandef.chan->band; in ieee80211_build_hdr()
3029 gen_iv = build.key->conf.flags & IEEE80211_KEY_FLAG_GENERATE_IV; in ieee80211_check_fast_xmit()
3030 iv_spc = build.key->conf.flags & IEEE80211_KEY_FLAG_PUT_IV_SPACE; in ieee80211_check_fast_xmit()
[all …]
/net/openvswitch/
Dvport-vxlan.c52 struct vxlan_config *conf) in vxlan_configure_exts() argument
66 conf->flags |= VXLAN_F_GBP; in vxlan_configure_exts()
79 struct vxlan_config conf = { in vxlan_tnl_create() local
93 conf.dst_port = htons(nla_get_u16(a)); in vxlan_tnl_create()
106 err = vxlan_configure_exts(vport, a, &conf); in vxlan_tnl_create()
114 dev = vxlan_dev_create(net, parms->name, NET_NAME_USER, &conf); in vxlan_tnl_create()
/net/wireless/
Dtrace.h74 __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 …]
Drdev-ops.h322 struct net_device *dev, struct mesh_config *conf) in rdev_get_mesh_config() argument
326 ret = rdev->ops->get_mesh_config(&rdev->wiphy, dev, conf); in rdev_get_mesh_config()
327 trace_rdev_return_int_mesh_config(&rdev->wiphy, ret, conf); in rdev_get_mesh_config()
345 const struct mesh_config *conf, in rdev_join_mesh() argument
349 trace_rdev_join_mesh(&rdev->wiphy, dev, conf, setup); in rdev_join_mesh()
350 ret = rdev->ops->join_mesh(&rdev->wiphy, dev, conf, setup); in rdev_join_mesh()
973 struct cfg80211_nan_conf *conf) in rdev_start_nan() argument
977 trace_rdev_start_nan(&rdev->wiphy, wdev, conf); in rdev_start_nan()
978 ret = rdev->ops->start_nan(&rdev->wiphy, wdev, conf); in rdev_start_nan()
1015 struct cfg80211_nan_conf *conf, u32 changes) in rdev_nan_change_conf() argument
[all …]
Dmesh.c100 const struct mesh_config *conf) in __cfg80211_join_mesh() argument
209 err = rdev_join_mesh(rdev, dev, conf, setup); in __cfg80211_join_mesh()
/net/tls/
Dtls_main.c456 int conf; in do_tls_setsockopt_conf() local
529 conf = TLS_HW; in do_tls_setsockopt_conf()
534 conf = TLS_SW; in do_tls_setsockopt_conf()
538 conf = TLS_HW; in do_tls_setsockopt_conf()
543 conf = TLS_SW; in do_tls_setsockopt_conf()
549 ctx->tx_conf = conf; in do_tls_setsockopt_conf()
551 ctx->rx_conf = conf; in do_tls_setsockopt_conf()
/net/dns_resolver/
DKconfig20 helper "/sbin/dns.resolver" via /etc/request-key.conf.

12