/freebsd/sys/netpfil/ipfilter/netinet/ |
H A D | ip_nat6.c | 938 u_int nflags; in ipf_nat6_add() local 958 nflags = np->in_flags & flags; in ipf_nat6_add() 959 nflags &= NAT_FROMRULE; in ipf_nat6_add() 1025 natl = ipf_nat6_outlookup(fin, nflags, (u_int)fin->fin_p, in ipf_nat6_add() 1039 natl = ipf_nat6_inlookup(fin, nflags, (u_int)fin->fin_p, in ipf_nat6_add() 1549 ipf_nat6_icmperror(fr_info_t *fin, u_int *nflags, int dir) in ipf_nat6_icmperror() argument 1580 *nflags = IPN_ICMPERR; in ipf_nat6_icmperror() 1876 int nflags; in ipf_nat6_inlookup() local 2031 nflags = nat->nat_flags; in ipf_nat6_inlookup() 2032 if (!(nflags & (NAT_TCPUDP|SI_WILDP))) in ipf_nat6_inlookup() [all …]
|
H A D | ip_rpcb_pxy.c | 1109 int nflags; in ipf_p_rpcb_getnat() local 1131 nflags = NAT_TCP; in ipf_p_rpcb_getnat() 1134 nflags = NAT_UDP; in ipf_p_rpcb_getnat() 1137 nflags |= SI_W_SPORT|NAT_SEARCH; in ipf_p_rpcb_getnat() 1157 natl = ipf_nat_inlookup(&fi, nflags, proto, fi.fin_src, fi.fin_dst); in ipf_p_rpcb_getnat() 1171 nflags &= ~NAT_SEARCH; in ipf_p_rpcb_getnat() 1184 ipn->in_flags = nflags & IPN_TCPUDP; in ipf_p_rpcb_getnat() 1201 natl = ipf_nat_add(&fi, ipn, NULL, nflags|SI_CLONE|NAT_SLAVE, in ipf_p_rpcb_getnat() 1216 (void) ipf_nat_proto(&fi, natl, nflags); in ipf_p_rpcb_getnat() 1227 nflags &= NAT_TCPUDP; in ipf_p_rpcb_getnat() [all …]
|
H A D | ip_rcmd_pxy.c | 138 int off, dlen, nflags, direction; in ipf_p_rcmd_portmsg() local 281 nflags = SI_W_SPORT|NAT_SLAVE|IPN_TCP; in ipf_p_rcmd_portmsg() 285 nat2 = ipf_nat_add(&fi, rc->rcmd_rule, NULL, nflags, in ipf_p_rcmd_portmsg() 289 nat2 = ipf_nat6_add(&fi, rc->rcmd_rule, NULL, nflags, in ipf_p_rcmd_portmsg()
|
H A D | ip_nat.c | 3033 u_int nflags; in ipf_nat_add() local 3051 nflags = np->in_flags & flags; in ipf_nat_add() 3052 nflags &= NAT_FROMRULE; in ipf_nat_add() 3119 natl = ipf_nat_outlookup(fin, nflags, (u_int)fin->fin_p, in ipf_nat_add() 3132 natl = ipf_nat_inlookup(fin, nflags, (u_int)fin->fin_p, in ipf_nat_add() 3692 ipf_nat_icmperror(fr_info_t *fin, u_int *nflags, int dir) in ipf_nat_icmperror() argument 3723 *nflags = IPN_ICMPERR; in ipf_nat_icmperror() 4006 int nflags; in ipf_nat_inlookup() local 4166 nflags = nat->nat_flags; in ipf_nat_inlookup() 4167 if (!(nflags & (NAT_TCPUDP|SI_WILDP))) in ipf_nat_inlookup() [all …]
|
H A D | ip_tftp_pxy.c | 282 int nflags; in ipf_p_tftp_backchannel() local 308 nflags = NAT_SLAVE|IPN_UDP|SI_W_SPORT; in ipf_p_tftp_backchannel() 343 nflags |= NAT_NOTRULEPORT; in ipf_p_tftp_backchannel() 348 nat2 = ipf_nat6_add(&fi, ti->ti_rule, NULL, nflags, dir); in ipf_p_tftp_backchannel() 351 nat2 = ipf_nat_add(&fi, ti->ti_rule, NULL, nflags, dir); in ipf_p_tftp_backchannel()
|
H A D | ip_ftp_pxy.c | 810 int inc, off, nflags; in ipf_p_ftp_pasvreply() local 864 nflags = IPN_TCP|SI_W_SPORT; in ipf_p_ftp_pasvreply() 884 nflags, nat->nat_dir); in ipf_p_ftp_pasvreply() 888 nflags, nat->nat_dir); in ipf_p_ftp_pasvreply()
|
/freebsd/contrib/netbsd-tests/lib/libc/db/ |
H A D | h_db.c | 504 int xflags, nflags; in dump() local 509 nflags = recurse ? R_RPREV : R_PREV; in dump() 511 nflags = R_PREV; in dump() 516 nflags = recurse ? R_RNEXT : R_NEXT; in dump() 518 nflags = R_NEXT; in dump() 521 for (;; xflags = nflags) in dump()
|
/freebsd/sys/dev/vt/ |
H A D | vt_buf.c | 893 int oflags, nflags; in vtbuf_cursor_visibility() local 900 nflags = vb->vb_flags; in vtbuf_cursor_visibility() 902 if (oflags != nflags) in vtbuf_cursor_visibility() 909 int oflags, nflags; in vtbuf_scroll_mode() local 917 nflags = vb->vb_flags; in vtbuf_scroll_mode() 919 if (oflags != nflags) in vtbuf_scroll_mode()
|
/freebsd/lib/libc/db/test/ |
H A D | dbtest.c | 485 int flags, nflags; local 489 nflags = R_PREV; 492 nflags = R_NEXT; 494 for (;; flags = nflags)
|
/freebsd/sys/dev/xen/grant_table/ |
H A D | grant_table.c | 169 uint16_t nflags; in gnttab_query_foreign_access() local 171 nflags = shared[ref].flags; in gnttab_query_foreign_access() 173 return (nflags & (GTF_reading|GTF_writing)); in gnttab_query_foreign_access()
|
/freebsd/usr.bin/rpcgen/ |
H A D | rpc_main.c | 1088 int nflags; in parseargs() local 1282 nflags = cmd->cflag + cmd->hflag + cmd->lflag + cmd->mflag + in parseargs() 1286 if (nflags == 0) { in parseargs() 1294 } if (nflags > 1) { in parseargs()
|
/freebsd/sys/dev/sfxge/common/ |
H A D | efx_rx.c | 330 unsigned int nflags = 0; in efx_rx_scale_hash_flags_get() local 339 nflags = 0; in efx_rx_scale_hash_flags_get() 346 if (nflags >= max_nflags) { \ in efx_rx_scale_hash_flags_get() 350 *(flagsp + nflags) = (_flags); \ in efx_rx_scale_hash_flags_get() 351 nflags++; \ in efx_rx_scale_hash_flags_get() 418 *nflagsp = nflags; in efx_rx_scale_hash_flags_get()
|
/freebsd/sys/compat/linux/ |
H A D | linux_time.c | 325 linux_to_native_timerflags(int *nflags, int flags) in linux_to_native_timerflags() argument 330 *nflags = 0; in linux_to_native_timerflags() 332 *nflags |= TIMER_ABSTIME; in linux_to_native_timerflags()
|
/freebsd/usr.sbin/newsyslog/ |
H A D | newsyslog.c | 139 int nflags; /* Program flags count */ member 150 .path = "", .flags = NULL, .nflags = 0 154 .path = _PATH_GZIP, .flags = gzip_flags, .nflags = nitems(gzip_flags) 158 .path = _PATH_BZIP2, .flags = bzip2_flags, .nflags = nitems(bzip2_flags) 162 .path = _PATH_XZ, .flags = xz_flags, .nflags = nitems(xz_flags) 166 .path = _PATH_ZSTD, .flags = zstd_flags, .nflags = nitems(zstd_flags) 2181 * filename, NULL ] so allocate nflags+3 elements for the array. in do_zipwork() 2183 args = calloc(ct->nflags + 3, sizeof(*args)); in do_zipwork() 2196 for (c = 0; c < ct->nflags; c++) in do_zipwork()
|
/freebsd/sys/dev/hwpmc/ |
H A D | hwpmc_core.c | 1182 int flags, nflags; in pmc_core_initialize() local 1223 nflags = (cpuid[CORE_CPUID_EAX] >> 24) & 0xFF; in pmc_core_initialize() 1224 flags = cpuid[CORE_CPUID_EBX] & ((1 << nflags) - 1); in pmc_core_initialize()
|
/freebsd/sys/dev/wpi/ |
H A D | if_wpi.c | 1391 uint32_t nflags; in wpi_eeprom_channel_flags() local 1393 nflags = 0; in wpi_eeprom_channel_flags() 1395 nflags |= IEEE80211_CHAN_PASSIVE; in wpi_eeprom_channel_flags() 1397 nflags |= IEEE80211_CHAN_NOADHOC; in wpi_eeprom_channel_flags() 1399 nflags |= IEEE80211_CHAN_DFS; in wpi_eeprom_channel_flags() 1401 nflags |= IEEE80211_CHAN_NOADHOC; in wpi_eeprom_channel_flags() 1405 if (nflags & IEEE80211_CHAN_NOADHOC) in wpi_eeprom_channel_flags() 1406 nflags |= IEEE80211_CHAN_NOHOSTAP; in wpi_eeprom_channel_flags() 1408 return nflags; in wpi_eeprom_channel_flags() 1417 uint32_t nflags; in wpi_read_eeprom_band() local [all …]
|
/freebsd/crypto/heimdal/lib/hdb/ |
H A D | hdb-ldap.c | 394 unsigned long oflags, nflags; in LDAP_entry2mods() 604 nflags = HDBFlags2int(ent->entry.flags); in LDAP_entry2mods() 606 if (is_heimdal_entry && oflags != nflags) { in LDAP_entry2mods() 610 nflags); in LDAP_entry2mods() 391 unsigned long oflags, nflags; LDAP_entry2mods() local
|
/freebsd/sys/kern/ |
H A D | kern_sig.c | 3028 int cflags, nflags; 3034 nflags = cflags; in sigdeferstop_impl() 3037 nflags = 0; in sigdeferstop_impl() 3040 nflags = (cflags | TDF_SBDRY) & ~(TDF_SEINTR | TDF_SERESTART); in sigdeferstop_impl() 3043 nflags = (cflags | TDF_SBDRY | TDF_SEINTR) & ~TDF_SERESTART; in sigdeferstop_impl() 3046 nflags = (cflags | TDF_SBDRY | TDF_SERESTART) & ~TDF_SEINTR; in sigdeferstop_impl() 3052 if (cflags == nflags) in sigdeferstop_impl() 3055 td->td_flags = (td->td_flags & ~cflags) | nflags; in sigdeferstop_impl() 3035 int cflags, nflags; sigdeferstop_impl() local
|
/freebsd/sys/dev/iwm/ |
H A D | if_iwm.c | 1921 uint32_t nflags; in iwm_eeprom_channel_flags() local 1923 nflags = 0; in iwm_eeprom_channel_flags() 1925 nflags |= IEEE80211_CHAN_PASSIVE; in iwm_eeprom_channel_flags() 1927 nflags |= IEEE80211_CHAN_NOADHOC; in iwm_eeprom_channel_flags() 1929 nflags |= IEEE80211_CHAN_DFS; in iwm_eeprom_channel_flags() 1931 nflags |= IEEE80211_CHAN_NOADHOC; in iwm_eeprom_channel_flags() 1934 return (nflags); in iwm_eeprom_channel_flags() 1943 uint32_t nflags; in iwm_add_channel_band() local 1964 nflags = iwm_eeprom_channel_flags(ch_flags); in iwm_add_channel_band() 1966 ieee, 0, 0, nflags, bands); in iwm_add_channel_band()
|
/freebsd/sys/compat/linuxkpi/common/src/ |
H A D | linux_80211.c | 4478 uint32_t nflags = 0; in lkpi_ic_getradiocaps() local 4489 nflags |= (IEEE80211_CHAN_NOADHOC|IEEE80211_CHAN_PASSIVE); in lkpi_ic_getradiocaps() 4491 nflags |= IEEE80211_CHAN_DFS; in lkpi_ic_getradiocaps() 4503 nflags, bands, cflags); in lkpi_ic_getradiocaps() 4510 nflags, chan_flags, cflags, error); in lkpi_ic_getradiocaps() 4548 uint32_t nflags = 0; in lkpi_ic_getradiocaps() local 4559 nflags |= (IEEE80211_CHAN_NOADHOC|IEEE80211_CHAN_PASSIVE); in lkpi_ic_getradiocaps() 4561 nflags |= IEEE80211_CHAN_DFS; in lkpi_ic_getradiocaps() 4573 nflags, bands, cflags); in lkpi_ic_getradiocaps() 4580 nflags, chan_flags, cflags, error); in lkpi_ic_getradiocaps()
|
/freebsd/sys/dev/iwn/ |
H A D | if_iwn.c | 2408 uint32_t nflags; in iwn_eeprom_channel_flags() local 2410 nflags = 0; in iwn_eeprom_channel_flags() 2412 nflags |= IEEE80211_CHAN_PASSIVE; in iwn_eeprom_channel_flags() 2414 nflags |= IEEE80211_CHAN_NOADHOC; in iwn_eeprom_channel_flags() 2416 nflags |= IEEE80211_CHAN_DFS; in iwn_eeprom_channel_flags() 2418 nflags |= IEEE80211_CHAN_NOADHOC; in iwn_eeprom_channel_flags() 2421 return nflags; in iwn_eeprom_channel_flags() 2432 int i, error, nflags; in iwn_read_eeprom_band() local 2458 nflags = iwn_eeprom_channel_flags(&channels[i]); in iwn_read_eeprom_band() 2460 chan, 0, channels[i].maxpwr, nflags, bands); in iwn_read_eeprom_band() [all …]
|
/freebsd/sys/netpfil/pf/ |
H A D | pf_table.c | 1664 int nflags; in pfr_commit_ktable() local 1716 nflags = ((shadow->pfrkt_flags & PFR_TFLAG_USRMASK) | in pfr_commit_ktable() 1721 pfr_setflags_ktable(kt, nflags); in pfr_commit_ktable()
|