Home
last modified time | relevance | path

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

/freebsd-13.1/sys/netpfil/ipfilter/netinet/
H A Dip_nat6.c941 u_int nflags; in ipf_nat6_add() local
962 nflags &= NAT_FROMRULE; in ipf_nat6_add()
1583 *nflags = IPN_ICMPERR; in ipf_nat6_icmperror()
1879 int nflags; in ipf_nat6_inlookup() local
2572 u_int nflags = 0; in ipf_nat6_checkout() local
2596 nflags = IPN_TCP; in ipf_nat6_checkout()
2599 nflags = IPN_UDP; in ipf_nat6_checkout()
2962 u_int nflags, natadd; in ipf_nat6_checkin() local
2978 nflags = 0; in ipf_nat6_checkin()
2986 nflags = IPN_TCP; in ipf_nat6_checkin()
[all …]
H A 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()
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()
1228 nflags |= SI_W_SPORT|SI_CLONE; in ipf_p_rpcb_getnat()
[all …]
H A 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()
H A Dip_nat.c3030 u_int nflags; in ipf_nat_add() local
4006 int nflags; in ipf_nat_inlookup() local
4762 u_int nflags = 0; in ipf_nat_checkout() local
4799 nflags = IPN_TCP; in ipf_nat_checkout()
4802 nflags = IPN_UDP; in ipf_nat_checkout()
5272 nflags = 0; in ipf_nat_checkin()
5280 nflags = IPN_TCP; in ipf_nat_checkin()
8204 int nflags; in ipf_nat_uncreate() local
8210 nflags = IPN_TCP; in ipf_nat_uncreate()
8213 nflags = IPN_UDP; in ipf_nat_uncreate()
[all …]
H A 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()
H A 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-13.1/sys/dev/xen/grant_table/
H A 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-13.1/contrib/ipfilter/
H A 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;
1826 nflags |= FR_SKIP;
1833 nflags |= FR_LOG;
1841 nflags |= FR_QUICK;
1857 nflags |= FR_INQUE;
1881 return nflags;
[all …]
/freebsd-13.1/contrib/netbsd-tests/lib/libc/db/
H A 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-13.1/sys/dev/vt/
H A Dvt_buf.c860 int oflags, nflags; in vtbuf_cursor_visibility() local
867 nflags = vb->vb_flags; in vtbuf_cursor_visibility()
869 if (oflags != nflags) in vtbuf_cursor_visibility()
876 int oflags, nflags; in vtbuf_scroll_mode() local
884 nflags = vb->vb_flags; in vtbuf_scroll_mode()
886 if (oflags != nflags) in vtbuf_scroll_mode()
/freebsd-13.1/lib/libc/db/test/
H A Ddbtest.c497 int flags, nflags; local
501 nflags = R_PREV;
504 nflags = R_NEXT;
506 for (;; flags = nflags)
/freebsd-13.1/usr.bin/rpcgen/
H A 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-13.1/sys/compat/linux/
H A Dlinux_time.c243 linux_to_native_timerflags(int *nflags, int flags) in linux_to_native_timerflags() argument
248 *nflags = 0; in linux_to_native_timerflags()
250 *nflags |= TIMER_ABSTIME; in linux_to_native_timerflags()
/freebsd-13.1/sys/dev/sfxge/common/
H A Defx_rx.c332 unsigned int nflags = 0; in efx_rx_scale_hash_flags_get() local
341 nflags = 0; in efx_rx_scale_hash_flags_get()
348 if (nflags >= max_nflags) { \ in efx_rx_scale_hash_flags_get()
352 *(flagsp + nflags) = (_flags); \ in efx_rx_scale_hash_flags_get()
353 nflags++; \ in efx_rx_scale_hash_flags_get()
420 *nflagsp = nflags; in efx_rx_scale_hash_flags_get()
/freebsd-13.1/sys/compat/linuxkpi/common/src/
H A Dlinux_80211.c3102 uint32_t nflags = 0; in lkpi_ic_getradiocaps() local
3113 nflags |= (IEEE80211_CHAN_NOADHOC|IEEE80211_CHAN_PASSIVE); in lkpi_ic_getradiocaps()
3115 nflags |= IEEE80211_CHAN_DFS; in lkpi_ic_getradiocaps()
3127 nflags, bands, chan_flags); in lkpi_ic_getradiocaps()
3134 nflags, chan_flags, cflags, error); in lkpi_ic_getradiocaps()
3172 uint32_t nflags = 0; in lkpi_ic_getradiocaps() local
3183 nflags |= (IEEE80211_CHAN_NOADHOC|IEEE80211_CHAN_PASSIVE); in lkpi_ic_getradiocaps()
3185 nflags |= IEEE80211_CHAN_DFS; in lkpi_ic_getradiocaps()
3197 nflags, bands, chan_flags); in lkpi_ic_getradiocaps()
3204 nflags, chan_flags, cflags, error); in lkpi_ic_getradiocaps()
/freebsd-13.1/sys/dev/hwpmc/
H A Dhwpmc_core.c1261 int ipa_version, flags, nflags; in pmc_core_initialize() local
1302 nflags = (cpuid[CORE_CPUID_EAX] >> 24) & 0xFF; in pmc_core_initialize()
1303 flags = cpuid[CORE_CPUID_EBX] & ((1 << nflags) - 1); in pmc_core_initialize()
/freebsd-13.1/sys/dev/wpi/
H A 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-13.1/crypto/heimdal/lib/hdb/
H A 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-13.1/sys/kern/
H A Dkern_sig.c2869 int cflags, nflags; in sigdeferstop_impl() local
2875 nflags = cflags; in sigdeferstop_impl()
2878 nflags = 0; in sigdeferstop_impl()
2881 nflags = (cflags | TDF_SBDRY) & ~(TDF_SEINTR | TDF_SERESTART); in sigdeferstop_impl()
2884 nflags = (cflags | TDF_SBDRY | TDF_SEINTR) & ~TDF_SERESTART; in sigdeferstop_impl()
2887 nflags = (cflags | TDF_SBDRY | TDF_SERESTART) & ~TDF_SEINTR; in sigdeferstop_impl()
2893 if (cflags == nflags) in sigdeferstop_impl()
2896 td->td_flags = (td->td_flags & ~cflags) | nflags; in sigdeferstop_impl()
/freebsd-13.1/sys/dev/iwm/
H A 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-13.1/sys/dev/iwn/
H A 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()
2487 int i, error, nflags; in iwn_read_eeprom_ht40() local
[all …]
/freebsd-13.1/usr.sbin/newsyslog/
H A 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-13.1/sys/netpfil/pf/
H A 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()