| /onnv/onnv-gate/usr/src/lib/nsswitch/files/common/ |
| getprotoent.c | 50 int proto; local 64 proto = (int)strtol(linep, NULL, 10); 65 return (proto == argp->key.number);
|
| /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.lib/in.dhcpd/ |
| logging.c | 70 char *cat, *proto, *t, *class_id; local 80 proto = protos[p]; 102 proto, cat, time(NULL), lease,
|
| /onnv/onnv-gate/usr/src/common/net/dhcp/ |
| udp_sum.c | 41 uint8_t proto; /* protocol used */ member in struct:pseudo_udp 51 const struct in_addr *dst, uint8_t proto) 70 ck.proto = proto;
|
| /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
| snoop_ipsec.c | 113 uint8_t proto; local 188 proto = aligned_ah->ah_nexthdr; 193 if (proto == IPPROTO_HOPOPTS || proto == IPPROTO_DSTOPTS || 194 proto == IPPROTO_ROUTING || proto == IPPROTO_FRAGMENT) { 195 (void) print_ipv6_extensions(flags, &data, &proto, &iplen, 200 switch (proto) {
|
| snoop_pmap.c | 103 unsigned port, proto; local 140 proto = getxdr_u_long(); 142 " prog=%d (%s) vers=%d proto=%s", 145 getproto(proto)); 217 proto = getxdr_u_long(); 220 proto, getproto(proto)); 301 unsigned prog, vers, proto, port; local 317 proto = getxdr_u_long(); 321 prog, vers, proto, port, nameof_prog(prog)) 684 char protofmly[MAXSTRINGLEN + 1], proto[MAXSTRINGLEN + 1]; local [all...] |
| /onnv/onnv-gate/usr/src/lib/libsocket/inet/ |
| getprotoent_r.c | 75 getprotobynumber_r(int proto, struct protoent *result, char *buffer, int buflen) 81 arg.key.number = proto; 133 struct protoent *proto = (struct protoent *)ent; local 161 proto->p_name = buffer; 167 /* Syntax error -- no proto number */ 172 p++; /* Find the end of the proto number */ 181 proto->p_proto = (int)strtol(numbuf, &numend, 10); 202 proto->p_aliases = 0; 206 proto->p_aliases = ptr; 210 proto->p_aliases = _nss_netdb_aliases(p, lenstr - (int)(p - instr) [all...] |
| /onnv/onnv-gate/usr/src/cmd/lp/cmd/lpsched/ |
| lpfsck.c | 50 static void proto (int, int, ...); 76 proto (D, 0, Lp_A, NULL, 0775, Lp_Uid, Lp_Gid); 77 proto (D, 1, Lp_A_Classes, NULL, 0775, Lp_Uid, Lp_Gid); 78 proto (D, 1, Lp_A_Forms, NULL, 0775, Lp_Uid, Lp_Gid); 79 proto (D, 1, Lp_A_Interfaces, NULL, 0775, Lp_Uid, Lp_Gid); 80 proto (D, 1, Lp_A_Printers, NULL, 0775, Lp_Uid, Lp_Gid); 81 proto (D, 1, Lp_A_PrintWheels, NULL, 0775, Lp_Uid, Lp_Gid); 82 proto (D, 0, "/var/lp", NULL, 0775, Lp_Uid, Lp_Gid); 83 proto (D, 1, Lp_Logs, NULL, 0775, Lp_Uid, Lp_Gid); 84 proto (D, 1, Lp_Spooldir, NULL, 0775, Lp_Uid, Lp_Gid) 217 proto(int type, int rm_ok, ...) function [all...] |
| /onnv/onnv-gate/usr/src/lib/libtsnet/common/ |
| tsol_sgetzcent.c | 60 * Parse an MLP specification in port1-port2/proto or port/proto form. 69 struct protoent proto; local 97 else if (getprotobyname_r(fieldp, &proto, gbuf, 99 zone_mlp->mlp_ipp = proto.p_proto;
|
| /onnv/onnv-gate/usr/src/lib/nsswitch/nisplus/common/ |
| getservent.c | 51 * finds in the nis_object if user supplied proto is NULL. 68 * finds in the nis_object if user supplied proto is NULL. 88 char *cname, *port, *proto, *endnum; local 96 * and protokeylen, since argp->key.serv.proto won't 100 protokey = argp->key.serv.proto; 114 protolen, proto); 117 strncasecmp(proto, protokey, protolen) != 0) 125 * NULL proto is also specified by getservent() functions. We 149 (void) snprintf(buffer, buflen, "%s %s/%s", cname, port, proto); 154 stat = nis_aliases_object2str(obj, nobj, cname, proto, linep, limit) [all...] |
| nisplus_common.c | 528 char *p, *name, *proto; local 553 protolen, proto); 555 strncasecmp(proto, protokey, protolen) != 0)
|
| /onnv/onnv-gate/usr/src/uts/common/ipp/ipgpc/ |
| classifier.h | 68 uint8_t proto; /* protocol field */ member in struct:ipgpc_packet_s
|
| /onnv/onnv-gate/usr/src/lib/libresolv2/common/irs/ |
| dns_pr.c | 51 struct protoent proto; member in struct:pvt 112 if (pvt->proto.p_aliases) 113 free(pvt->proto.p_aliases); 125 struct protoent *proto; local 131 proto = parse_hes_list(this, hes_list); 133 return (proto); 140 struct protoent *proto; local 148 proto = parse_hes_list(this, hes_list); 150 return (proto); 218 pvt->proto.p_name = p [all...] |
| irp_pr.c | 56 struct protoent proto; member in struct:pvt 119 free_proto(&pvt->proto); 133 struct protoent *pr = &pvt->proto; 175 * struct protoent * pr_bynumber(struct irs_pr *this, int proto) 180 pr_bynumber(struct irs_pr *this, int proto) { 182 struct protoent *pr = &pvt->proto; 189 if (pr->p_name != NULL && proto == pr->p_proto) { 197 i = irs_irp_send_command(pvt->girpdata, "getprotobynumber %d", proto); 260 struct protoent *pr = &pvt->proto;
|
| lcl_pr.c | 89 struct protoent proto; member in struct:pvt 170 pr_bynumber(struct irs_pr *this, int proto) { 175 if (p->p_proto == proto) 253 pvt->proto.p_name = p; 263 pvt->proto.p_proto = atoi(cp); 264 q = pvt->proto.p_aliases = pvt->proto_aliases; 281 return (&pvt->proto);
|
| nis_pr.c | 66 struct protoent proto; member in struct:pvt 126 if (pvt->proto.p_aliases) 127 free(pvt->proto.p_aliases); 238 pvt->proto.p_name = p; 247 pvt->proto.p_proto = atoi(p); 253 if ((n + 1) >= m || !pvt->proto.p_aliases) { 255 t = realloc(pvt->proto.p_aliases, 261 pvt->proto.p_aliases = t; 263 pvt->proto.p_aliases[n++] = p; 269 if (!pvt->proto.p_aliases [all...] |
| /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/ |
| deflate.c | 306 int rlen, proto, r; local 312 proto = rptr[0]; 313 if ((proto & 1) == 0) 314 proto = (proto << 8) + rptr[1]; 315 if (proto > 0x3fff || proto == 0xfd || proto == 0xfb) 339 if (proto <= 0xff)
|
| pppdump.c | 245 int nb, nl, dn, proto, rv; local 319 proto = r[0]; 320 if ((proto & 1) == 0) 321 proto = (proto << 8) + r[1]; 322 if (proto == PPP_CCP) { 324 } else if (proto == PPP_COMP) {
|
| /onnv/onnv-gate/usr/src/cmd/dfs.cmds/sharectl/ |
| sharectl.c | 44 static void sub_command_help(char *proto); 104 ret = gettext("get [-h | -p property ...] proto"); 107 ret = gettext("set [-h] -p property=value ... proto"); 110 ret = gettext("status [-h | proto ...]"); 113 ret = gettext("delsect [-h] section proto"); 123 char *proto = NULL; local 162 proto = argv[optind]; 163 if (!sa_valid_protocol(proto)) { 165 proto); 168 propset = sa_proto_get_properties(proto); 261 char *proto = NULL; local 462 char *proto = NULL; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/fs.d/ufs/fsck/ |
| pass2.c | 405 struct direct proto; local 435 proto.d_ino = idesc->id_number; 436 proto.d_namlen = 1; 437 (void) strcpy(proto.d_name, "."); 438 entrysize = DIRSIZ(&proto); 455 proto.d_reclen = dirp->d_reclen; 456 (void) memmove((void *)dirp, (void *)&proto, 478 proto.d_reclen = entrysize; 479 (void) memmove((void *)dirp, (void *)&proto, 554 proto.d_ino = inp->i_parent [all...] |
| /onnv/onnv-gate/usr/src/cmd/ypcmd/ |
| ypserv_resolv.c | 207 int proto; local 230 proto = IPPROTO_UDP; 233 proto = IPPROTO_TCP; 240 while (!pmap_set(start, vers, proto, port))
|
| /onnv/onnv-gate/usr/src/head/ |
| nss_netdir.h | 74 const char *proto; member in struct:nss_netdirbyname_in::__anon2614::__anon2615::__anon2618 107 const char *proto; member in struct:nss_netdirbyaddr_in::__anon2621::__anon2622::__anon2624
|
| /onnv/onnv-gate/usr/src/lib/nsswitch/nis/common/ |
| getservent.c | 53 const char *proto = args->key.serv.proto; local 56 if (proto != 0 && strcmp(serv->s_proto, proto) != 0) { 86 if (argp->key.serv.proto == NULL) 105 if ((keyp = argp->key.serv.proto) == NULL) { 158 const char *proto = argp->key.serv.proto; local 173 if (proto == 0) { 177 int len = strlen(name) + strlen(proto) + 3 278 const char *proto = argp->key.serv.proto; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/ypcmd/ypupdated/ |
| rpc.ypupdated.c | 123 int proto = 0; local 130 proto)) {
|
| /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
| demand.c | 305 demand_rexmit(proto) 306 int proto; 315 if (PPP_PROTOCOL(pkt->data) == proto) { 340 int proto, i; local 354 proto = PPP_PROTOCOL(p); 356 if (protp->protocol < 0xC000 && (protp->protocol & ~0x8000) == proto) { 374 if ((cp = protocol_name(proto)) == NULL) { 375 (void) slprintf(pbuf, sizeof (pbuf), "0x#X", proto);
|
| /onnv/onnv-gate/usr/src/lib/libreparse/common/ |
| fs_reparse_lib.c | 310 rp_proto_plugin_t *proto, *tmp; local 354 proto = (rp_proto_plugin_t *) 356 if (proto == NULL) { 365 proto->plugin_ops = plugin_ops; 366 proto->plugin_handle = dlhandle; 368 proto->plugin_next = rp_proto_list; 369 rp_proto_list = proto;
|