Home
last modified time | relevance | path

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

/freebsd/sys/netpfil/ipfilter/netinet/
H A Dip_nat6.c938 u_int nflags; in ipf_nat6_add() local
959 nflags &= NAT_FROMRULE; in ipf_nat6_add()
1580 *nflags = IPN_ICMPERR; in ipf_nat6_icmperror()
1876 int nflags; in ipf_nat6_inlookup() local
2574 u_int nflags = 0; in ipf_nat6_checkout() local
2598 nflags = IPN_TCP; in ipf_nat6_checkout()
2601 nflags = IPN_UDP; in ipf_nat6_checkout()
2964 u_int nflags, natadd; in ipf_nat6_checkin() local
2980 nflags = 0; in ipf_nat6_checkin()
2988 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.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()
H A Dip_nat.c3033 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.c810 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 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/sys/dev/vt/
H A Dvt_buf.c893 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 Ddbtest.c485 int flags, nflags; local
489 nflags = R_PREV;
492 nflags = R_NEXT;
494 for (;; flags = nflags)
/freebsd/sys/dev/xen/grant_table/
H A Dgrant_table.c169 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 Drpc_main.c1088 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 Defx_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/sys/compat/linux/
H A Dlinux_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/usr.sbin/newsyslog/
H A Dnewsyslog.c139 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)
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 Dhwpmc_core.c1182 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 Dif_wpi.c1391 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 Dhdb-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/sys/kern/
H A Dkern_sig.c3046 int cflags, nflags; in sigdeferstop_impl() local
3052 nflags = cflags; in sigdeferstop_impl()
3055 nflags = 0; in sigdeferstop_impl()
3058 nflags = (cflags | TDF_SBDRY) & ~(TDF_SEINTR | TDF_SERESTART); in sigdeferstop_impl()
3061 nflags = (cflags | TDF_SBDRY | TDF_SEINTR) & ~TDF_SERESTART; in sigdeferstop_impl()
3064 nflags = (cflags | TDF_SBDRY | TDF_SERESTART) & ~TDF_SEINTR; in sigdeferstop_impl()
3070 if (cflags == nflags) in sigdeferstop_impl()
3073 td->td_flags = (td->td_flags & ~cflags) | nflags; in sigdeferstop_impl()
/freebsd/sys/dev/iwm/
H A Dif_iwm.c1921 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 Dlinux_80211.c4259 uint32_t nflags = 0; in lkpi_ic_getradiocaps() local
4270 nflags |= (IEEE80211_CHAN_NOADHOC|IEEE80211_CHAN_PASSIVE); in lkpi_ic_getradiocaps()
4272 nflags |= IEEE80211_CHAN_DFS; in lkpi_ic_getradiocaps()
4284 nflags, bands, cflags); in lkpi_ic_getradiocaps()
4291 nflags, chan_flags, cflags, error); in lkpi_ic_getradiocaps()
4329 uint32_t nflags = 0; in lkpi_ic_getradiocaps() local
4340 nflags |= (IEEE80211_CHAN_NOADHOC|IEEE80211_CHAN_PASSIVE); in lkpi_ic_getradiocaps()
4342 nflags |= IEEE80211_CHAN_DFS; in lkpi_ic_getradiocaps()
4354 nflags, bands, cflags); in lkpi_ic_getradiocaps()
4361 nflags, chan_flags, cflags, error); in lkpi_ic_getradiocaps()
/freebsd/sys/dev/iwn/
H A Dif_iwn.c2408 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()
2484 int i, error, nflags; in iwn_read_eeprom_ht40() local
[all …]
/freebsd/sys/netpfil/pf/
H A Dpf_table.c1664 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()