/illumos-gate/usr/src/lib/libresolv/ |
H A D | netdb.h | 81 struct protoent { struct 105 struct protoent *getprotobyname_r argument 106 (const char *, struct protoent *, char *, int); 107 struct protoent *getprotobynumber_r 108 (int, struct protoent *, char *, int); 109 struct protoent *getprotoent_r(struct protoent *, char *, int); 124 struct protoent *getprotobyname(const char *); 125 struct protoent *getprotobynumber(int); 126 struct protoent *getprotoent(void); 155 struct protoent *getprotobyname_r(); [all …]
|
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | getprotoent_r.c | 33 copy_protoent(struct protoent *, struct protoent *, PROTO_R_COPY_ARGS); 36 getprotobyname_r(const char *name, struct protoent *pptr, PROTO_R_ARGS) { in getprotobyname_r() 37 struct protoent *pe = getprotobyname(name); in getprotobyname_r() 56 getprotobynumber_r(int proto, struct protoent *pptr, PROTO_R_ARGS) { in getprotobynumber_r() 57 struct protoent *pe = getprotobynumber(proto); in getprotobynumber_r() 82 getprotoent_r(struct protoent *pptr, PROTO_R_ARGS) { in getprotoent_r() 83 struct protoent *pe = getprotoent(); in getprotoent_r() 135 copy_protoent(struct protoent *pe, struct protoent *pptr, PROTO_R_COPY_ARGS) { in copy_protoent() 179 copy_protoent(struct protoent *pe, struct protoent *pptr, PROTO_R_COPY_ARGS) { in copy_protoent()
|
H A D | irp_pr.c | 50 struct protoent proto; 56 static struct protoent * pr_next(struct irs_pr *); 57 static struct protoent * pr_byname(struct irs_pr *, const char *); 58 static struct protoent * pr_bynumber(struct irs_pr *, int); 62 static void free_proto(struct protoent *pr); 124 static struct protoent * 127 struct protoent *pr = &pvt->proto; in pr_byname() 173 static struct protoent * 176 struct protoent *pr = &pvt->proto; in pr_bynumber() 251 static struct protoent * [all …]
|
H A D | dns_pr.c | 47 struct protoent proto; 54 static struct protoent * pr_byname(struct irs_pr *, const char *); 55 static struct protoent * pr_bynumber(struct irs_pr *, int); 56 static struct protoent * pr_next(struct irs_pr *); 64 static struct protoent * parse_hes_list(struct irs_pr *, char **); 117 static struct protoent * 121 struct protoent *proto; in pr_byname() 132 static struct protoent * 136 struct protoent *proto; in pr_bynumber() 149 static struct protoent * [all …]
|
H A D | gen_pr.c | 51 static struct protoent * pr_next(struct irs_pr *); 52 static struct protoent * pr_byname(struct irs_pr *, const char *); 53 static struct protoent * pr_bynumber(struct irs_pr *, int); 104 static struct protoent * 107 struct protoent *rval; in pr_next() 126 static struct protoent * 130 struct protoent *rval; in pr_byname() 143 static struct protoent * 147 struct protoent *rval; in pr_bynumber()
|
H A D | lcl_pr.c | 83 struct protoent proto; 90 static struct protoent * pr_next(struct irs_pr *); 91 static struct protoent * pr_byname(struct irs_pr *, const char *); 92 static struct protoent * pr_bynumber(struct irs_pr *, int); 145 static struct protoent * 148 struct protoent *p; in pr_byname() 163 static struct protoent * 165 struct protoent *p; in pr_bynumber() 191 static struct protoent *
|
H A D | getprotoent.c | 46 struct protoent * 53 struct protoent * 60 struct protoent * 83 struct protoent * 93 struct protoent * 113 struct protoent *
|
H A D | irs_data.h | 40 struct protoent * pr_last;
|
/illumos-gate/usr/src/lib/libsocket/inet/ |
H A D | getprotoent.c | 44 NSS_XbyY_ALLOC(&buffer, (int)sizeof (struct protoent), NSS_BUFLEN_PROTOCOLS) 47 struct protoent * 51 struct protoent *res = 0; in getprotobyname() 59 struct protoent * 63 struct protoent *res = 0; in getprotobynumber() 72 struct protoent * 76 struct protoent *res = 0; in getprotoent()
|
H A D | getprotoent_r.c | 51 struct protoent * 52 getprotobyname_r(const char *name, struct protoent *result, in getprotobyname_r() 69 return ((struct protoent *)arg.returnval); in getprotobyname_r() 72 struct protoent * 73 getprotobynumber_r(int proto, struct protoent *result, char *buffer, int buflen) in getprotobynumber_r() 85 return ((struct protoent *)arg.returnval); in getprotobynumber_r() 105 struct protoent * 106 getprotoent_r(struct protoent *result, char *buffer, int buflen) in getprotoent_r() 116 return ((struct protoent *)arg.returnval); in getprotoent_r() 131 struct protoent *proto = (struct protoent *)ent; in str2protoent()
|
/illumos-gate/usr/src/head/ |
H A D | netdb.h | 224 struct protoent { struct 258 struct protoent *getprotobyname_r 259 (const char *, struct protoent *, char *, int); 260 struct protoent *getprotobynumber_r 261 (int, struct protoent *, char *, int); 262 struct protoent *getprotoent_r(struct protoent *, char *, int); 274 struct protoent *getprotobyname(const char *); 275 struct protoent *getprotobynumber(int); 276 struct protoent *getprotoent(void);
|
/illumos-gate/usr/src/lib/libresolv2/include/ |
H A D | port_netdb.h | 120 struct protoent *getprotobyname __P((const char *)); 124 struct protoent *getprotobyname_r __P((const char *, struct protoent *, 129 struct protoent *getprotobynumber __P((int)); 133 struct protoent *getprotobynumber_r __P((int, 134 struct protoent *, char *, int)); 138 struct protoent *getprotoent __P((void)); 142 struct protoent *getprotoent_r __P((struct protoent *, char *, int));
|
H A D | irs.h | 93 struct protoent *(*byname) __P((struct irs_pr *, const char *)); 94 struct protoent *(*bynumber) __P((struct irs_pr *, int)); 95 struct protoent *(*next) __P((struct irs_pr *)); 318 extern struct protoent *getprotoent_p __P((struct net_data *)); 319 extern struct protoent *getprotobyname_p __P((const char *, 321 extern struct protoent *getprotobynumber_p __P((int, struct net_data *));
|
H A D | port_before.h | 142 #define PROTO_R_RETURN struct protoent *
|
/illumos-gate/usr/src/cmd/getent/ |
H A D | dogetproto.c | 37 putprotoent(const struct protoent *pp, FILE *fp) in putprotoent() 64 struct protoent *pp; in dogetproto()
|
/illumos-gate/usr/src/lib/libresolv2/include/isc/ |
H A D | irpmarshall.h | 54 int irp_marshall_pr(struct protoent *, char **, size_t *); 55 int irp_unmarshall_pr(struct protoent *, char *);
|
/illumos-gate/usr/src/cmd/ipf/lib/ |
H A D | getproto.c | 11 struct protoent *p;
|
H A D | getportproto.c | 14 struct protoent *p;
|
H A D | printproto.c | 16 struct protoent *pr; in printproto()
|
H A D | getport.c | 13 struct protoent *p;
|
H A D | portname.c | 15 struct protoent *p = NULL;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/ |
H A D | ilbd_scf.c | 574 struct protoent *protoent; in ilbd_data_to_scfval() local 576 protoent = getprotobynumber(r_ent->irl_proto); in ilbd_data_to_scfval() 577 (void) strlcpy(valstr, protoent->p_name, scf_val_len); in ilbd_data_to_scfval() 1112 struct protoent *protoent; in ilbd_scfval_to_data() local 1114 protoent = getprotobyname(valstr); in ilbd_scfval_to_data() 1115 r_ent->rl_proto = protoent->p_proto; in ilbd_scfval_to_data()
|
/illumos-gate/usr/src/lib/libwrap/ |
H A D | fix_options.c | 47 struct protoent *ip;
|
/illumos-gate/usr/src/lib/libresolv2/common/resolv/ |
H A D | res_mkupdate.c | 999 struct protoent *pp; in res_buildprotolist() 1108 static struct protoent * 1112 static struct protoent prot; in cgetprotobynumber() 1134 struct protoent *pp; in res_protocolname()
|
/illumos-gate/usr/src/lib/libtsnet/common/ |
H A D | tsol_sgetzcent.c | 67 struct protoent proto; in str_to_mlp()
|