Home
last modified time | relevance | path

Searched refs:mfp (Results 1 – 25 of 26) sorted by relevance

12

/freebsd/sys/netgraph/
H A Dng_macfilter.c282 macfilter_mactable_resize(macfilter_p mfp) in macfilter_mactable_resize() argument
286 int n = mfp->mf_mac_allocated; in macfilter_mactable_resize()
287 if (mfp->mf_mac_used < 2*MACTABLE_BLOCKSIZE-1) /* minimum size */ in macfilter_mactable_resize()
289 else if (mfp->mf_mac_used + 2*MACTABLE_BLOCKSIZE < mfp->mf_mac_allocated) /* reduce size */ in macfilter_mactable_resize()
290 n = mfp->mf_mac_allocated - MACTABLE_BLOCKSIZE; in macfilter_mactable_resize()
291 else if (mfp->mf_mac_used == mfp->mf_mac_allocated) /* increase size */ in macfilter_mactable_resize()
292 n = mfp->mf_mac_allocated + MACTABLE_BLOCKSIZE; in macfilter_mactable_resize()
294 if (n != mfp->mf_mac_allocated) { in macfilter_mactable_resize()
296 mfp->mf_mac_used, mfp->mf_mac_allocated, n); in macfilter_mactable_resize()
298 mf_mac_p mfp_new = realloc(mfp->mf_macs, in macfilter_mactable_resize()
[all …]
/freebsd/contrib/bmake/
H A Dmeta.c139 if (!useFilemon || pbm->mfp == NULL) in meta_open_filemon()
175 filemon_read(FILE *mfp, int fd) in filemon_read() argument
181 if (mfp == NULL) { in filemon_read()
190 fprintf(mfp, "\n"); in filemon_read()
195 fprintf(mfp, "\n-- filemon acquired metadata --\n"); in filemon_read()
198 if ((ssize_t)fwrite(buf, 1, (size_t)n, mfp) < n) in filemon_read()
202 if (fflush(mfp) != 0) in filemon_read()
661 pbm->mfp = meta_create(pbm, gn); in meta_job_start()
668 if (pbm->mfp != NULL && useFilemon) { in meta_job_start()
688 if (pbm->mfp != NULL) { in meta_job_child()
[all …]
H A Dmeta.h38 FILE *mfp; member
/freebsd/contrib/sendmail/vacation/
H A Dvacation.c1056 SM_FILE_T *mfp, *sfp; local
1063 mfp = sm_io_open(SmFtStdio, SM_TIME_DEFAULT, msgfn, SM_IO_RDONLY, NULL);
1064 if (mfp == NULL)
1099 (void) sm_io_close(mfp, SM_TIME_DEFAULT);
1122 while (sm_io_fgets(mfp, SM_TIME_DEFAULT, buf, sizeof buf) >= 0)
1134 (void) sm_io_close(mfp, SM_TIME_DEFAULT);
1142 (void) sm_io_close(mfp, SM_TIME_DEFAULT);
/freebsd/stand/i386/libi386/
H A Dmultiboot.c323 struct preloaded_file *mfp, *kfp, *rfp; in multiboot_obj_loadfile() local
328 mfp = file_findfile(NULL, md_kerntype_mb); in multiboot_obj_loadfile()
329 if (mfp == NULL) in multiboot_obj_loadfile()
/freebsd/stand/efi/loader/arch/amd64/
H A Dmultiboot2.c497 struct preloaded_file *mfp, *kfp, *rfp; in obj_loadfile() local
502 mfp = file_findfile(NULL, md_kerntype_mb); in obj_loadfile()
503 if (mfp == NULL) in obj_loadfile()
/freebsd/contrib/wpa/src/rsn_supp/
H A Dwpa_ie.c116 if (sm->mfp) in rsn_supp_capab()
118 if (sm->mfp == 2) in rsn_supp_capab()
H A Dwpa_i.h107 int mfp; /* 0 = disabled, 1 = optional, 2 = mandatory */ member
H A Dwpa.c4680 sm->mfp = value; in wpa_sm_set_param()
4786 if (sm->mfp != NO_MGMT_FRAME_PROTECTION && sm->ap_rsn_ie) { in wpa_sm_get_status()
4812 if (sm->mfp == NO_MGMT_FRAME_PROTECTION || !sm->ap_rsn_ie) in wpa_sm_pmf_enabled()
5932 if (sm->mfp) in fils_ft_build_assoc_req_rsne()
5934 if (sm->mfp == 2) in fils_ft_build_assoc_req_rsne()
H A Dwpa_ft.c682 if (sm->mfp == 2 && !(parse.rsn_capab & WPA_CAPABILITY_MFPC)) { in wpa_ft_process_response()
/freebsd/sys/contrib/device-tree/Bindings/interrupt-controller/
H A Dmrvl,intc.txt24 - mrvl,clr-mfp-irq : Specifies the interrupt that needs to clear MFP edge
/freebsd/sys/contrib/dev/iwlwifi/fw/api/
H A Dmac-cfg.h564 * @mfp: indicates whether the STA uses management frame protection or not.
592 __le32 mfp;
581 __le32 mfp; global() member
/freebsd/sys/contrib/dev/iwlwifi/mvm/
H A Dsta.c3563 u8 key_offset, bool mfp) in iwl_mvm_send_sta_key()
3641 if (mfp) in iwl_mvm_send_sta_key()
3831 bool mfp = false; in __iwl_mvm_set_sta_key()
3837 mfp = sta->mfp; in __iwl_mvm_set_sta_key()
3861 mfp); in iwl_mvm_set_sta_key()
3865 0, NULL, 0, key_offset, mfp); in iwl_mvm_set_sta_key()
4036 bool mfp = sta ? sta->mfp : false;
4045 mfp); in iwl_mvm_sta_modify_ps_wake()
3552 iwl_mvm_send_sta_key(struct iwl_mvm * mvm,u32 sta_id,struct ieee80211_key_conf * key,bool mcast,u32 tkip_iv32,u16 * tkip_p1k,u32 cmd_flags,u8 key_offset,bool mfp) iwl_mvm_send_sta_key() argument
3817 bool mfp = false; __iwl_mvm_set_sta_key() local
4022 bool mfp = sta ? sta->mfp : false; iwl_mvm_update_tkip_key() local
[all...]
H A Dmld-sta.c80 cmd.mfp = cpu_to_le32(1); in iwl_mvm_mld_add_int_sta_to_fw()
461 (sta->mfp || mvm_sta->sta_state < IEEE80211_STA_AUTHORIZED)) in iwl_mvm_mld_cfg_sta()
462 cmd.mfp = cpu_to_le32(1); in iwl_mvm_mld_cfg_sta()
H A Dftm-initiator.c97 if (!IS_ERR_OR_NULL(sta) && sta->mfp) in iwl_mvm_ftm_add_pasn_sta()
557 if (sta->mfp && (peer->ftm.trigger_based || in iwl_mvm_ftm_put_target()
737 WARN_ON(!sta->mfp); in iwl_mvm_ftm_set_secured_ranging()
H A Dmld-key.c108 if ((!IS_ERR_OR_NULL(sta) && sta->mfp && pairwise) || igtk) in iwl_mvm_mld_update_sta_key()
H A Dd3.c942 if (ap_sta->mfp) in iwl_mvm_get_wowlan_config()
/freebsd/sys/contrib/device-tree/src/arm/marvell/
H A Dmmp2.dtsi80 mrvl,clr-mfp-irq = <1>;
/freebsd/contrib/wpa/wpa_supplicant/
H A Dsme.c837 wpa_s->sme.mfp = wpas_get_ssid_pmf(wpa_s, ssid); in sme_send_authentication()
838 if (wpa_s->sme.mfp != NO_MGMT_FRAME_PROTECTION) { in sme_send_authentication()
846 wpa_s->sme.mfp = MGMT_FRAME_PROTECTION_REQUIRED; in sme_send_authentication()
2583 params.mgmt_frame_protection = wpa_s->sme.mfp; in sme_associate()
H A Dwpa_supplicant_i.h997 int mfp; member
H A Dctrl_iface.c10341 params.mgmt_frame_protection = wpa_s->sme.mfp; in wpas_ctrl_resend_assoc()
/freebsd/sys/compat/linuxkpi/common/include/net/
H A Dmac80211.h769 int mfp, smps_mode, tdls, tdls_initiator; member
/freebsd/sys/contrib/dev/athk/ath12k/
H A Dmac.c1284 if (sta->mfp) { in ath12k_peer_assoc_h_crypto()
/freebsd/sys/contrib/dev/athk/ath11k/
H A Dmac.c1794 if (sta->mfp) { in ath11k_peer_assoc_h_crypto()
/freebsd/sys/contrib/dev/athk/ath10k/
H A Dmac.c2234 if (sta->mfp && in ath10k_peer_assoc_h_crypto()

12