Home
last modified time | relevance | path

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

/freebsd-13-stable/sys/netpfil/ipfilter/netinet/
HDip_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 …]
HDip_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 …]
HDip_rcmd_pxy.c138 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()
HDip_nat.c3037 u_int nflags; in ipf_nat_add() local
3055 nflags = np->in_flags & flags; in ipf_nat_add()
3056 nflags &= NAT_FROMRULE; in ipf_nat_add()
3123 natl = ipf_nat_outlookup(fin, nflags, (u_int)fin->fin_p, in ipf_nat_add()
3136 natl = ipf_nat_inlookup(fin, nflags, (u_int)fin->fin_p, in ipf_nat_add()
3699 ipf_nat_icmperror(fr_info_t *fin, u_int *nflags, int dir) in ipf_nat_icmperror() argument
3730 *nflags = IPN_ICMPERR; in ipf_nat_icmperror()
4013 int nflags; in ipf_nat_inlookup() local
4173 nflags = nat->nat_flags; in ipf_nat_inlookup()
4174 if (!(nflags & (NAT_TCPUDP|SI_WILDP))) in ipf_nat_inlookup()
[all …]
HDip_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()
HDip_ftp_pxy.c812 int inc, off, nflags; in ipf_p_ftp_pasvreply() local
866 nflags = IPN_TCP|SI_W_SPORT; in ipf_p_ftp_pasvreply()
886 nflags, nat->nat_dir); in ipf_p_ftp_pasvreply()
890 nflags, nat->nat_dir); in ipf_p_ftp_pasvreply()
/freebsd-13-stable/sys/dev/xen/grant_table/
HDgrant_table.c173 uint16_t nflags; in gnttab_query_foreign_access() local
175 nflags = shared[ref].flags; in gnttab_query_foreign_access()
177 return (nflags & (GTF_reading|GTF_writing)); in gnttab_query_foreign_access()
183 uint16_t flags, nflags; in gnttab_end_foreign_access_ref() local
185 nflags = shared[ref].flags; in gnttab_end_foreign_access_ref()
187 if ( (flags = nflags) & (GTF_reading|GTF_writing) ) { in gnttab_end_foreign_access_ref()
191 } while ((nflags = synch_cmpxchg(&shared[ref].flags, flags, 0)) != in gnttab_end_foreign_access_ref()
/freebsd-13-stable/contrib/ipfilter/
HDip_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-13-stable/contrib/netbsd-tests/lib/libc/db/
HDh_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-13-stable/sys/dev/vt/
HDvt_buf.c894 int oflags, nflags; in vtbuf_cursor_visibility() local
901 nflags = vb->vb_flags; in vtbuf_cursor_visibility()
903 if (oflags != nflags) in vtbuf_cursor_visibility()
910 int oflags, nflags; in vtbuf_scroll_mode() local
918 nflags = vb->vb_flags; in vtbuf_scroll_mode()
920 if (oflags != nflags) in vtbuf_scroll_mode()
/freebsd-13-stable/lib/libc/db/test/
HDdbtest.c495 int flags, nflags; local
499 nflags = R_PREV;
502 nflags = R_NEXT;
504 for (;; flags = nflags)
/freebsd-13-stable/usr.bin/rpcgen/
HDrpc_main.c1001 int nflags; in parseargs() local
1195 nflags = cmd->cflag + cmd->hflag + cmd->lflag + cmd->mflag + in parseargs()
1199 if (nflags == 0) { in parseargs()
1207 } if (nflags > 1) { in parseargs()
/freebsd-13-stable/sys/dev/sfxge/common/
HDefx_rx.c330 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-13-stable/sys/compat/linux/
HDlinux_time.c325 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-13-stable/sys/dev/hwpmc/
HDhwpmc_core.c1177 int flags, nflags; in pmc_core_initialize() local
1218 nflags = (cpuid[CORE_CPUID_EAX] >> 24) & 0xFF; in pmc_core_initialize()
1219 flags = cpuid[CORE_CPUID_EBX] & ((1 << nflags) - 1); in pmc_core_initialize()
/freebsd-13-stable/sys/dev/wpi/
HDif_wpi.c1392 uint32_t nflags; in wpi_eeprom_channel_flags() local
1394 nflags = 0; in wpi_eeprom_channel_flags()
1396 nflags |= IEEE80211_CHAN_PASSIVE; in wpi_eeprom_channel_flags()
1398 nflags |= IEEE80211_CHAN_NOADHOC; in wpi_eeprom_channel_flags()
1400 nflags |= IEEE80211_CHAN_DFS; in wpi_eeprom_channel_flags()
1402 nflags |= IEEE80211_CHAN_NOADHOC; in wpi_eeprom_channel_flags()
1406 if (nflags & IEEE80211_CHAN_NOADHOC) in wpi_eeprom_channel_flags()
1407 nflags |= IEEE80211_CHAN_NOHOSTAP; in wpi_eeprom_channel_flags()
1409 return nflags; in wpi_eeprom_channel_flags()
1418 uint32_t nflags; in wpi_read_eeprom_band() local
[all …]
/freebsd-13-stable/crypto/heimdal/lib/hdb/
HDhdb-ldap.c394 unsigned long oflags, nflags; in LDAP_entry2mods() local
604 nflags = HDBFlags2int(ent->entry.flags); in LDAP_entry2mods()
606 if (is_heimdal_entry && oflags != nflags) { in LDAP_entry2mods()
610 nflags); in LDAP_entry2mods()
/freebsd-13-stable/sys/kern/
HDkern_sig.c2954 int cflags, nflags; in sigdeferstop_impl() local
2960 nflags = cflags; in sigdeferstop_impl()
2963 nflags = 0; in sigdeferstop_impl()
2966 nflags = (cflags | TDF_SBDRY) & ~(TDF_SEINTR | TDF_SERESTART); in sigdeferstop_impl()
2969 nflags = (cflags | TDF_SBDRY | TDF_SEINTR) & ~TDF_SERESTART; in sigdeferstop_impl()
2972 nflags = (cflags | TDF_SBDRY | TDF_SERESTART) & ~TDF_SEINTR; in sigdeferstop_impl()
2978 if (cflags == nflags) in sigdeferstop_impl()
2981 td->td_flags = (td->td_flags & ~cflags) | nflags; in sigdeferstop_impl()
/freebsd-13-stable/sys/dev/iwm/
HDif_iwm.c2013 uint32_t nflags; in iwm_eeprom_channel_flags() local
2015 nflags = 0; in iwm_eeprom_channel_flags()
2017 nflags |= IEEE80211_CHAN_PASSIVE; in iwm_eeprom_channel_flags()
2019 nflags |= IEEE80211_CHAN_NOADHOC; in iwm_eeprom_channel_flags()
2021 nflags |= IEEE80211_CHAN_DFS; in iwm_eeprom_channel_flags()
2023 nflags |= IEEE80211_CHAN_NOADHOC; in iwm_eeprom_channel_flags()
2026 return (nflags); in iwm_eeprom_channel_flags()
2035 uint32_t nflags; in iwm_add_channel_band() local
2056 nflags = iwm_eeprom_channel_flags(ch_flags); in iwm_add_channel_band()
2058 ieee, 0, 0, nflags, bands); in iwm_add_channel_band()
/freebsd-13-stable/sys/compat/linuxkpi/common/src/
HDlinux_80211.c4308 uint32_t nflags = 0; local
4319 nflags |= (IEEE80211_CHAN_NOADHOC|IEEE80211_CHAN_PASSIVE);
4321 nflags |= IEEE80211_CHAN_DFS;
4333 nflags, bands, cflags);
4340 nflags, chan_flags, cflags, error);
4378 uint32_t nflags = 0; local
4389 nflags |= (IEEE80211_CHAN_NOADHOC|IEEE80211_CHAN_PASSIVE);
4391 nflags |= IEEE80211_CHAN_DFS;
4403 nflags, bands, cflags);
4410 nflags, chan_flags, cflags, error);
/freebsd-13-stable/sys/dev/iwn/
HDif_iwn.c2409 uint32_t nflags; in iwn_eeprom_channel_flags() local
2411 nflags = 0; in iwn_eeprom_channel_flags()
2413 nflags |= IEEE80211_CHAN_PASSIVE; in iwn_eeprom_channel_flags()
2415 nflags |= IEEE80211_CHAN_NOADHOC; in iwn_eeprom_channel_flags()
2417 nflags |= IEEE80211_CHAN_DFS; in iwn_eeprom_channel_flags()
2419 nflags |= IEEE80211_CHAN_NOADHOC; in iwn_eeprom_channel_flags()
2422 return nflags; in iwn_eeprom_channel_flags()
2433 int i, error, nflags; in iwn_read_eeprom_band() local
2459 nflags = iwn_eeprom_channel_flags(&channels[i]); in iwn_read_eeprom_band()
2461 chan, 0, channels[i].maxpwr, nflags, bands); in iwn_read_eeprom_band()
[all …]
/freebsd-13-stable/usr.sbin/newsyslog/
HDnewsyslog.c135 int nflags; /* Program flags count */ member
2067 args = calloc(ct->nflags + 3, sizeof(*args)); in do_zipwork()
2080 for (c = 0; c < ct->nflags; c++) in do_zipwork()
/freebsd-13-stable/sys/netpfil/pf/
HDpf_table.c1663 int nflags; in pfr_commit_ktable() local
1715 nflags = ((shadow->pfrkt_flags & PFR_TFLAG_USRMASK) | in pfr_commit_ktable()
1720 pfr_setflags_ktable(kt, nflags); in pfr_commit_ktable()