Searched defs:nflags (Results 1 - 20 of 20) sorted by relevance

/illumos-gate/usr/src/uts/common/inet/ipf/netinet/
H A Dip_rcmd_pxy.c128 int off, dlen, nflags; local
203 nflags = NAT_SLAVE|IPN_TCP|SI_W_DPORT;
214 nflags |= NAT_NOTRULEPORT;
217 nat2 = nat_new(&fi, nat->nat_ptr, NULL, nflags, nat->nat_dir);
H A Dip_rpcb_pxy.c1184 int nflags; local
1207 nflags = NAT_TCP;
1210 nflags = NAT_UDP;
1213 nflags |= SI_W_SPORT|NAT_SEARCH;
1232 natl = nat_inlookup(&fi, nflags, proto, fi.fin_src, fi.fin_dst);
1246 nflags &= ~NAT_SEARCH;
1255 ipn->in_flags = nflags & IPN_TCPUDP;
1270 natl = nat_new(&fi, ipn, NULL, nflags|SI_CLONE|NAT_SLAVE,
1281 (void) nat_proto(&fi, natl, nflags);
1291 nflags
[all...]
H A Dip_ftp_pxy.c648 int inc, off, nflags, sflags; local
709 nflags = IPN_TCP|SI_W_SPORT;
711 nflags |= SI_W_DPORT;
713 nat2 = nat_outlookup(&fi, nflags|NAT_SEARCH,
716 nat2 = nat_inlookup(&fi, nflags|NAT_SEARCH,
751 sflags = nflags;
752 nflags |= NAT_SLAVE;
754 nflags |= NAT_NOTRULEPORT;
755 nat2 = nat_new(&fi, nat->nat_ptr, NULL, nflags, nat->nat_dir);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Darp.c71 int c, nflags = 0, argsleft; local
78 if (nflags > 0) { \
83 nflags++; \
139 } else if ((nflags == 0) && (argsleft == 1)) {
/illumos-gate/usr/src/lib/libbc/libc/sys/4.2/
H A Dmount.c93 int idx, nflags = 0; local
110 nflags = MS_NOTRUNC;
112 case M_RDONLY: nflags |= MS_RDONLY;
113 case M_NOSUID: nflags |= MS_NOSUID;
114 case M_REMOUNT: nflags |= MS_REMOUNT;
118 return (_syscall(SYS_mount, data, dir, nflags, idx, 0, 0));
120 return (_syscall(SYS_mount, data, dir, nflags, idx, 0, 0));
122 nflags |= MS_DATA;
156 returnValue = (_syscall(SYS_mount, data, dir, nflags, idx, na,
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A D_open.c73 int nflags = flags; local
78 nflags = flags & ~FLAGS_MASK;
80 nflags |= N_O_SYNC;
82 nflags |= N_O_NONBLOCK;
85 nflags |= N_O_CREAT;
87 nflags |= N_O_TRUNC;
89 nflags |= N_O_EXCL;
91 nflags |= N_O_NDELAY;
105 return (_syscall(SYS_openat, AT_FDCWD, locbuf, nflags, mode));
109 return (open_mnt("/etc/mnttab", "mtab", nflags, mod
[all...]
/illumos-gate/usr/src/cmd/sgs/crle/common/
H A Dinspect.c942 Half nflags = flags & ~RTC_OBJ_CMDLINE; local
1000 if (inspect_dir(crle, name, nflags, &status))
1064 ent->e_flags |= nflags;
1067 if ((ent = enterdir(crle, dir, nflags,
1082 ent->e_flags |= nflags;
1086 if (inspect_file(crle, name, file, nflags, ent, &status, 1))
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsockcommon_vnops.c221 socket_vop_setfl(vnode_t *vp, int oflags, int nflags, cred_t *cr, argument
230 if (nflags & FNDELAY)
234 if (nflags & FNONBLOCK)
247 if ((oflags ^ nflags) & FASYNC && so->so_version != SOV_STREAM) {
248 int async = nflags & FASYNC;
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_nat6.c746 u_int nflags; local
764 nflags = np->in_flags & flags;
765 nflags &= NAT_FROMRULE;
768 ni.nai_nflags = nflags;
829 natl = nat6_outlookup(fin, nflags, (u_int)fin->fin_p,
846 natl = nat6_inlookup(fin, nflags, (u_int)fin->fin_p,
1200 /* nflags(I) - NAT flags for this packet */
1209 nat_t *nat6_icmperror(fin, nflags, dir)
1211 u_int *nflags;
1235 *nflags
1484 int nflags; local
1739 int nflags; local
2036 u_int nflags = 0; local
2314 u_int nflags, natadd; local
[all...]
H A Dip_nat.c2529 u_int nflags; local
2551 nflags = np->in_flags & flags;
2552 nflags &= NAT_FROMRULE;
2555 ni.nai_nflags = nflags;
2615 natl = nat_outlookup(fin, nflags, (u_int)fin->fin_p,
2632 natl = nat_inlookup(fin, nflags, (u_int)fin->fin_p,
2981 /* nflags(I) - NAT flags for this packet */
2990 nat_t *nat_icmperror(fin, nflags, dir)
2992 u_int *nflags;
3016 *nflags
3273 int nflags; local
3528 int nflags; local
3877 u_int nflags = 0; local
4196 u_int nflags, natadd; local
5825 int nflags; local
[all...]
/illumos-gate/usr/src/uts/common/xen/os/
H A Dgnttab.c288 uint16_t nflags; local
292 nflags = shared[ref].flags;
294 return (nflags & (GTF_reading|GTF_writing));
301 uint16_t flags, nflags; local
305 nflags = shared[ref].flags;
307 if ((flags = nflags) & (GTF_reading|GTF_writing)) {
311 } while ((nflags = CMPXCHG(&shared[ref].flags, flags, 0)) != flags);
/illumos-gate/usr/src/cmd/devfsadm/
H A Ddisk_link.c75 static int reserved_links_exist(di_node_t node, di_minor_t minor, int nflags);
516 int nflags = 0; local
570 nflags = 0;
577 nflags = DA_ADD|DA_CD;
581 if (reserved_links_exist(node, minor, nflags) == DEVFSADM_SUCCESS) {
617 (void) devfsadm_mklink(l_path, node, minor, nflags);
778 reserved_links_exist(di_node_t node, di_minor_t minor, int nflags) argument
895 (void) devfsadm_mklink(l, node, minor, nflags);
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/
H A Dilbd_sg.c1210 uint32_t nflags; local
1399 nflags = tmp_srv->isv_flags;
1401 ILB_SET_ENABLED(nflags);
1403 ILB_SET_DISABLED(nflags);
1441 ntohs(tmp_srv->isv_maxport), nflags);
/illumos-gate/usr/src/cmd/rpcgen/
H A Drpc_main.c1040 int nflags; local
1227 nflags = cmd->cflag + cmd->hflag + cmd->lflag + cmd->mflag +
1231 if (nflags == 0) {
1240 if (nflags > 1) {
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfake_vop.c225 int nflags,
222 fop_setfl( vnode_t *vp, int oflags, int nflags, cred_t *cr, caller_context_t *ct) argument
/illumos-gate/usr/src/uts/common/fs/
H A Dfs_subr.c422 int nflags,
419 fs_setfl( vnode_t *vp, int oflags, int nflags, cred_t *cr, caller_context_t *ct) argument
H A Dfem.c568 vhead_setfl(vnode_t *vp, int oflags, int nflags, cred_t *cr, argument
581 errc = (*func)(arg0, oflags, nflags, cr, ct);
588 errc = (*func)(arg0, oflags, nflags, cr, ct);
2118 vnext_setfl(femarg_t *vf, int oflags, int nflags, cred_t *cr, argument
2129 return ((*func)(arg0, oflags, nflags, cr, ct));
H A Dvnode.c3325 int nflags,
3333 err = (*(vp)->v_op->vop_setfl)(vp, oflags, nflags, cr, ct);
3322 fop_setfl( vnode_t *vp, int oflags, int nflags, cred_t *cr, caller_context_t *ct) argument
/illumos-gate/usr/src/uts/common/fs/lofs/
H A Dlofs_vnops.c158 lo_setfl(vnode_t *vp, int oflags, int nflags, cred_t *cr, caller_context_t *ct) argument
161 return (VOP_SETFL(vp, oflags, nflags, cr, ct));
/illumos-gate/usr/src/uts/common/os/
H A Dsunddi.c9719 uint_t nflags; local
9778 nflags = NDI_DEVI_OFFLINE;
9780 nflags |= NDI_DEVI_REMOVE;
9783 nflags |= NDI_UNCONFIG; /* uninit but don't remove */
9787 nflags |= NDI_POST_EVENT;
9791 rv = ndi_devi_unconfig_one(pdip, devnm+1, dipp, nflags);
9793 rv = e_ddi_devi_unconfig(rdip, dipp, nflags);
9796 rv = ndi_devi_offline(rdip, nflags);

Completed in 174 milliseconds