/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Net/ |
H A D | protoent.t | 19 our @protoent = getprotobyname "tcp"; # This is the function getprotobyname. 20 unless (@protoent) { print "1..0 # Skip: no tcp protocol\n"; exit 0 } 25 use Net::protoent; 29 my $protoent = getprotobyname "tcp"; # This is the OO getprotobyname. 31 print "not " unless $protoent->name eq $protoent[0]; 34 print "not " unless $protoent->proto == $protoent[2];
|
H A D | protoent.pm | 1 package Net::protoent; 19 struct 'Net::protoent' => [ 49 Net::protoent - by-name interface to Perl's built-in getproto*() functions 53 use Net::protoent; 58 use Net::protoent qw(:FIELDS); 66 versions that return "Net::protoent" objects. They take default 68 similarly named structure field name from the C's protoent structure
|
/osnet-11/usr/src/lib/libsocket/inet/ |
H A D | getprotoent.c | 46 NSS_XbyY_ALLOC(&buffer, (int)sizeof (struct protoent), NSS_BUFLEN_PROTOCOLS) 49 struct protoent * 53 struct protoent *res = 0; 61 struct protoent * 65 struct protoent *res = 0; 74 struct protoent * 78 struct protoent *res = 0;
|
H A D | getprotoent_r.c | 53 struct protoent * 54 getprotobyname_r(const char *name, struct protoent *result, 71 return ((struct protoent *)arg.returnval); 74 struct protoent * 75 getprotobynumber_r(int proto, struct protoent *result, char *buffer, int buflen) 87 return ((struct protoent *)arg.returnval); 107 struct protoent * 108 getprotoent_r(struct protoent *result, char *buffer, int buflen) 118 return ((struct protoent *)arg.returnval); 130 void *ent /* it is really (struct protoent *) */, [all...] |
/osnet-11/usr/src/lib/libresolv/ |
H A D | netdb.h | 83 struct protoent { struct 107 struct protoent *getprotobyname_r 108 (const char *, struct protoent *, char *, int); 109 struct protoent *getprotobynumber_r 110 (int, struct protoent *, char *, int); 111 struct protoent *getprotoent_r(struct protoent *, char *, int); 126 struct protoent *getprotobyname(const char *); 127 struct protoent *getprotobynumber(int); 128 struct protoent *getprotoen [all...] |
/osnet-11/usr/src/lib/libresolv2/common/irs/ |
H A D | getprotoent_r.c | 37 copy_protoent(struct protoent *, struct protoent *, PROTO_R_COPY_ARGS); 40 getprotobyname_r(const char *name, struct protoent *pptr, PROTO_R_ARGS) { 41 struct protoent *pe = getprotobyname(name); 60 getprotobynumber_r(int proto, struct protoent *pptr, PROTO_R_ARGS) { 61 struct protoent *pe = getprotobynumber(proto); 86 getprotoent_r(struct protoent *pptr, PROTO_R_ARGS) { 87 struct protoent *pe = getprotoent(); 139 copy_protoent(struct protoent *pe, struct protoent *ppt [all...] |
H A D | irp_pr.c | 56 struct protoent proto; 62 static struct protoent * pr_next(struct irs_pr *); 63 static struct protoent * pr_byname(struct irs_pr *, const char *); 64 static struct protoent * pr_bynumber(struct irs_pr *, int); 68 static void free_proto(struct protoent *pr); 126 * struct protoent * pr_byname(struct irs_pr *this, const char *name) 130 static struct protoent * 133 struct protoent *pr = &pvt->proto; 175 * struct protoent * pr_bynumber(struct irs_pr *this, int proto) 179 static struct protoent * [all...] |
H A D | dns_pr.c | 51 struct protoent proto; 58 static struct protoent * pr_byname(struct irs_pr *, const char *); 59 static struct protoent * pr_bynumber(struct irs_pr *, int); 60 static struct protoent * pr_next(struct irs_pr *); 68 static struct protoent * parse_hes_list(struct irs_pr *, char **); 121 static struct protoent * 125 struct protoent *proto; 136 static struct protoent * 140 struct protoent *proto; 153 static struct protoent * [all...] |
H A D | getprotoent.c | 50 struct protoent * 57 struct protoent * 64 struct protoent * 87 struct protoent * 97 struct protoent * 117 struct protoent *
|
H A D | irs_data.h | 40 struct protoent * pr_last;
|
H A D | gen_pr.c | 55 static struct protoent * pr_next(struct irs_pr *); 56 static struct protoent * pr_byname(struct irs_pr *, const char *); 57 static struct protoent * pr_bynumber(struct irs_pr *, int); 108 static struct protoent * 111 struct protoent *rval; 130 static struct protoent * 134 struct protoent *rval; 147 static struct protoent * 151 struct protoent *rval;
|
H A D | lcl_pr.c | 93 struct protoent proto; 100 static struct protoent * pr_next(struct irs_pr *); 101 static struct protoent * pr_byname(struct irs_pr *, const char *); 102 static struct protoent * pr_bynumber(struct irs_pr *, int); 155 static struct protoent * 158 struct protoent *p; 173 static struct protoent * 175 struct protoent *p; 201 static struct protoent *
|
H A D | irpmarshall.c | 723 /* +++++++++++++++++++++++++ struct protoent +++++++++++++++++++++++++ */ 726 * int irp_marshall_pr(struct protoent *pr, char **buffer, size_t *len) 739 irp_marshall_pr(struct protoent *pr, char **buffer, size_t *len) { 785 * int irp_unmarshall_pr(struct protoent *pr, char *buffer) 797 int irp_unmarshall_pr(struct protoent *pr, char *buffer) { 865 /* ------------------------- struct protoent ------------------------- */
|
/osnet-11/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 | 140 #define PROTO_R_RETURN struct protoent *
|
/osnet-11/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 *);
|
/osnet-11/usr/src/lib/libwrap/ |
H A D | fix_options.c | 47 struct protoent *ip;
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ |
H A D | reentr.inc | 817 # define getprotobyname(a) ((PL_REENTRANT_RETINT = getprotobyname_r(a, &PL_reentrant_buffer->_protoent_struct, PL_reentrant_buffer->_protoent_buffer, PL_reentrant_buffer->_protoent_size, &PL_reentrant_buffer->_protoent_ptr)) == 0 ? PL_reentrant_buffer->_protoent_ptr : (((PL_REENTRANT_RETINT == ERANGE) || (errno == ERANGE)) ? (struct protoent*)Perl_reentrant_retry("getprotobyname", a) : 0)) 820 # define getprotobyname(a) ({int PL_REENTRANT_RETINT; ((PL_REENTRANT_RETINT = getprotobyname_r(a, &PL_reentrant_buffer->_protoent_struct, PL_reentrant_buffer->_protoent_buffer, PL_reentrant_buffer->_protoent_size, &PL_reentrant_buffer->_protoent_ptr)) == 0 ? PL_reentrant_buffer->_protoent_ptr : (((PL_REENTRANT_RETINT == ERANGE) || (errno == ERANGE)) ? (struct protoent*)Perl_reentrant_retry("getprotobyname", a) : 0));}) 823 static struct protoent* Perl_reentr_getprotobyname(const char* a) { 826 return ((PL_REENTRANT_RETINT = getprotobyname_r(a, &PL_reentrant_buffer->_protoent_struct, PL_reentrant_buffer->_protoent_buffer, PL_reentrant_buffer->_protoent_size, &PL_reentrant_buffer->_protoent_ptr)) == 0 ? PL_reentrant_buffer->_protoent_ptr : (((PL_REENTRANT_RETINT == ERANGE) || (errno == ERANGE)) ? (struct protoent*)Perl_reentrant_retry("getprotobyname", a) : 0)); 836 # define getprotobyname(a) ((PL_REENTRANT_RETINT = getprotobyname_r(a, &PL_reentrant_buffer->_protoent_struct, &PL_reentrant_buffer->_protoent_data)) == 0 ? &PL_reentrant_buffer->_protoent_struct : (((PL_REENTRANT_RETINT == ERANGE) || (errno == ERANGE)) ? (struct protoent*)Perl_reentrant_retry("getprotobyname", a) : 0)) 839 # define getprotobyname(a) ({int PL_REENTRANT_RETINT; ((PL_REENTRANT_RETINT = getprotobyname_r(a, &PL_reentrant_buffer->_protoent_struct, &PL_reentrant_buffer->_protoent_data)) == 0 ? &PL_reentrant_buffer->_protoent_struct : (((PL_REENTRANT_RETINT == ERANGE) || (errno == ERANGE)) ? (struct protoent*)Perl_reentrant_retry("getprotobyname", a) : 0));}) 842 static struct protoent* Perl_reentr_getprotobyname(const char* a) { 845 return ((PL_REENTRANT_RETINT = getprotobyname_r(a, &PL_reentrant_buffer->_protoent_struct, &PL_reentrant_buffer->_protoent_data)) == 0 ? &PL_reentrant_buffer->_protoent_struct : (((PL_REENTRANT_RETINT == ERANGE) || (errno == ERANGE)) ? (struct protoent*)Perl_reentrant_retry("getprotobyname", a) : 0)); 856 # define getprotobynumber(a) ((PL_REENTRANT_RETINT = getprotobynumber_r(a, &PL_reentrant_buffer->_protoent_struct, PL_reentrant_buffer->_protoent_buffer, PL_reentrant_buffer->_protoent_size, &PL_reentrant_buffer->_protoent_ptr)) == 0 ? PL_reentrant_buffer->_protoent_ptr : (((PL_REENTRANT_RETINT == ERANGE) || (errno == ERANGE)) ? (struct protoent*)Perl_reentrant_retry("getprotobynumber", a) : 0)) 859 # define getprotobynumber(a) ({int PL_REENTRANT_RETINT; ((PL_REENTRANT_RETINT = getprotobynumber_r(a, &PL_reentrant_buffer->_protoent_struct, PL_reentrant_buffer->_protoent_buffer, PL_reentrant_buffer->_protoent_size, &PL_reentrant_buffer->_protoent_ptr)) == 0 ? PL_reentrant_buffer->_protoent_ptr : (((PL_REENTRANT_RETINT == ERANGE) || (errno == ERANGE)) ? (struct protoent*)Perl_reentrant_retr [all...] |
H A D | reentr.h | 668 struct protoent _protoent_struct; 676 struct protoent* _protoent_ptr;
|
H A D | iperlsys.h | 1152 typedef struct protoent*(*LPGetprotobyname)(struct IPerlSock*, const char*); 1153 typedef struct protoent*(*LPGetprotobynumber)(struct IPerlSock*, int); 1154 typedef struct protoent*(*LPGetprotoent)(struct IPerlSock*);
|
/osnet-11/usr/src/lib/libresolv2/common/resolv/ |
H A D | res_mkupdate.c | 1003 struct protoent *pp; 1112 static struct protoent * 1116 static struct protoent prot; 1138 struct protoent *pp;
|
/osnet-11/usr/src/lib/libtsnet/common/ |
H A D | tsol_sgetzcent.c | 67 struct protoent proto;
|
/osnet-11/usr/src/lib/libexacct/demo/ |
H A D | exdump.c | 220 struct protoent *proto_ent;
|
/osnet-11/usr/src/lib/libinetsvc/common/ |
H A D | inetsvc.c | 684 struct protoent pe;
|