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

/freebsd-current/sys/netpfil/ipfilter/netinet/
H A Dip_rcmd_pxy.c138 int off, dlen, nflags, direction; local
281 nflags = SI_W_SPORT|NAT_SLAVE|IPN_TCP;
285 nat2 = ipf_nat_add(&fi, rc->rcmd_rule, NULL, nflags,
289 nat2 = ipf_nat6_add(&fi, rc->rcmd_rule, NULL, nflags,
H A Dip_rpcb_pxy.c1109 int nflags; local
1131 nflags = NAT_TCP;
1134 nflags = NAT_UDP;
1137 nflags |= SI_W_SPORT|NAT_SEARCH;
1157 natl = ipf_nat_inlookup(&fi, nflags, proto, fi.fin_src, fi.fin_dst);
1171 nflags &= ~NAT_SEARCH;
1184 ipn->in_flags = nflags & IPN_TCPUDP;
1201 natl = ipf_nat_add(&fi, ipn, NULL, nflags|SI_CLONE|NAT_SLAVE,
1216 (void) ipf_nat_proto(&fi, natl, nflags);
1227 nflags
[all...]
H A Dip_nat6.c938 u_int nflags; local
958 nflags = np->in_flags & flags;
959 nflags &= NAT_FROMRULE;
1025 natl = ipf_nat6_outlookup(fin, nflags, (u_int)fin->fin_p,
1039 natl = ipf_nat6_inlookup(fin, nflags, (u_int)fin->fin_p,
1539 /* nflags(I) - NAT flags for this packet */
1549 ipf_nat6_icmperror(fr_info_t *fin, u_int *nflags, int dir) argument
1580 *nflags = IPN_ICMPERR;
1860 /* THIS FUNCTION IS CALLED WITH NAT_SEARCH SET IN nflags. */
1876 int nflags; local
2574 u_int nflags = 0; local
2763 ipf_nat6_out(fr_info_t *fin, nat_t *nat, int natadd, u_32_t nflags) argument
2964 u_int nflags, natadd; local
3157 ipf_nat6_in(fr_info_t *fin, nat_t *nat, int natadd, u_32_t nflags) argument
[all...]
H A Dip_tftp_pxy.c282 int nflags; local
308 nflags = NAT_SLAVE|IPN_UDP|SI_W_SPORT;
343 nflags |= NAT_NOTRULEPORT;
348 nat2 = ipf_nat6_add(&fi, ti->ti_rule, NULL, nflags, dir);
351 nat2 = ipf_nat_add(&fi, ti->ti_rule, NULL, nflags, dir);
H A Dip_nat.c3033 u_int nflags; local
3051 nflags = np->in_flags & flags;
3052 nflags &= NAT_FROMRULE;
3119 natl = ipf_nat_outlookup(fin, nflags, (u_int)fin->fin_p,
3132 natl = ipf_nat_inlookup(fin, nflags, (u_int)fin->fin_p,
3682 /* nflags(I) - NAT flags for this packet */
3692 ipf_nat_icmperror(fr_info_t *fin, u_int *nflags, int dir) argument
3723 *nflags = IPN_ICMPERR;
3990 /* THIS FUNCTION IS CALLED WITH NAT_SEARCH SET IN nflags. */
4006 int nflags; local
4762 u_int nflags = 0; local
4975 ipf_nat_out(fr_info_t *fin, nat_t *nat, int natadd, u_32_t nflags) argument
5248 u_int nflags, natadd; local
5462 ipf_nat_in(fr_info_t *fin, nat_t *nat, int natadd, u_32_t nflags) argument
5692 ipf_nat_proto(fr_info_t *fin, nat_t *nat, u_int nflags) argument
8204 int nflags; local
[all...]
H A Dip_ftp_pxy.c810 int inc, off, nflags; local
864 nflags = IPN_TCP|SI_W_SPORT;
884 nflags, nat->nat_dir);
888 nflags, nat->nat_dir);
/freebsd-current/contrib/netbsd-tests/lib/libc/db/
H A Dh_db.c504 int xflags, nflags; local
509 nflags = recurse ? R_RPREV : R_PREV;
511 nflags = R_PREV;
516 nflags = recurse ? R_RNEXT : R_NEXT;
518 nflags = R_NEXT;
521 for (;; xflags = nflags)
/freebsd-current/sys/dev/xen/grant_table/
H A Dgrant_table.c169 uint16_t nflags; local
171 nflags = shared[ref].flags;
173 return (nflags & (GTF_reading|GTF_writing));
/freebsd-current/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-current/sys/dev/vt/
H A Dvt_buf.c893 int oflags, nflags; local
900 nflags = vb->vb_flags;
902 if (oflags != nflags)
909 int oflags, nflags; local
917 nflags = vb->vb_flags;
919 if (oflags != nflags)
/freebsd-current/sys/compat/linux/
H A Dlinux_time.c325 linux_to_native_timerflags(int *nflags, int flags) argument
330 *nflags = 0;
332 *nflags |= TIMER_ABSTIME;
/freebsd-current/sys/dev/sfxge/common/
H A Defx_rx.c330 unsigned int nflags = 0; local
339 nflags = 0;
346 if (nflags >= max_nflags) { \
350 *(flagsp + nflags) = (_flags); \
351 nflags++; \
418 *nflagsp = nflags;
/freebsd-current/usr.bin/rpcgen/
H A Drpc_main.c1088 int nflags; local
1282 nflags = cmd->cflag + cmd->hflag + cmd->lflag + cmd->mflag +
1286 if (nflags == 0) {
1294 } if (nflags > 1) {
/freebsd-current/usr.sbin/newsyslog/
H A Dnewsyslog.c139 int nflags; /* Program flags count */ member in struct:compress_types
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)
2181 * filename, NULL ] so allocate nflags+3 elements for the array.
2183 args = calloc(ct->nflags + 3, sizeof(*args));
2196 for (c = 0; c < ct->nflags; c++)
/freebsd-current/sys/dev/hwpmc/
H A Dhwpmc_core.c1182 int flags, nflags; local
1223 nflags = (cpuid[CORE_CPUID_EAX] >> 24) & 0xFF;
1224 flags = cpuid[CORE_CPUID_EBX] & ((1 << nflags) - 1);
/freebsd-current/sys/dev/wpi/
H A Dif_wpi.c1391 uint32_t nflags; local
1393 nflags = 0;
1395 nflags |= IEEE80211_CHAN_PASSIVE;
1397 nflags |= IEEE80211_CHAN_NOADHOC;
1399 nflags |= IEEE80211_CHAN_DFS;
1401 nflags |= IEEE80211_CHAN_NOADHOC;
1405 if (nflags & IEEE80211_CHAN_NOADHOC)
1406 nflags |= IEEE80211_CHAN_NOHOSTAP;
1408 return nflags;
1417 uint32_t nflags; local
[all...]
/freebsd-current/crypto/heimdal/lib/hdb/
H A Dhdb-ldap.c394 unsigned long oflags, nflags; local
604 nflags = HDBFlags2int(ent->entry.flags);
606 if (is_heimdal_entry && oflags != nflags) {
610 nflags);
/freebsd-current/sys/kern/
H A Dkern_sig.c3046 int cflags, nflags; local
3052 nflags = cflags;
3055 nflags = 0;
3058 nflags = (cflags | TDF_SBDRY) & ~(TDF_SEINTR | TDF_SERESTART);
3061 nflags = (cflags | TDF_SBDRY | TDF_SEINTR) & ~TDF_SERESTART;
3064 nflags = (cflags | TDF_SBDRY | TDF_SERESTART) & ~TDF_SEINTR;
3070 if (cflags == nflags)
3073 td->td_flags = (td->td_flags & ~cflags) | nflags;
/freebsd-current/sys/dev/iwm/
H A Dif_iwm.c1921 uint32_t nflags; local
1923 nflags = 0;
1925 nflags |= IEEE80211_CHAN_PASSIVE;
1927 nflags |= IEEE80211_CHAN_NOADHOC;
1929 nflags |= IEEE80211_CHAN_DFS;
1931 nflags |= IEEE80211_CHAN_NOADHOC;
1934 return (nflags);
1943 uint32_t nflags; local
1964 nflags = iwm_eeprom_channel_flags(ch_flags);
1966 ieee, 0, 0, nflags, band
[all...]
/freebsd-current/sys/compat/linuxkpi/common/src/
H A Dlinux_80211.c4156 uint32_t nflags = 0; local
4167 nflags |= (IEEE80211_CHAN_NOADHOC|IEEE80211_CHAN_PASSIVE);
4169 nflags |= IEEE80211_CHAN_DFS;
4181 nflags, bands, cflags);
4188 nflags, chan_flags, cflags, error);
4226 uint32_t nflags = 0; local
4237 nflags |= (IEEE80211_CHAN_NOADHOC|IEEE80211_CHAN_PASSIVE);
4239 nflags |= IEEE80211_CHAN_DFS;
4251 nflags, bands, cflags);
4258 nflags, chan_flag
[all...]
/freebsd-current/sys/dev/iwn/
H A Dif_iwn.c2408 uint32_t nflags; local
2410 nflags = 0;
2412 nflags |= IEEE80211_CHAN_PASSIVE;
2414 nflags |= IEEE80211_CHAN_NOADHOC;
2416 nflags |= IEEE80211_CHAN_DFS;
2418 nflags |= IEEE80211_CHAN_NOADHOC;
2421 return nflags;
2432 int i, error, nflags; local
2458 nflags = iwn_eeprom_channel_flags(&channels[i]);
2460 chan, 0, channels[i].maxpwr, nflags, band
2484 int i, error, nflags; local
[all...]
/freebsd-current/sys/netpfil/pf/
H A Dpf_table.c1657 int nflags; local
1709 nflags = ((shadow->pfrkt_flags & PFR_TFLAG_USRMASK) |
1714 pfr_setflags_ktable(kt, nflags);

Completed in 265 milliseconds