Home
last modified time | relevance | path

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

/freebsd/sys/netpfil/ipfilter/netinet/
H A Dip_nat6.c938 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()
1542 ipf_nat6_icmperror(fr_info_t *fin, u_int *nflags, int dir) in ipf_nat6_icmperror() argument
1573 *nflags = IPN_ICMPERR; in ipf_nat6_icmperror()
1869 int nflags; in ipf_nat6_inlookup() local
2021 nflags = nat->nat_flags; in ipf_nat6_inlookup()
2022 if (!(nflags & (NAT_TCPUDP|SI_WILDP))) in ipf_nat6_inlookup()
[all …]
H A Dip_rpcb_pxy.c1105 int nflags; in ipf_p_rpcb_getnat() local
1127 nflags = NAT_TCP; in ipf_p_rpcb_getnat()
1130 nflags = NAT_UDP; in ipf_p_rpcb_getnat()
1133 nflags |= SI_W_SPORT|NAT_SEARCH; in ipf_p_rpcb_getnat()
1153 natl = ipf_nat_inlookup(&fi, nflags, proto, fi.fin_src, fi.fin_dst); in ipf_p_rpcb_getnat()
1167 nflags &= ~NAT_SEARCH; in ipf_p_rpcb_getnat()
1180 ipn->in_flags = nflags & IPN_TCPUDP; in ipf_p_rpcb_getnat()
1197 natl = ipf_nat_add(&fi, ipn, NULL, nflags|SI_CLONE|NAT_SLAVE, in ipf_p_rpcb_getnat()
1212 (void) ipf_nat_proto(&fi, natl, nflags); in ipf_p_rpcb_getnat()
1223 nflags &= NAT_TCPUDP; in ipf_p_rpcb_getnat()
[all …]
H A Dip_rcmd_pxy.c132 int off, dlen, nflags, direction; in ipf_p_rcmd_portmsg() local
275 nflags = SI_W_SPORT|NAT_SLAVE|IPN_TCP; in ipf_p_rcmd_portmsg()
279 nat2 = ipf_nat_add(&fi, rc->rcmd_rule, NULL, nflags, in ipf_p_rcmd_portmsg()
283 nat2 = ipf_nat6_add(&fi, rc->rcmd_rule, NULL, nflags, in ipf_p_rcmd_portmsg()
H A Dip_nat.c3074 u_int nflags; in ipf_nat_add() local
3092 nflags = np->in_flags & flags; in ipf_nat_add()
3093 nflags &= NAT_FROMRULE; in ipf_nat_add()
3160 natl = ipf_nat_outlookup(fin, nflags, (u_int)fin->fin_p, in ipf_nat_add()
3173 natl = ipf_nat_inlookup(fin, nflags, (u_int)fin->fin_p, in ipf_nat_add()
3728 ipf_nat_icmperror(fr_info_t *fin, u_int *nflags, int dir) in ipf_nat_icmperror() argument
3759 *nflags = IPN_ICMPERR; in ipf_nat_icmperror()
4040 int nflags; in ipf_nat_inlookup() local
4198 nflags = nat->nat_flags; in ipf_nat_inlookup()
4199 if (!(nflags & (NAT_TCPUDP|SI_WILDP))) in ipf_nat_inlookup()
[all …]
H A Dip_tftp_pxy.c280 int nflags; in ipf_p_tftp_backchannel() local
306 nflags = NAT_SLAVE|IPN_UDP|SI_W_SPORT; in ipf_p_tftp_backchannel()
341 nflags |= NAT_NOTRULEPORT; in ipf_p_tftp_backchannel()
346 nat2 = ipf_nat6_add(&fi, ti->ti_rule, NULL, nflags, dir); in ipf_p_tftp_backchannel()
349 nat2 = ipf_nat_add(&fi, ti->ti_rule, NULL, nflags, dir); in ipf_p_tftp_backchannel()
H A Dip_ftp_pxy.c808 int inc, off, nflags; in ipf_p_ftp_pasvreply() local
862 nflags = IPN_TCP|SI_W_SPORT; in ipf_p_ftp_pasvreply()
882 nflags, nat->nat_dir); in ipf_p_ftp_pasvreply()
886 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/crypto/krb5/src/plugins/kdb/db2/libdb2/test/
H A Ddbtest.c543 int lflags, nflags; in dump() local
547 nflags = recurse ? R_RPREV : R_PREV; in dump()
550 nflags = recurse ? R_RNEXT : R_NEXT; in dump()
552 for (;; lflags = nflags) in dump()
/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.c140 int nflags; /* Program flags count */ member
151 .path = "", .flags = NULL, .nflags = 0
155 .path = _PATH_GZIP, .flags = gzip_flags, .nflags = nitems(gzip_flags)
159 .path = _PATH_BZIP2, .flags = bzip2_flags, .nflags = nitems(bzip2_flags)
163 .path = _PATH_XZ, .flags = xz_flags, .nflags = nitems(xz_flags)
167 .path = _PATH_ZSTD, .flags = zstd_flags, .nflags = nitems(zstd_flags)
2169 args = calloc(ct->nflags + 3, sizeof(*args)); in do_zipwork()
2182 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/sys/kern/
H A Dkern_sig.c3073 int cflags, nflags; in sigdeferstop_impl() local
3079 nflags = cflags; in sigdeferstop_impl()
3082 nflags = 0; in sigdeferstop_impl()
3085 nflags = (cflags | TDF_SBDRY) & ~(TDF_SEINTR | TDF_SERESTART); in sigdeferstop_impl()
3088 nflags = (cflags | TDF_SBDRY | TDF_SEINTR) & ~TDF_SERESTART; in sigdeferstop_impl()
3091 nflags = (cflags | TDF_SBDRY | TDF_SERESTART) & ~TDF_SEINTR; in sigdeferstop_impl()
3097 if (cflags == nflags) in sigdeferstop_impl()
3100 td->td_flags = (td->td_flags & ~cflags) | nflags; in sigdeferstop_impl()
/freebsd/crypto/heimdal/lib/hdb/
H A Dhdb-ldap.c394 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/dev/iwm/
H A Dif_iwm.c1949 uint32_t nflags; in iwm_eeprom_channel_flags() local
1951 nflags = 0; in iwm_eeprom_channel_flags()
1953 nflags |= IEEE80211_CHAN_PASSIVE; in iwm_eeprom_channel_flags()
1955 nflags |= IEEE80211_CHAN_NOADHOC; in iwm_eeprom_channel_flags()
1957 nflags |= IEEE80211_CHAN_DFS; in iwm_eeprom_channel_flags()
1959 nflags |= IEEE80211_CHAN_NOADHOC; in iwm_eeprom_channel_flags()
1962 return (nflags); in iwm_eeprom_channel_flags()
1971 uint32_t nflags; in iwm_add_channel_band() local
1992 nflags = iwm_eeprom_channel_flags(ch_flags); in iwm_add_channel_band()
1994 ieee, 0, 0, nflags, bands); in iwm_add_channel_band()
/freebsd/sys/dev/iwn/
H A Dif_iwn.c2413 uint32_t nflags; in iwn_eeprom_channel_flags() local
2415 nflags = 0; in iwn_eeprom_channel_flags()
2417 nflags |= IEEE80211_CHAN_PASSIVE; in iwn_eeprom_channel_flags()
2419 nflags |= IEEE80211_CHAN_NOADHOC; in iwn_eeprom_channel_flags()
2421 nflags |= IEEE80211_CHAN_DFS; in iwn_eeprom_channel_flags()
2423 nflags |= IEEE80211_CHAN_NOADHOC; in iwn_eeprom_channel_flags()
2426 return nflags; in iwn_eeprom_channel_flags()
2437 int i, error, nflags; in iwn_read_eeprom_band() local
2463 nflags = iwn_eeprom_channel_flags(&channels[i]); in iwn_read_eeprom_band()
2465 chan, 0, channels[i].maxpwr, nflags, bands); in iwn_read_eeprom_band()
[all …]
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_80211.c6378 uint32_t nflags = 0; local
6389 nflags |= (IEEE80211_CHAN_NOADHOC|IEEE80211_CHAN_PASSIVE);
6391 nflags |= IEEE80211_CHAN_DFS;
6404 nflags, bands, cflags);
6411 nflags, chan_flags, cflags, error);
6451 uint32_t nflags = 0; local
6462 nflags |= (IEEE80211_CHAN_NOADHOC|IEEE80211_CHAN_PASSIVE);
6464 nflags |= IEEE80211_CHAN_DFS;
6477 nflags, bands, cflags);
6484 nflags, chan_flags, cflags, error);
/freebsd/sys/netpfil/pf/
H A Dpf_table.c1724 int nflags; in pfr_commit_ktable() local
1777 nflags = ((shadow->pfrkt_flags & PFR_TFLAG_USRMASK) | in pfr_commit_ktable()
1782 pfr_setflags_ktable(kt, nflags); in pfr_commit_ktable()
/freebsd/sys/dev/iwx/
H A Dif_iwx.c3208 uint32_t nflags = 0; in iwx_init_channel_map() local
3230 nflags, bands, cflags); in iwx_init_channel_map()
3247 uint32_t nflags = 0; in iwx_init_channel_map() local
3273 nflags, bands, cflags); in iwx_init_channel_map()