/osnet-11/usr/src/lib/libsocket/socket/ |
H A D | _soutil.c | 50 static struct netconfig *_s_match_netconf(int family, int type, int proto, 117 * Lookup family/type/protocol in /etc/netconfig. 122 _s_netconfig_path(int family, int type, int protocol, argument 129 net = _s_match_netconf(family, type, protocol, &nethandle); 176 _s_match_netconf(int family, int type, int proto, void **nethandle) argument 182 if (family < 0 || 183 family >= (int)sizeof (family_sw) / (int)sizeof (char *) || 216 if (strcmp(net->nc_protofmly, family_sw[family]) == 0 && 221 if (strcmp(net->nc_protofmly, family_sw[family]) == 0 && 230 if (strcmp(net->nc_protofmly, family_sw[family]) [all...] |
H A D | socket.c | 56 _socket(int family, int type, int protocol) argument 58 return (_socket_create(family, type, protocol, SOV_DEFAULT)); 65 _socket_bsd(int family, int type, int protocol) argument 67 return (_socket_create(family, type, protocol, SOV_SOCKBSD)); 71 _socket_svr4(int family, int type, int protocol) argument 73 return (_socket_create(family, type, protocol, SOV_SOCKSTREAM)); 77 __xnet_socket(int family, int type, int protocol) argument 79 return (_socket_create(family, type, protocol, SOV_XPG4_2)); 85 * that could be returned due to invalid <family, type, protocol> 93 _socket_create(int family, in argument [all...] |
H A D | socketpair.c | 59 _socketpair(int family, int type, int protocol, int sv[2]) argument 61 return (_socketpair_create(family, type, protocol, sv, SOV_DEFAULT)); 68 _socketpair_bsd(int family, int type, int protocol, int sv[2]) argument 70 return (_socketpair_create(family, type, protocol, sv, SOV_SOCKBSD)); 74 _socketpair_svr4(int family, int type, int protocol, int sv[2]) argument 76 return (_socketpair_create(family, type, protocol, sv, 81 __xnet_socketpair(int family, int type, int protocol, int sv[2]) argument 83 return (_socketpair_create(family, type, protocol, sv, 88 _socketpair_create(int family, int type, int protocol, int sv[2], int version) argument 97 fd1 = _socket_create(family, typ [all...] |
/osnet-11/usr/src/lib/libinetutil/common/ |
H A D | ifaddrlist.c | 54 ifaddrlist(struct ifaddrlist **ipaddrp, int family, uint_t flags, char *errbuf) argument 67 if (family != AF_INET && family != AF_INET6) { 68 (void) strlcpy(errbuf, "invalid address family", ERRBUFSIZE); 72 if ((fd = socket(family, SOCK_DGRAM, 0)) == -1) { 78 * Get the number of network interfaces of type `family'. 80 lifn.lifn_family = family; 95 lifc.lifc_family = family; 157 if (family == AF_INET) {
|
H A D | inetutil.c | 260 #error Need to update address-family table 264 soaf2str(uint_t family) argument 266 if (family > PF_MAX) 268 return (af2str[family]); 275 ipproto2str(uint_t family, uint_t protocol) argument 277 switch (family) {
|
/osnet-11/usr/src/lib/libresolv2/common/irs/ |
H A D | getnameinfo.c | 116 int family, i; local 131 family = sa->sa_family; 133 if (afdl[i].a_af == family) {
|
H A D | lcl_ho.c | 490 int family; member in struct:lcl_res_target 512 q.family = AF_INET6; 514 q2.family = AF_INET; 517 q.family = AF_INET6; 520 q.family = AF_INET; 530 hp = (*this->byname2)(this, name, p->family);
|
/osnet-11/usr/src/lib/libcmd/common/ |
H A D | fds.c | 67 static const NV_t family[] = variable 322 for (type = 0; family[type].name && family[type].value != addr.sin_family; type++); 323 if (!(s = (char*)family[type].name)) 324 sfsprintf(s = num, sizeof(num), "family.%d", addr.sin_family);
|
/osnet-11/usr/src/lib/librdc/common/ |
H A D | netaddrs.c | 97 int family; local 103 family = AF_INET6; 105 family = AF_INET; 107 if ((sock = socket(family, SOCK_DGRAM, 0)) < 0) { 393 unsigned short family; local 399 family = AF_INET6; 403 family = AF_INET; 419 if (family == AF_INET) {
|
/osnet-11/usr/src/lib/libsocket/inet/ |
H A D | getaddrinfo.c | 70 static int get_addr(int family, const char *hostname, struct addrinfo *aip, 158 * EAI_ADDRFAMILY - address family not supported 482 /* If address family is PF_UNSPEC or PF_INET */ 555 get_addr(int family, const char *hostname, struct addrinfo *aip, struct argument 608 if (family == PF_UNSPEC) { 612 hp = getipnodebyname(_hostname, family, aip->ai_flags, &errnum); 830 "specified address family not supported", /* 1 EAI_ADDRFAMILY */ 834 "specified address family not supported", /* 5 EAI_FAMILY */
|
/osnet-11/usr/src/lib/libcpc/i386/ |
H A D | conf_pentium.c | 477 * within the same instruction set family. 525 int family, model; local 530 if ((family = BITS(eax, 11, 8)) == 0xf) 531 family = BITS(eax, 27, 20); 536 * map family and model into the performance 542 switch (family) {
|
/osnet-11/usr/src/lib/libdladm/common/ |
H A D | flowattr.c | 94 int family; local 104 family = AF_INET; 106 family = AF_INET6; 122 if (family == AF_INET) {
|
/osnet-11/usr/src/lib/libexacct/demo/ |
H A D | exdump.c | 200 disp_host(char *addr, int family) argument 206 len = (family == AF_INET) ? sizeof (struct in_addr) : 209 if ((phe = getipnodebyaddr(addr, len, family, &error_num)) != NULL) {
|
/osnet-11/usr/src/lib/libresolv2/common/resolv/ |
H A D | res_init.c | 1009 u_int16_t family; local 1013 family = statp->_u._ext.ext->nsaddrs[i].sin.sin_family; 1015 family = statp->nsaddr_list[i].sin_family; 1017 switch (family) {
|
/osnet-11/usr/src/lib/fm/topo/modules/i86pc/chip/common/ |
H A D | chip.c | 466 int32_t family, model; local 479 FM_PHYSCPU_INFO_FAMILY, DATA_TYPE_INT32, &family, 658 procnodeid, procnodes_per_pkg, family, model, &nerr);
|
H A D | chip_amd.c | 124 * This is adequate for generic diagnosis up to family 0x10 revision E and 125 * models 00h - 0Fh of family 0x15. 130 tnode_t *mcnode, int family, int model, nvlist_t *auth) 136 * This "generic" topology is adequate for all of family 0xf and 137 * for revisions A to E of family 0x10, and for models 00h - 0Fh 138 * of family 0x15 (for the list of models in each revision, refer 140 * We cover all family 0x10 models, till model A. 142 switch (family) { 144 /* supports all revisions of family 0xf */ 147 /* supports revisions A to E of family 129 amd_generic_mc_create(topo_mod_t *mod, uint16_t smbid, tnode_t *cnode, tnode_t *mcnode, int family, int model, nvlist_t *auth) argument 725 amd_mc_create(topo_mod_t *mod, uint16_t smbid, tnode_t *pnode, const char *name, nvlist_t *auth, int32_t procnodeid, int32_t procnodes_per_pkg, int family, int model, int *nerrp) argument [all...] |
/osnet-11/usr/src/lib/libnsl/nss/ |
H A D | netdir_inet_sundry.c | 644 select_server_addr(union any_in_addr *dst_addr, int family, argument 658 if (family == AF_INET) { 675 tmp_fd = _so_socket(family, SOCK_DGRAM, 0, NULL, SOV_SOCKBSD); 690 if (family == AF_INET) { 713 if (family == AF_INET) { 1042 * both address structure point to family and port # respectively
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | locate_kdc.c | 286 int socktype, int family) 293 Tprintf ("adding hostname %s, ports %d,%d, family %d, socktype %d\n", 295 family, socktype); 298 hint.ai_family = family; 411 enum locate_service_type svc, int socktype, int family) 464 code = vtbl->lookup(blob, svc, realmz, socktype, family, 563 enum locate_service_type svc, int socktype, int family) 635 int family, 647 socktype, family); 651 SOCK_DGRAM, family); 284 krb5int_add_host_to_list(struct addrlist *lp, const char *hostname, int port, int secport, int socktype, int family) argument 409 module_locate_server(krb5_context ctx, const krb5_data *realm, struct addrlist *addrlist, enum locate_service_type svc, int socktype, int family) argument 561 dns_locate_server(krb5_context context, const krb5_data *realm, struct srv_dns_entry **dns_list_head, enum locate_service_type svc, int socktype, int family) argument 631 dns_hostnames2netaddrs( struct srv_dns_entry *head, enum locate_service_type svc, int socktype, int family, struct addrlist *addrlist) argument 739 prof_hostnames2netaddrs( char **hostlist, enum locate_service_type svc, int socktype, int family, struct addrlist *addrlist) argument 833 krb5int_locate_server(krb5_context context, const krb5_data *realm, struct addrlist *addrlist, enum locate_service_type svc, int socktype, int family) argument 1028 krb5_locate_kdc(krb5_context context, const krb5_data *realm, struct addrlist *addrlist, int get_masters, int socktype, int family) argument [all...] |
/osnet-11/usr/src/lib/libsmb/common/ |
H A D | smb_nic.c | 478 smb_nic_getinfo(char *interface, smb_nic_t *nc, int family) argument 486 if ((s = socket(family, SOCK_DGRAM, IPPROTO_IP)) < 0) {
|
/osnet-11/usr/src/lib/libsmbns/common/ |
H A D | smbns_dyndns.c | 279 * af: address family of *addr, AF_INET or AF_INET6 360 * af: address family of *addr, AF_INET or AF_INET6 1131 * family : address family of *addr, AF_INET or AF_INET6 1141 const char *hostname, int family, const void *addr, int *is_match) 1149 switch (family) { 1163 hints.ai_family = family; 1170 * if both ips aren't the same family skip to 1175 (family == AF_INET)) { 1184 (family 1140 dyndns_search_entry(dyndns_zone_dir_t update_zone, const char *hostname, int family, const void *addr, int *is_match) argument [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/font/ |
H A D | font.c | 61 char *family; member in struct:grub_font 210 font->family = 0; 800 grub_free (font->family);
|
/osnet-11/usr/src/cmd/sendmail/src/ |
H A D | daemon.c | 855 char family[5]; local 858 (void) sm_snprintf(family, 859 sizeof(family), 866 macid("{if_family}"), family); 868 sm_dprintf("getreq: got addr %s and family %s\n", 869 addr, family); 1508 case 'F': /* address family */ 1542 syserr("554 5.3.5 Unknown address family %s in Family=option", 1625 /* Check addr and port after finding family */ 1714 syserr("554 5.3.5 address= option unsupported for family 1943 int family; local 2122 volatile int family = InetMode; local 2842 char family[5]; local 3451 int family; local [all...] |
H A D | milter.c | 3917 char family; local 3937 family = SMFIA_UNIX; 3945 family = SMFIA_INET; 3954 family = SMFIA_INET; 3956 family = SMFIA_INET6; 3966 family = SMFIA_UNKNOWN; 3970 s = strlen(hostname) + 1 + sizeof(family); 3971 if (family != SMFIA_UNKNOWN) 3981 (void) memcpy(bp, &family, sizeof(family)); [all...] |
/osnet-11/usr/src/cmd/sendmail/libmilter/ |
H A D | engine.c | 1170 char *s, family; local 1192 family = s[i++]; 1194 if (family != SMFIA_UNKNOWN) 1212 if (family == SMFIA_INET) 1230 if (family == SMFIA_INET6) 1248 if (family == SMFIA_UNIX) 1266 "%s: connect[%ld]: unknown family %d", 1268 (long) g->a_ctx->ctx_id, family); 1273 family != SMFIA_UNKNOWN ? &sockaddr : NULL);
|
/osnet-11/usr/src/lib/libbsm/common/ |
H A D | adt.c | 756 int family; local 765 family = AF_INET6; 766 if (adt_get_local_address(family, &al) != 0) { 767 family = AF_INET; 769 if (adt_get_local_address(family, &al) != 0) { 782 if (family == AF_INET) { 791 inet_ntop(family, &(al.addr), ntop, sizeof (ntop))); 2121 adt_get_local_address(int family, struct ifaddrlist *al) argument 2128 if ((ifal_count = ifaddrlist(&ifal, family, 0, errbuf)) < 0) { 2132 "addrlist %s: %s\n", family, errbu [all...] |