/freebsd-13-stable/sys/netgraph/ |
H A D | ng_macfilter.c | 279 * Resize the MAC table to accommodate at least mfp->mf_mac_used + 1 entries. 284 macfilter_mactable_resize(macfilter_p mfp) argument 288 int n = mfp->mf_mac_allocated; 289 if (mfp->mf_mac_used < 2*MACTABLE_BLOCKSIZE-1) /* minimum size */ 291 else if (mfp->mf_mac_used + 2*MACTABLE_BLOCKSIZE < mfp->mf_mac_allocated) /* reduce size */ 292 n = mfp->mf_mac_allocated - MACTABLE_BLOCKSIZE; 293 else if (mfp->mf_mac_used == mfp->mf_mac_allocated) /* increase size */ 294 n = mfp 321 macfilter_reset(macfilter_p mfp) argument 334 macfilter_reset_stats(macfilter_p mfp) argument 351 macfilter_mac_count(macfilter_p mfp, int hookid) argument 373 macfilter_find_mac(macfilter_p mfp, const u_char *ether, u_int *ri) argument 406 macfilter_mactable_change(macfilter_p mfp, u_char *ether, int hookid) argument 457 macfilter_mactable_remove_by_hookid(macfilter_p mfp, int hookid) argument 477 macfilter_find_hook(macfilter_p mfp, const char *hookname) argument 494 macfilter_direct(macfilter_p mfp, struct ngm_macfilter_direct *md) argument 507 macfilter_direct_hookid(macfilter_p mfp, struct ngm_macfilter_direct_hookid *mdi) argument 529 macfilter_ether_output(hook_p hook, macfilter_p mfp, struct mbuf *m, hook_p *next_hook) argument 570 macfilter_ether_input(hook_p hook, macfilter_p mfp, struct mbuf *m, hook_p *next_hook) argument 625 macfilter_p mfp = malloc(sizeof(*mfp), M_NETGRAPH, M_NOWAIT | M_ZERO); local 643 const macfilter_p mfp = NG_NODE_PRIVATE(node); local 677 const macfilter_p mfp = NG_NODE_PRIVATE(node); local 790 const macfilter_p mfp = NG_NODE_PRIVATE(NG_HOOK_NODE(hook)); local 816 const macfilter_p mfp = NG_NODE_PRIVATE(NG_HOOK_NODE(hook)); local 868 const macfilter_p mfp = NG_NODE_PRIVATE(node); local [all...] |
/freebsd-13-stable/contrib/bmake/ |
H A D | meta.h | 38 FILE *mfp; member in struct:BuildMon
|
H A D | meta.c | 131 if (!useFilemon || pbm->mfp == NULL) 167 filemon_read(FILE *mfp, int fd) argument 173 if (mfp == NULL) { 182 fprintf(mfp, "\n"); 187 fprintf(mfp, "\n-- filemon acquired metadata --\n"); 190 if ((ssize_t)fwrite(buf, 1, (size_t)n, mfp) < n) 194 fflush(mfp); 678 pbm->mfp = meta_create(pbm, gn); 685 if (pbm->mfp != NULL && useFilemon) { 709 if (pbm->mfp ! [all...] |
/freebsd-13-stable/stand/i386/libi386/ |
H A D | multiboot.c | 325 struct preloaded_file *mfp, *kfp, *rfp; local 330 mfp = file_findfile(NULL, "elf multiboot kernel"); 331 if (mfp == NULL)
|
/freebsd-13-stable/contrib/sendmail/vacation/ |
H A D | vacation.c | 987 SM_FILE_T *mfp, *sfp; local 993 mfp = sm_io_open(SmFtStdio, SM_TIME_DEFAULT, msgfn, SM_IO_RDONLY, NULL); 994 if (mfp == NULL) 1029 (void) sm_io_close(mfp, SM_TIME_DEFAULT); 1052 while (sm_io_fgets(mfp, SM_TIME_DEFAULT, buf, sizeof buf) >= 0) 1054 (void) sm_io_close(mfp, SM_TIME_DEFAULT); 1062 (void) sm_io_close(mfp, SM_TIME_DEFAULT);
|
/freebsd-13-stable/contrib/wpa/src/rsn_supp/ |
H A D | wpa_ie.c | 221 if (sm->mfp) 223 if (sm->mfp == 2)
|
H A D | wpa_i.h | 88 int mfp; /* 0 = disabled, 1 = optional, 2 = mandatory */ member in struct:wpa_sm
|
H A D | wpa.c | 3055 sm->mfp = value; 3097 if (sm->mfp != NO_MGMT_FRAME_PROTECTION && sm->ap_rsn_ie) { 3123 if (sm->mfp == NO_MGMT_FRAME_PROTECTION || !sm->ap_rsn_ie)
|
/freebsd-13-stable/contrib/wpa/wpa_supplicant/ |
H A D | sme.c | 496 wpa_s->sme.mfp = wpas_get_ssid_pmf(wpa_s, ssid); 497 if (wpa_s->sme.mfp != NO_MGMT_FRAME_PROTECTION) { 505 wpa_s->sme.mfp = MGMT_FRAME_PROTECTION_REQUIRED; 1749 params.mgmt_frame_protection = wpa_s->sme.mfp;
|
H A D | wpa_supplicant_i.h | 775 int mfp; member in struct:wpa_supplicant::__anon6569
|
H A D | ctrl_iface.c | 9275 params.mgmt_frame_protection = wpa_s->sme.mfp;
|