Home
last modified time | relevance | path

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

12

/freebsd-12-stable/sys/netpfil/ipfilter/netinet/
Dip_nat6.c941 u_int nflags; in ipf_nat6_add() local
961 nflags = np->in_flags & flags; in ipf_nat6_add()
962 nflags &= NAT_FROMRULE; in ipf_nat6_add()
1028 natl = ipf_nat6_outlookup(fin, nflags, (u_int)fin->fin_p, in ipf_nat6_add()
1042 natl = ipf_nat6_inlookup(fin, nflags, (u_int)fin->fin_p, in ipf_nat6_add()
1552 ipf_nat6_icmperror(fr_info_t *fin, u_int *nflags, int dir) in ipf_nat6_icmperror() argument
1583 *nflags = IPN_ICMPERR; in ipf_nat6_icmperror()
1879 int nflags; in ipf_nat6_inlookup() local
2034 nflags = nat->nat_flags; in ipf_nat6_inlookup()
2035 if (!(nflags & (NAT_TCPUDP|SI_WILDP))) in ipf_nat6_inlookup()
[all …]
Dip_rpcb_pxy.c1109 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 …]
Dip_rcmd_pxy.c140 int off, dlen, nflags, direction; in ipf_p_rcmd_portmsg() local
283 nflags = SI_W_SPORT|NAT_SLAVE|IPN_TCP; in ipf_p_rcmd_portmsg()
287 nat2 = ipf_nat_add(&fi, rc->rcmd_rule, NULL, nflags, in ipf_p_rcmd_portmsg()
291 nat2 = ipf_nat6_add(&fi, rc->rcmd_rule, NULL, nflags, in ipf_p_rcmd_portmsg()
Dip_nat.c3039 u_int nflags; in ipf_nat_add() local
3057 nflags = np->in_flags & flags; in ipf_nat_add()
3058 nflags &= NAT_FROMRULE; in ipf_nat_add()
3125 natl = ipf_nat_outlookup(fin, nflags, (u_int)fin->fin_p, in ipf_nat_add()
3138 natl = ipf_nat_inlookup(fin, nflags, (u_int)fin->fin_p, in ipf_nat_add()
3701 ipf_nat_icmperror(fr_info_t *fin, u_int *nflags, int dir) in ipf_nat_icmperror() argument
3732 *nflags = IPN_ICMPERR; in ipf_nat_icmperror()
4015 int nflags; in ipf_nat_inlookup() local
4175 nflags = nat->nat_flags; in ipf_nat_inlookup()
4176 if (!(nflags & (NAT_TCPUDP|SI_WILDP))) in ipf_nat_inlookup()
[all …]
Dip_tftp_pxy.c282 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()
Dip_ftp_pxy.c815 int inc, off, nflags; in ipf_p_ftp_pasvreply() local
869 nflags = IPN_TCP|SI_W_SPORT; in ipf_p_ftp_pasvreply()
889 nflags, nat->nat_dir); in ipf_p_ftp_pasvreply()
893 nflags, nat->nat_dir); in ipf_p_ftp_pasvreply()
/freebsd-12-stable/sys/dev/xen/grant_table/
Dgrant_table.c175 uint16_t nflags; in gnttab_query_foreign_access() local
177 nflags = shared[ref].flags; in gnttab_query_foreign_access()
179 return (nflags & (GTF_reading|GTF_writing)); in gnttab_query_foreign_access()
185 uint16_t flags, nflags; in gnttab_end_foreign_access_ref() local
187 nflags = shared[ref].flags; in gnttab_end_foreign_access_ref()
189 if ( (flags = nflags) & (GTF_reading|GTF_writing) ) { in gnttab_end_foreign_access_ref()
193 } while ((nflags = synch_cmpxchg(&shared[ref].flags, flags, 0)) != in gnttab_end_foreign_access_ref()
/freebsd-12-stable/contrib/ipfilter/
Dip_fil_compat.c1804 u_32_t nflags = 0; local
1808 nflags |= FR_CALL;
1811 nflags |= FR_BLOCK;
1814 nflags |= FR_PASS;
1817 nflags |= FR_AUTH;
1820 nflags |= FR_PREAUTH;
1823 nflags |= FR_ACCOUNT;
1826 nflags |= FR_SKIP;
1833 nflags |= FR_LOG;
1835 nflags |= FR_CALLNOW;
[all …]
/freebsd-12-stable/contrib/netbsd-tests/lib/libc/db/
Dh_db.c504 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-12-stable/sys/dev/vt/
Dvt_buf.c830 int oflags, nflags; in vtbuf_cursor_visibility() local
837 nflags = vb->vb_flags; in vtbuf_cursor_visibility()
839 if (oflags != nflags) in vtbuf_cursor_visibility()
846 int oflags, nflags; in vtbuf_scroll_mode() local
854 nflags = vb->vb_flags; in vtbuf_scroll_mode()
856 if (oflags != nflags) in vtbuf_scroll_mode()
/freebsd-12-stable/lib/libc/db/test/
Ddbtest.c497 int flags, nflags; local
501 nflags = R_PREV;
504 nflags = R_NEXT;
506 for (;; flags = nflags)
/freebsd-12-stable/sys/i386/ibcs2/
Dibcs2_misc.c246 int oflags = uap->flags, nflags, error; in ibcs2_mount() local
253 nflags = 0; in ibcs2_mount()
255 nflags |= MNT_RDONLY; in ibcs2_mount()
257 nflags |= MNT_NOSUID; in ibcs2_mount()
259 nflags |= MNT_UPDATE; in ibcs2_mount()
260 uap->flags = nflags; in ibcs2_mount()
/freebsd-12-stable/usr.bin/rpcgen/
Drpc_main.c1004 int nflags; in parseargs() local
1198 nflags = cmd->cflag + cmd->hflag + cmd->lflag + cmd->mflag + in parseargs()
1202 if (nflags == 0) { in parseargs()
1210 } if (nflags > 1) { in parseargs()
/freebsd-12-stable/sys/compat/linux/
Dlinux_time.c244 linux_to_native_timerflags(int *nflags, int flags) in linux_to_native_timerflags() argument
249 *nflags = 0; in linux_to_native_timerflags()
251 *nflags |= TIMER_ABSTIME; in linux_to_native_timerflags()
/freebsd-12-stable/sys/arm/arm/
Dpmap-v4.c2972 u_int nflags; in pmap_enter_locked() local
2986 nflags = 0; in pmap_enter_locked()
2988 nflags |= PVF_WRITE; in pmap_enter_locked()
2990 nflags |= PVF_EXEC; in pmap_enter_locked()
2992 nflags |= PVF_WIRED; in pmap_enter_locked()
3045 nflags |= PVF_REF; in pmap_enter_locked()
3055 nflags |= PVF_MOD; in pmap_enter_locked()
3082 PVF_MOD | PVF_REF, nflags); in pmap_enter_locked()
3155 nflags |= PVF_UNMAN; in pmap_enter_locked()
3156 pmap_enter_pv(m, pve, pmap, va, nflags); in pmap_enter_locked()
[all …]
/freebsd-12-stable/sys/dev/hwpmc/
Dhwpmc_core.c1264 int ipa_version, flags, nflags; in pmc_core_initialize() local
1305 nflags = (cpuid[CORE_CPUID_EAX] >> 24) & 0xFF; in pmc_core_initialize()
1306 flags = cpuid[CORE_CPUID_EBX] & ((1 << nflags) - 1); in pmc_core_initialize()
/freebsd-12-stable/sys/dev/wpi/
Dif_wpi.c1394 uint32_t nflags; in wpi_eeprom_channel_flags() local
1396 nflags = 0; in wpi_eeprom_channel_flags()
1398 nflags |= IEEE80211_CHAN_PASSIVE; in wpi_eeprom_channel_flags()
1400 nflags |= IEEE80211_CHAN_NOADHOC; in wpi_eeprom_channel_flags()
1402 nflags |= IEEE80211_CHAN_DFS; in wpi_eeprom_channel_flags()
1404 nflags |= IEEE80211_CHAN_NOADHOC; in wpi_eeprom_channel_flags()
1408 if (nflags & IEEE80211_CHAN_NOADHOC) in wpi_eeprom_channel_flags()
1409 nflags |= IEEE80211_CHAN_NOHOSTAP; in wpi_eeprom_channel_flags()
1411 return nflags; in wpi_eeprom_channel_flags()
1420 uint32_t nflags; in wpi_read_eeprom_band() local
[all …]
/freebsd-12-stable/sys/kern/
Dkern_sig.c2748 int cflags, nflags; in sigdeferstop_impl() local
2754 nflags = cflags; in sigdeferstop_impl()
2757 nflags = 0; in sigdeferstop_impl()
2760 nflags = (cflags | TDF_SBDRY) & ~(TDF_SEINTR | TDF_SERESTART); in sigdeferstop_impl()
2763 nflags = (cflags | TDF_SBDRY | TDF_SEINTR) & ~TDF_SERESTART; in sigdeferstop_impl()
2766 nflags = (cflags | TDF_SBDRY | TDF_SERESTART) & ~TDF_SEINTR; in sigdeferstop_impl()
2772 if (cflags == nflags) in sigdeferstop_impl()
2775 td->td_flags = (td->td_flags & ~cflags) | nflags; in sigdeferstop_impl()
/freebsd-12-stable/crypto/heimdal/lib/hdb/
Dhdb-ldap.c391 unsigned long oflags, nflags; in LDAP_entry2mods() local
601 nflags = HDBFlags2int(ent->entry.flags); in LDAP_entry2mods()
603 if (is_heimdal_entry && oflags != nflags) { in LDAP_entry2mods()
607 nflags); in LDAP_entry2mods()
/freebsd-12-stable/contrib/bmake/
Dvar.c2268 int nflags; in ApplyModifier_Defined() local
2276 nflags = st->flags & ~VARF_WANTRES; in ApplyModifier_Defined()
2278 nflags |= VARF_WANTRES; in ApplyModifier_Defined()
2280 nflags = st->flags; in ApplyModifier_Defined()
2307 cp2 = Var_Parse(st->cp, st->ctxt, nflags, &len, &freeIt); in ApplyModifier_Defined()
2320 if (nflags & VARF_WANTRES) { in ApplyModifier_Defined()
/freebsd-12-stable/sys/dev/iwm/
Dif_iwm.c2015 uint32_t nflags; in iwm_eeprom_channel_flags() local
2017 nflags = 0; in iwm_eeprom_channel_flags()
2019 nflags |= IEEE80211_CHAN_PASSIVE; in iwm_eeprom_channel_flags()
2021 nflags |= IEEE80211_CHAN_NOADHOC; in iwm_eeprom_channel_flags()
2023 nflags |= IEEE80211_CHAN_DFS; in iwm_eeprom_channel_flags()
2025 nflags |= IEEE80211_CHAN_NOADHOC; in iwm_eeprom_channel_flags()
2028 return (nflags); in iwm_eeprom_channel_flags()
2037 uint32_t nflags; in iwm_add_channel_band() local
2058 nflags = iwm_eeprom_channel_flags(ch_flags); in iwm_add_channel_band()
2060 ieee, 0, 0, nflags, bands); in iwm_add_channel_band()
/freebsd-12-stable/sys/dev/iwn/
Dif_iwn.c2411 uint32_t nflags; in iwn_eeprom_channel_flags() local
2413 nflags = 0; in iwn_eeprom_channel_flags()
2415 nflags |= IEEE80211_CHAN_PASSIVE; in iwn_eeprom_channel_flags()
2417 nflags |= IEEE80211_CHAN_NOADHOC; in iwn_eeprom_channel_flags()
2419 nflags |= IEEE80211_CHAN_DFS; in iwn_eeprom_channel_flags()
2421 nflags |= IEEE80211_CHAN_NOADHOC; in iwn_eeprom_channel_flags()
2424 return nflags; in iwn_eeprom_channel_flags()
2435 int i, error, nflags; in iwn_read_eeprom_band() local
2461 nflags = iwn_eeprom_channel_flags(&channels[i]); in iwn_read_eeprom_band()
2463 chan, 0, channels[i].maxpwr, nflags, bands); in iwn_read_eeprom_band()
[all …]
/freebsd-12-stable/contrib/gcc/
Dgimplify.c4412 unsigned int nflags; in omp_add_variable() local
4432 nflags = n->value | flags; in omp_add_variable()
4433 gcc_assert ((nflags & GOVD_DATA_SHARE_CLASS) in omp_add_variable()
4435 n->value = nflags; in omp_add_variable()
4450 nflags = flags & GOVD_PRIVATE ? GOVD_PRIVATE : GOVD_FIRSTPRIVATE; in omp_add_variable()
4451 nflags |= flags & GOVD_SEEN; in omp_add_variable()
4456 omp_add_variable (ctx, t, nflags); in omp_add_variable()
/freebsd-12-stable/usr.sbin/newsyslog/
Dnewsyslog.c136 int nflags; /* Program flags count */ member
2056 args = calloc(ct->nflags + 3, sizeof(*args)); in do_zipwork()
2069 for (c = 0; c < ct->nflags; c++) in do_zipwork()
/freebsd-12-stable/sys/netpfil/pf/
Dpf_table.c1665 int nflags; in pfr_commit_ktable() local
1717 nflags = ((shadow->pfrkt_flags & PFR_TFLAG_USRMASK) | in pfr_commit_ktable()
1722 pfr_setflags_ktable(kt, nflags); in pfr_commit_ktable()

12