Searched refs:proto_str (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/krb5/ldap_util/
H A Dkdb5_ldap_services.c68 char host_str[MAX_LEN_LIST_ENTRY] = "", proto_str[PROTOCOL_STR_LEN + 1] = "", port_str[PORT_STR_LEN + 1] = ""; local
87 strncpy (proto_str, pchr + 1, PROTOCOL_STR_LEN);
88 if (!strcmp(proto_str, "udp"))
89 sprintf (proto_str, "%d", PROTOCOL_NUM_UDP);
90 else if (!strcmp(proto_str, "tcp"))
91 sprintf (proto_str, "%d", PROTOCOL_NUM_TCP);
93 proto_str[0] = '\0'; /* Make the string null if invalid */
105 proto_str[0] = '\0';
112 if (proto_str[0] == '\0')
113 sprintf (proto_str, "
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipqosconf/
H A Dipqosconf.c4624 * reads a protocol name/number from proto_str and assigns the number
4630 readproto(char *proto_str, uint8_t *proto) argument
4637 IPQOSCDBG1(L1, "In readproto: string: %s\n", proto_str);
4641 pent = getprotobyname(proto_str);
4647 res = readuint8(proto_str, proto, &lo);
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip.c12772 char *proto_str; local
12912 proto_str = "T_SVR4_OPTMGMT_REQ";
12933 proto_str = "Bad SNMPCOM request?";
12960 cmn_err(CE_NOTE, "IP doesn't process %s as a module", proto_str);

Completed in 136 milliseconds