Home
last modified time | relevance | path

Searched refs:mfp (Results 1 – 25 of 32) 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.c140 if (!useFilemon || pbm->mfp == NULL) in meta_open_filemon()
176 filemon_read(FILE *mfp, int fd) in filemon_read() argument
182 if (mfp == NULL) { in filemon_read()
191 fprintf(mfp, "\n"); in filemon_read()
196 fprintf(mfp, "\n-- filemon acquired metadata --\n"); in filemon_read()
199 if ((ssize_t)fwrite(buf, 1, (size_t)n, mfp) < n) in filemon_read()
203 if (fflush(mfp) != 0) in filemon_read()
662 pbm->mfp = meta_create(pbm, gn); in meta_job_start()
669 if (pbm->mfp != NULL && useFilemon) { in meta_job_start()
689 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.c328 struct preloaded_file *mfp, *kfp, *rfp; in multiboot_obj_loadfile() local
333 mfp = file_findfile(NULL, md_kerntype_mb); in multiboot_obj_loadfile()
334 if (mfp == NULL) in multiboot_obj_loadfile()
/freebsd/stand/efi/loader/arch/amd64/
H A Dmultiboot2.c496 struct preloaded_file *mfp, *kfp, *rfp; in obj_loadfile() local
500 mfp = file_findfile(NULL, md_kerntype_mb); in obj_loadfile()
501 if (mfp == NULL) in obj_loadfile()
/freebsd/sys/contrib/dev/iwlwifi/fw/api/
H A Dmac-cfg.h688 __le32 mfp; member
752 __le32 mfp; member
/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/mld/
H A Dsta.c445 if (sta->mfp || mld_sta->sta_state < IEEE80211_STA_AUTHORIZED) in iwl_mld_add_modify_sta_cmd()
446 cmd.mfp = cpu_to_le32(1); in iwl_mld_add_modify_sta_cmd()
998 cmd.mfp = cpu_to_le32(1); in iwl_mld_add_internal_sta_to_fw()
H A Dkey.c50 if ((sta && sta->mfp && pairwise) || igtk) in iwl_mld_get_key_flags()
H A Dftm-initiator.c168 if (mld_vif->ap_sta->mfp && in iwl_mld_ftm_set_sta()
H A Dd3.c1540 if (ap_sta->mfp) in iwl_mld_set_wowlan_config_cmd()
H A Dmac80211.c1723 if (!sta->mfp) in iwl_mld_move_sta_state_up()
/freebsd/sys/contrib/dev/iwlwifi/mvm/
H A Dsta.c3557 u8 key_offset, bool mfp) in iwl_mvm_send_sta_key() argument
3635 if (mfp) in iwl_mvm_send_sta_key()
3825 bool mfp = false; in __iwl_mvm_set_sta_key() local
3831 mfp = sta->mfp; in __iwl_mvm_set_sta_key()
3855 mfp); in __iwl_mvm_set_sta_key()
3859 0, NULL, 0, key_offset, mfp); in __iwl_mvm_set_sta_key()
4030 bool mfp = sta ? sta->mfp : false; in iwl_mvm_update_tkip_key() local
4039 mfp); in iwl_mvm_update_tkip_key()
H A Dmld-sta.c84 cmd.mfp = cpu_to_le32(1); in iwl_mvm_mld_add_int_sta_to_fw()
465 (sta->mfp || mvm_sta->sta_state < IEEE80211_STA_AUTHORIZED)) in iwl_mvm_mld_cfg_sta()
466 cmd.mfp = cpu_to_le32(1); in iwl_mvm_mld_cfg_sta()
H A Dmld-key.c108 if ((!IS_ERR_OR_NULL(sta) && sta->mfp && pairwise) || igtk) in iwl_mvm_get_sec_flags()
H A Dftm-initiator.c456 if (sta->mfp && (peer->ftm.trigger_based || in iwl_mvm_ftm_set_sta()
636 WARN_ON(!sta->mfp); in iter()
/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
/freebsd/sys/compat/linuxkpi/common/include/net/
H A Dmac80211.h749 int mfp, smps_mode, tdls, tdls_initiator; member

12