Home
last modified time | relevance | path

Searched refs:netent (Results 1 – 25 of 30) sorted by relevance

12

/illumos-gate/usr/src/lib/libresolv/
H A Dnetdb.h67 struct netent { struct
100 struct netent *getnetbyname_r
101 (const char *, struct netent *, char *, int);
102 struct netent *getnetbyaddr_r(long, int, struct netent *, char *, int);
103 struct netent *getnetent_r(struct netent *, char *, int);
118 struct netent *getnetbyname(const char *);
119 struct netent *getnetbyaddr(long, int);
120 struct netent *getnetent(void);
152 struct netent *getnetbyname_r();
153 struct netent *getnetbyaddr_r();
[all …]
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dgetnetent.c48 struct netent netent; member
56 static struct netent *nw_to_net(struct nwent *, struct net_data *);
58 static struct netent *fakeaddr(const char *, int af, struct net_data *);
68 struct netent *
75 struct netent *
82 struct netent *
106 struct netent *
117 struct netent *
120 struct netent *np; in getnetbyname_p()
141 struct netent *
[all …]
H A Dgetnetent_r.c34 copy_netent(struct netent *, struct netent *, NET_R_COPY_ARGS);
37 getnetbyname_r(const char *name, struct netent *nptr, NET_R_ARGS) { in getnetbyname_r()
38 struct netent *ne = getnetbyname(name); in getnetbyname_r()
61 getnetbyaddr_r(GETNETBYADDR_ADDR_T addr, int type, struct netent *nptr, NET_R_ARGS) { in getnetbyaddr_r()
62 struct netent *ne = getnetbyaddr(addr, type); in getnetbyaddr_r()
89 getnetent_r(struct netent *nptr, NET_R_ARGS) { in getnetent_r()
90 struct netent *ne = getnetent(); in getnetent_r()
144 copy_netent(struct netent *ne, struct netent *nptr, NET_R_COPY_ARGS) { in copy_netent()
189 copy_netent(struct netent *ne, struct netent *nptr, NET_R_COPY_ARGS) { in copy_netent()
H A Dirs_data.h41 struct netent * nw_last; /*%< should have been ne_last */
H A Dirpmarshall.c1484 irp_marshall_ne(struct netent *ne, char **buffer, size_t *len) { in irp_marshall_ne()
1550 irp_unmarshall_ne(struct netent *ne, char *buffer) { in irp_unmarshall_ne()
2012 struct netent *np1 = getnetbyname(argv[1]); in main()
/illumos-gate/usr/src/lib/libsocket/inet/
H A Dgetnetent.c44 NSS_XbyY_ALLOC(&buffer, (int)sizeof (struct netent), NSS_BUFLEN_NETWORKS)
47 struct netent *
51 struct netent *res = 0; in getnetbyname()
59 struct netent *
63 struct netent *res = 0; in getnetbyaddr()
72 struct netent *
76 struct netent *res = 0; in getnetent()
H A Dgetnetent_r.c55 struct netent *
56 getnetbyname_r(const char *name, struct netent *result, in getnetbyname_r()
73 return ((struct netent *)arg.returnval); in getnetbyname_r()
76 struct netent *
77 getnetbyaddr_r(long net, int type, struct netent *result, in getnetbyaddr_r()
91 return ((struct netent *)arg.returnval); in getnetbyaddr_r()
111 struct netent *
112 getnetent_r(struct netent *result, char *buffer, int buflen) in getnetent_r()
122 return ((struct netent *)arg.returnval); in getnetent_r()
135 struct netent *net = (struct netent *)ent; in str2netent()
/illumos-gate/usr/src/head/
H A Dnetdb.h217 struct netent { struct
253 struct netent *getnetbyname_r
254 (const char *, struct netent *, char *, int);
255 struct netent *getnetbyaddr_r(long, int, struct netent *, char *, int);
256 struct netent *getnetent_r(struct netent *, char *, int);
271 struct netent *getnetbyaddr(in_addr_t, int);
272 struct netent *getnetbyname(const char *);
273 struct netent *getnetent(void);
/illumos-gate/usr/src/lib/libresolv2/include/
H A Dport_netdb.h50 struct netent *getnetbyaddr __P((unsigned long, int));
52 struct netent *getnetbyname __P((const char *));
54 struct netent *getnetent __P((void));
108 struct netent *getnetbyaddr_r __P((long, int, struct netent *, char *, int));
112 struct netent *getnetbyname_r __P((const char *, struct netent *, char *, int));
116 struct netent *getnetent_r __P((struct netent *, char *, int));
H A Dirs.h304 extern struct netent *getnetent_p __P((struct net_data *));
305 extern struct netent *getnetbyname_p __P((const char *, struct net_data *));
306 extern struct netent *getnetbyaddr_p __P((unsigned long, int,
H A Dport_before.h81 #define NET_R_RETURN struct netent *
/illumos-gate/usr/src/lib/libresolv2/include/isc/
H A Dirpmarshall.h63 int irp_marshall_ne(struct netent *, char **, size_t *);
64 int irp_unmarshall_ne(struct netent *, char *);
/illumos-gate/usr/src/cmd/getent/
H A Ddogetnet.c64 putnetent(const struct netent *np, FILE *fp) in putnetent()
93 struct netent *np; in dogetnet()
/illumos-gate/usr/src/cmd/ipf/lib/
H A Dhostname.c19 struct netent *np;
H A Dgethost.c18 struct netent *n;
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dcommon.c41 struct netent *np; in getnet()
H A Drtquery.c565 struct netent *np; in rip_input()
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/
H A Dnfslog_ipaddr.c99 struct netent *np;
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ipaddr.c111 struct netent *np; in iplookup()
H A Dsnoop_pf.c887 struct netent *np; in pf_netaddr_match()
H A Dsnoop_filter.c1936 struct netent *np; in netaddr_match()
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_util.c377 struct netent n, *np; in smb_chk_hostaccess()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Droute.c936 struct netent *np; in netname()
2197 struct netent *np; in in_getaddr()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dauth.c1679 struct netent *np;
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_writes.c2432 struct netent *ptr; in __s_cvt_networks()
2450 ptr = (struct netent *)data; in __s_cvt_networks()

12