Home
last modified time | relevance | path

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

12

/netbsd-src/external/ibm-public/postfix/dist/src/qmgr/
H A Dqmgr_scan.c101 scan_info->nflags & QMGR_SCAN_START ? "re" : "", in qmgr_scan_start()
107 scan_info->flags = scan_info->nflags; in qmgr_scan_start()
108 scan_info->nflags = 0; in qmgr_scan_start()
147 scan_info->nflags |= flags; in qmgr_scan_request()
149 scan_info->nflags &= ~QMGR_SCAN_START; in qmgr_scan_request()
166 if (msg_verbose && (scan_info->nflags & QMGR_SCAN_START) == 0) in qmgr_scan_next()
169 if (!scan_info->handle && (scan_info->nflags & QMGR_SCAN_START)) { in qmgr_scan_next()
184 scan_info->flags = scan_info->nflags = 0; in qmgr_scan_create()
/netbsd-src/external/ibm-public/postfix/dist/src/oqmgr/
H A Dqmgr_scan.c101 scan_info->nflags & QMGR_SCAN_START ? "re" : "", in qmgr_scan_start()
107 scan_info->flags = scan_info->nflags; in qmgr_scan_start()
108 scan_info->nflags = 0; in qmgr_scan_start()
147 scan_info->nflags |= flags; in qmgr_scan_request()
149 scan_info->nflags &= ~QMGR_SCAN_START; in qmgr_scan_request()
166 if (msg_verbose && (scan_info->nflags & QMGR_SCAN_START) == 0) in qmgr_scan_next()
169 if (!scan_info->handle && (scan_info->nflags & QMGR_SCAN_START)) { in qmgr_scan_next()
184 scan_info->flags = scan_info->nflags = 0; in qmgr_scan_create()
/netbsd-src/sys/compat/linux/common/
H A Dlinux_time.c461 int nflags = 0; in linux_sys_timerfd_create() local
474 nflags |= TFD_CLOEXEC; in linux_sys_timerfd_create()
477 nflags |= TFD_NONBLOCK; in linux_sys_timerfd_create()
480 return do_timerfd_create(l, id, nflags, retval); in linux_sys_timerfd_create()
507 int nflags = 0; in linux_to_native_timerfd_settime_flags() local
514 nflags |= TFD_TIMER_ABSTIME; in linux_to_native_timerfd_settime_flags()
517 nflags |= TFD_TIMER_CANCEL_ON_SET; in linux_to_native_timerfd_settime_flags()
520 *nflagsp = nflags; in linux_to_native_timerfd_settime_flags()
537 int nflags; in linux_sys_timerfd_settime() local
546 error = linux_to_native_timerfd_settime_flags(&nflags, in linux_sys_timerfd_settime()
[all …]
H A Dlinux_misc.c1727 int nflags = 0; in linux_do_eventfd2() local
1734 nflags |= EFD_SEMAPHORE; in linux_do_eventfd2()
1737 nflags |= EFD_CLOEXEC; in linux_do_eventfd2()
1740 nflags |= EFD_NONBLOCK; in linux_do_eventfd2()
1743 return do_eventfd(l, initval, nflags, retval); in linux_do_eventfd2()
/netbsd-src/sys/external/bsd/ipf/netinet/
H A Dip_nat6.c946 u_int nflags; in ipf_nat6_add() local
966 nflags = np->in_flags & flags; in ipf_nat6_add()
967 nflags &= NAT_FROMRULE; in ipf_nat6_add()
1033 natl = ipf_nat6_outlookup(fin, nflags, (u_int)fin->fin_p, in ipf_nat6_add()
1047 natl = ipf_nat6_inlookup(fin, nflags, (u_int)fin->fin_p, in ipf_nat6_add()
1545 /* nflags(I) - NAT flags for this packet */
1555 ipf_nat6_icmperror(fr_info_t *fin, u_int *nflags, int dir) in ipf_nat6_icmperror() argument
1586 *nflags = IPN_ICMPERR; in ipf_nat6_icmperror()
1866 /* THIS FUNCTION IS CALLED WITH NAT_SEARCH SET IN nflags. */
1879 int nflags; in ipf_nat6_inlookup() local
2570 u_int nflags = 0; ipf_nat6_checkout() local
2761 ipf_nat6_out(fr_info_t * fin,nat_t * nat,int natadd,u_32_t nflags) ipf_nat6_out() argument
2964 u_int nflags, natadd; ipf_nat6_checkin() local
3162 ipf_nat6_in(fr_info_t * fin,nat_t * nat,int natadd,u_32_t nflags) ipf_nat6_in() argument
[all...]
H A Dip_rpcb_pxy.c1114 int nflags; in ipf_p_rpcb_getnat() local
1136 nflags = NAT_TCP; in ipf_p_rpcb_getnat()
1139 nflags = NAT_UDP; in ipf_p_rpcb_getnat()
1142 nflags |= SI_W_SPORT|NAT_SEARCH; in ipf_p_rpcb_getnat()
1162 natl = ipf_nat_inlookup(&fi, nflags, proto, fi.fin_src, fi.fin_dst); in ipf_p_rpcb_getnat()
1176 nflags &= ~NAT_SEARCH; in ipf_p_rpcb_getnat()
1189 ipn->in_flags = nflags & IPN_TCPUDP; in ipf_p_rpcb_getnat()
1206 natl = ipf_nat_add(&fi, ipn, NULL, nflags|SI_CLONE|NAT_SLAVE, in ipf_p_rpcb_getnat()
1221 (void) ipf_nat_proto(&fi, natl, nflags); in ipf_p_rpcb_getnat()
1232 nflags &= NAT_TCPUDP; in ipf_p_rpcb_getnat()
[all …]
H A Dip_fil_compat.c1820 u_32_t nflags = 0; in fr_frflags4to5() local
1824 nflags |= FR_CALL; in fr_frflags4to5()
1827 nflags |= FR_BLOCK; in fr_frflags4to5()
1830 nflags |= FR_PASS; in fr_frflags4to5()
1833 nflags |= FR_AUTH; in fr_frflags4to5()
1836 nflags |= FR_PREAUTH; in fr_frflags4to5()
1839 nflags |= FR_ACCOUNT; in fr_frflags4to5()
1842 nflags |= FR_SKIP; in fr_frflags4to5()
1849 nflags |= FR_LOG; in fr_frflags4to5()
1851 nflags |= FR_CALLNOW; in fr_frflags4to5()
[all …]
H A Dip_rcmd_pxy.c136 int off, dlen, nflags, direction; in ipf_p_rcmd_portmsg() local
279 nflags = SI_W_SPORT|NAT_SLAVE|IPN_TCP; in ipf_p_rcmd_portmsg()
283 nat2 = ipf_nat_add(&fi, rc->rcmd_rule, NULL, nflags, in ipf_p_rcmd_portmsg()
287 nat2 = ipf_nat6_add(&fi, rc->rcmd_rule, NULL, nflags, in ipf_p_rcmd_portmsg()
H A Dip_nat.c3067 u_int nflags; in ipf_nat_add() local
3085 nflags = np->in_flags & flags; in ipf_nat_add()
3086 nflags &= NAT_FROMRULE; in ipf_nat_add()
3152 natl = ipf_nat_outlookup(fin, nflags, (u_int)fin->fin_p, in ipf_nat_add()
3165 natl = ipf_nat_inlookup(fin, nflags, (u_int)fin->fin_p, in ipf_nat_add()
3708 /* nflags(I) - NAT flags for this packet */
3718 ipf_nat_icmperror(fr_info_t *fin, u_int *nflags, int dir) in ipf_nat_icmperror() argument
3749 *nflags = IPN_ICMPERR; in ipf_nat_icmperror()
4016 /* THIS FUNCTION IS CALLED WITH NAT_SEARCH SET IN nflags. */
4030 int nflags; in ipf_nat_inlookup() local
4785 u_int nflags = 0; ipf_nat_checkout() local
4988 ipf_nat_out(fr_info_t * fin,nat_t * nat,int natadd,u_32_t nflags) ipf_nat_out() argument
5274 u_int nflags, natadd; ipf_nat_checkin() local
5480 ipf_nat_in(fr_info_t * fin,nat_t * nat,int natadd,u_32_t nflags) ipf_nat_in() argument
5721 ipf_nat_proto(fr_info_t * fin,nat_t * nat,u_int nflags) ipf_nat_proto() argument
8230 int nflags; ipf_nat_uncreate() local
[all...]
H A Dip_tftp_pxy.c284 int nflags; in ipf_p_tftp_backchannel() local
310 nflags = NAT_SLAVE|IPN_UDP|SI_W_SPORT; in ipf_p_tftp_backchannel()
345 nflags |= NAT_NOTRULEPORT; in ipf_p_tftp_backchannel()
349 nat2 = ipf_nat_add(&fi, ti->ti_rule, NULL, nflags, dir); in ipf_p_tftp_backchannel()
352 nat2 = ipf_nat6_add(&fi, ti->ti_rule, NULL, nflags, dir); in ipf_p_tftp_backchannel()
/netbsd-src/external/bsd/ipf/dist/
H A Dip_nat6.c972 u_int nflags; local
992 nflags = np->in_flags & flags;
993 nflags &= NAT_FROMRULE;
1059 natl = ipf_nat6_outlookup(fin, nflags, (u_int)fin->fin_p,
1073 natl = ipf_nat6_inlookup(fin, nflags, (u_int)fin->fin_p,
1591 ipf_nat6_icmperror(fin, nflags, dir) in ipf_nat6_icmperror() argument
1593 u_int *nflags;
1625 *nflags = IPN_ICMPERR;
1923 int nflags; local
2078 nflags = nat->nat_flags;
[all …]
H A Dip_rpcb_pxy.c1162 int nflags; local
1184 nflags = NAT_TCP;
1187 nflags = NAT_UDP;
1190 nflags |= SI_W_SPORT|NAT_SEARCH;
1210 natl = ipf_nat_inlookup(&fi, nflags, proto, fi.fin_src, fi.fin_dst);
1224 nflags &= ~NAT_SEARCH;
1237 ipn->in_flags = nflags & IPN_TCPUDP;
1254 natl = ipf_nat_add(&fi, ipn, NULL, nflags|SI_CLONE|NAT_SLAVE,
1269 (void) ipf_nat_proto(&fi, natl, nflags);
1280 nflags &= NAT_TCPUDP;
[all …]
H A Dip_fil_compat.c1828 u_32_t nflags = 0; local
1832 nflags |= FR_CALL;
1835 nflags |= FR_BLOCK;
1838 nflags |= FR_PASS;
1841 nflags |= FR_AUTH;
1844 nflags |= FR_PREAUTH;
1847 nflags |= FR_ACCOUNT;
1850 nflags |= FR_SKIP;
1857 nflags |= FR_LOG;
1859 nflags |= FR_CALLNOW;
[all …]
H A Dip_tftp_pxy.c304 int nflags; local
330 nflags = NAT_SLAVE|IPN_UDP|SI_W_SPORT;
365 nflags |= NAT_NOTRULEPORT;
369 nat2 = ipf_nat_add(&fi, ti->ti_rule, NULL, nflags, dir);
371 nat2 = ipf_nat6_add(&fi, ti->ti_rule, NULL, nflags, dir);
/netbsd-src/sys/compat/ultrix/
H A Dultrix_fs.c346 int nflags; in ultrix_sys_mount() local
348 nflags = 0; in ultrix_sys_mount()
358 nflags |= MNT_RDONLY; in ultrix_sys_mount()
399 SCARG(uap, special), nflags, &na, UIO_SYSSPACE, in ultrix_sys_mount()
424 nflags |= MNT_UPDATE; in ultrix_sys_mount()
429 SCARG(uap, dir), nflags, &ua, UIO_SYSSPACE, sizeof ua, in ultrix_sys_mount()
/netbsd-src/sys/arch/usermode/usermode/
H A Dthunk.c214 int nflags = 0; in thunk_to_native_mapflags() local
217 nflags |= MAP_ANON; in thunk_to_native_mapflags()
219 nflags |= MAP_FIXED; in thunk_to_native_mapflags()
221 nflags |= MAP_FILE; in thunk_to_native_mapflags()
223 nflags |= MAP_SHARED; in thunk_to_native_mapflags()
225 nflags |= MAP_PRIVATE; in thunk_to_native_mapflags()
227 return nflags; in thunk_to_native_mapflags()
233 int nflags = 0; in thunk_to_native_madviseflags() local
236 nflags |= MADV_NORMAL; in thunk_to_native_madviseflags()
238 nflags |= MADV_RANDOM; in thunk_to_native_madviseflags()
[all …]
/netbsd-src/sys/arch/xen/xen/
H A Dxengnt.c511 uint16_t flags, nflags; in xengnt_revoke_access() local
513 nflags = grant_table.gntt_v1[entry].flags; in xengnt_revoke_access()
516 if ((flags = nflags) & (GTF_reading|GTF_writing)) in xengnt_revoke_access()
518 nflags = xen_atomic_cmpxchg16( in xengnt_revoke_access()
520 } while (nflags != flags); in xengnt_revoke_access()
/netbsd-src/usr.sbin/mrouted/
H A Droute.c842 u_int32_t nflags; in report() local
863 nflags = (uvifs[vifi].uv_flags & VIFF_LEAF) ? 0 : LEAF_FLAGS; in report()
879 htonl(MROUTED_LEVEL | nflags), datalen); in report()
909 htonl(MROUTED_LEVEL | nflags), datalen); in report()
977 u_int32_t nflags; in report_chunk() local
982 nflags = (uvifs[vifi].uv_flags & VIFF_LEAF) ? 0 : LEAF_FLAGS; in report_chunk()
1004 htonl(MROUTED_LEVEL | nflags), datalen); in report_chunk()
1028 htonl(MROUTED_LEVEL | nflags), datalen); in report_chunk()
H A Dvif.c997 int nflags; in update_neighbor() local
1000 nflags = (level >> 16) & 0xff; in update_neighbor()
1157 if (n->al_flags != nflags) { in update_neighbor()
1158 n->al_flags = nflags; in update_neighbor()
/netbsd-src/sys/compat/sunos/
H A Dsunos_misc.c231 int oflags = SCARG(uap, flags), nflags, error; in sunos_sys_mount() local
239 nflags = 0; in sunos_sys_mount()
241 nflags |= MNT_RDONLY; in sunos_sys_mount()
243 nflags |= MNT_NOSUID; in sunos_sys_mount()
245 nflags |= MNT_UPDATE; in sunos_sys_mount()
287 SCARG(uap, dir), nflags, &na, in sunos_sys_mount()
295 SCARG(uap, dir), nflags, SCARG(uap, data), in sunos_sys_mount()
/netbsd-src/sys/compat/sunos32/
H A Dsunos32_misc.c422 int oflags = SCARG(uap, flags), nflags, error; in sunos32_sys_mount() local
430 nflags = 0; in sunos32_sys_mount()
432 nflags |= MNT_RDONLY; in sunos32_sys_mount()
434 nflags |= MNT_NOSUID; in sunos32_sys_mount()
436 nflags |= MNT_UPDATE; in sunos32_sys_mount()
474 SCARG_P32(uap, path), nflags, &na, UIO_SYSSPACE, sizeof na, in sunos32_sys_mount()
482 SCARG_P32(uap, path), nflags, SCARG_P32(uap, data), UIO_USERSPACE, in sunos32_sys_mount()
/netbsd-src/tests/lib/libc/db/
H A Dh_db.c498 int xflags, nflags; in dump() local
502 nflags = recurse ? R_RPREV : R_PREV; in dump()
505 nflags = recurse ? R_RNEXT : R_NEXT; in dump()
507 for (;; xflags = nflags) in dump()
/netbsd-src/sys/compat/linux32/common/
H A Dlinux32_time.c540 int nflags; in linux32_sys_timerfd_settime() local
549 error = linux_to_native_timerfd_settime_flags(&nflags, in linux32_sys_timerfd_settime()
559 error = do_timerfd_settime(l, SCARG(uap, fd), nflags, in linux32_sys_timerfd_settime()
/netbsd-src/usr.bin/rpcgen/
H A Drpc_main.c925 int nflags; in parseargs() local
1113 nflags = cmd->cflag + cmd->hflag + cmd->lflag + cmd->mflag + in parseargs()
1116 if (nflags == 0) { in parseargs()
1121 if (nflags > 1) { in parseargs()
/netbsd-src/bin/ksh/
H A Dc_ksh.c236 int nflags = flags; local
251 nflags &= ~PO_NL;
253 nflags |= PO_EXPAND;
255 nflags &= ~PO_EXPAND;
264 flags = nflags;

12