| /freebsd/sys/netgraph/ |
| H A D | ng_macfilter.c | 282 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 D | meta.c | 134 if (!useFilemon || pbm->mfp == NULL) in meta_open_filemon() 170 filemon_read(FILE *mfp, int fd) in filemon_read() argument 176 if (mfp == NULL) { in filemon_read() 185 fprintf(mfp, "\n"); in filemon_read() 190 fprintf(mfp, "\n-- filemon acquired metadata --\n"); in filemon_read() 193 if ((ssize_t)fwrite(buf, 1, (size_t)n, mfp) < n) in filemon_read() 197 if (fflush(mfp) != 0) in filemon_read() 622 pbm->mfp = meta_create(pbm, gn); in meta_job_start() 629 if (pbm->mfp != NULL && useFilemon) { in meta_job_start() 649 if (pbm->mfp != NULL) { in meta_job_child() [all …]
|
| H A D | meta.h | 38 FILE *mfp; member
|
| /freebsd/contrib/sendmail/vacation/ |
| H A D | vacation.c | 1056 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 D | multiboot.c | 328 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/contrib/wpa/src/ap/ |
| H A D | wpa_auth_ie.c | 93 enum mfp_options mfp) in wpa_own_rsn_capab() argument 103 if (mfp != NO_MGMT_FRAME_PROTECTION) { in wpa_own_rsn_capab() 105 if (mfp == MGMT_FRAME_PROTECTION_REQUIRED) in wpa_own_rsn_capab() 125 const u8 *pmkid, enum mfp_options mfp, in rsne_write_data() argument 344 if (mfp != NO_MGMT_FRAME_PROTECTION && in rsne_write_data() 381 if (mfp != NO_MGMT_FRAME_PROTECTION) in rsne_write_data() 386 if (mfp == NO_MGMT_FRAME_PROTECTION) { in rsne_write_data() 488 int group_mgmt_cipher, enum mfp_options mfp) in wpa_write_802_1x_rsne() argument 502 pmkid, mfp, group_mgmt_cipher); in wpa_write_802_1x_rsne() 517 int pairwise_cipher, enum mfp_options mfp) in wpa_write_eppke_rsne() argument [all …]
|
| H A D | wpa_auth.h | 765 int group_mgmt_cipher, enum mfp_options mfp); 769 int pairwise_cipher, enum mfp_options mfp);
|
| /freebsd/stand/efi/loader/arch/amd64/ |
| H A D | multiboot2.c | 496 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/contrib/wpa/src/pasn/ |
| H A D | pasn_common.c | 163 void pasn_set_mfp(struct pasn_data *pasn, enum mfp_options mfp) in pasn_set_mfp() argument 166 pasn->ieee80211w = mfp; in pasn_set_mfp()
|
| H A D | pasn_common.h | 338 void pasn_set_mfp(struct pasn_data *pasn, enum mfp_options mfp);
|
| /freebsd/sys/contrib/dev/iwlwifi/fw/api/ |
| H A D | mac-cfg.h | 718 __le32 mfp; member 782 __le32 mfp; member
|
| /freebsd/contrib/wpa/src/rsn_supp/ |
| H A D | wpa_ie.c | 120 if (sm->mfp) in rsn_supp_capab() 122 if (sm->mfp == 2) in rsn_supp_capab()
|
| H A D | wpa_i.h | 108 int mfp; /* 0 = disabled, 1 = optional, 2 = mandatory */ member
|
| H A D | wpa_ft.c | 682 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 D | mrvl,intc.txt | 24 - mrvl,clr-mfp-irq : Specifies the interrupt that needs to clear MFP edge
|
| /freebsd/sys/contrib/dev/iwlwifi/mvm/ |
| H A D | sta.c | 3544 u8 key_offset, bool mfp) in iwl_mvm_send_sta_key() argument 3622 if (mfp) in iwl_mvm_send_sta_key() 3812 bool mfp = false; in __iwl_mvm_set_sta_key() local 3818 mfp = sta->mfp; in __iwl_mvm_set_sta_key() 3842 mfp); in __iwl_mvm_set_sta_key() 3846 0, NULL, 0, key_offset, mfp); in __iwl_mvm_set_sta_key() 4017 bool mfp = sta ? sta->mfp : false; in iwl_mvm_update_tkip_key() local 4026 mfp); in iwl_mvm_update_tkip_key()
|
| H A D | mld-sta.c | 58 cmd.mfp = cpu_to_le32(1); in iwl_mvm_mld_add_int_sta_to_fw() 439 (sta->mfp || mvm_sta->sta_state < IEEE80211_STA_AUTHORIZED)) in iwl_mvm_mld_cfg_sta() 440 cmd.mfp = cpu_to_le32(1); in iwl_mvm_mld_cfg_sta()
|
| H A D | mld-key.c | 108 if ((!IS_ERR_OR_NULL(sta) && sta->mfp && pairwise) || igtk) in iwl_mvm_get_sec_flags()
|
| H A D | ftm-initiator.c | 456 if (sta->mfp && (peer->ftm.trigger_based || in iwl_mvm_ftm_set_sta() 636 WARN_ON(!sta->mfp); in iter()
|
| /freebsd/sys/contrib/dev/iwlwifi/mld/ |
| H A D | sta.c | 443 if (sta->mfp || mld_sta->sta_state < IEEE80211_STA_AUTHORIZED) in iwl_mld_add_modify_sta_cmd() 444 cmd.mfp = cpu_to_le32(1); in iwl_mld_add_modify_sta_cmd() 994 cmd.mfp = cpu_to_le32(1); in iwl_mld_add_internal_sta_to_fw()
|
| H A D | key.c | 50 if ((sta && sta->mfp && pairwise) || igtk) in iwl_mld_get_key_flags()
|
| H A D | ftm-initiator.c | 168 if (mld_vif->ap_sta->mfp && in iwl_mld_ftm_set_sta()
|
| /freebsd/sys/contrib/device-tree/src/arm/marvell/ |
| H A D | mmp2.dtsi | 80 mrvl,clr-mfp-irq = <1>;
|
| /freebsd/sys/contrib/dev/broadcom/brcm80211/brcmfmac/ |
| H A D | cfg80211.c | 2176 u32 mfp; in brcmf_set_key_mgmt() local 2289 mfp = BRCMF_MFP_NONE; in brcmf_set_key_mgmt() 2292 mfp = BRCMF_MFP_REQUIRED; in brcmf_set_key_mgmt() 2294 mfp = BRCMF_MFP_CAPABLE; in brcmf_set_key_mgmt() 2295 brcmf_fil_bsscfg_int_set(netdev_priv(ndev), "mfp", mfp); in brcmf_set_key_mgmt() 4655 u32 mfp; in brcmf_configure_wpaie() local 4792 mfp = BRCMF_MFP_NONE; in brcmf_configure_wpaie() 4801 mfp = BRCMF_MFP_REQUIRED; in brcmf_configure_wpaie() 4822 mfp = BRCMF_MFP_CAPABLE; in brcmf_configure_wpaie() 4868 err = brcmf_fil_bsscfg_int_set(ifp, "mfp", mfp); in brcmf_configure_wpaie()
|
| /freebsd/contrib/wpa/wpa_supplicant/ |
| H A D | sme.c | 1551 wpa_s->sme.mfp = wpas_get_ssid_pmf(wpa_s, ssid); in sme_send_authentication() 1552 if (wpa_s->sme.mfp != NO_MGMT_FRAME_PROTECTION) { in sme_send_authentication() 1560 wpa_s->sme.mfp = MGMT_FRAME_PROTECTION_REQUIRED; in sme_send_authentication() 1639 if (wpa_s->sme.mfp != NO_MGMT_FRAME_PROTECTION && in sme_send_authentication() 4628 params.mgmt_frame_protection = wpa_s->sme.mfp; in sme_associate()
|