/illumos-gate/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...] |
/illumos-gate/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) {
|
/illumos-gate/usr/src/cmd/krb5/krb5kdc/ |
H A D | sock2p.c | 39 inet_ntop (int family, const void *address, char *buf, size_t bufsiz) argument 42 switch (family) {
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | pci_mech1_amd.c | 27 * PCI Mechanism 1 low-level routines with ECS support for AMD family >= 0x10 43 int family; local 61 * Get the CPU family from CPUID. 62 * This PCI mechanism is only available on family 0x10 or higher. 66 family = ((cp.cp_eax >> 8) & 0xf) + ((cp.cp_eax >> 20) & 0xff); 68 if (family < 0x10)
|
/illumos-gate/usr/src/cmd/idmap/idmapd/ |
H A D | krb5_lookup.c | 57 int family, 105 switch (family) { 110 if (family == ds->addr.ss_family) 52 _krb5_override_service_locator( void *arg0, enum locate_service_type svc, const char *realm, int socktype, int family, int (*cbfunc)(void *, int, struct sockaddr *), void *cbdata) argument
|
/illumos-gate/usr/src/cmd/smbsrv/smbd/ |
H A D | smbd_krb5lookup.c | 56 int family, 110 switch (family) { 115 if (family == dxi.d_dci.dc_addr.a_family) 51 _krb5_override_service_locator( void *arg0, enum locate_service_type svc, const char *realm, int socktype, int family, int (*cbfunc)(void *, int, struct sockaddr *), void *cbdata) argument
|
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/ |
H A D | selfcheck.c | 47 int family; local 54 family = AF_INET6; 63 if ((s = socket(family, SOCK_DGRAM, 0)) < 0) { 68 if ((hostinfo = getipnodebyname(hostname, family, flags,
|
/illumos-gate/usr/src/uts/common/inet/sockmods/ |
H A D | sockmod_sdp.c | 74 socksdp_create(struct sockparams *sp, int family, int type, int protocol, argument 81 family, protocol, type)); 98 if (!(family == AF_INET || family == AF_INET6) || 110 sonode_init(so, sp, family, type, protocol, &sosdp_sonodeops); 113 dprint(2, ("sosdp_create: %p domain %d type %d\n", (void *)so, family,
|
H A D | sockmod_sctp.c | 119 socksctp_create(struct sockparams *sp, int family, int type, int protocol, argument 135 if (!(family == AF_INET || family == AF_INET6) || 154 sonode_init(so, sp, family, type, protocol, 157 sonode_init(so, sp, family, type, protocol, 170 dprint(2, ("sosctp_create: %p domain %d type %d\n", (void *)so, family,
|
/illumos-gate/usr/src/uts/i86pc/os/cpupm/ |
H A D | cpupm_intel.c | 90 uint_t family; local 96 family = cpuid_getfamily(cp); 106 if (speedstep_supported(family, model)) {
|
H A D | speedstep.c | 265 speedstep_supported(uint_t family, uint_t model) argument 276 * We only support family/model combinations which 279 if (!((family == 0xf && model >= 0x3) || 280 (family == 0x6 && model >= 0xe))) {
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/ |
H A D | ping.h | 72 * such as address family, IP address of target, source IP address to use 86 int family; member in struct:targetaddr 101 int family; /* address family */ member in struct:hostinfo
|
/illumos-gate/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) {
|
/illumos-gate/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);
|
/illumos-gate/usr/src/cmd/mdb/intel/ia32/kmdb/ |
H A D | kvm_cpu_p6.c | 116 return ("Intel P6 family (Pentium Pro, Pentium II, Pentium III)"); 171 uint_t vendor, family, model; local 174 if (kmdb_kdi_get_cpuinfo(&vendor, &family, &model) < 0) 177 if (vendor != X86_VENDOR_Intel || family != KMT_CPU_FAMILY_P6 ||
|
/illumos-gate/usr/src/cmd/mdb/intel/kmdb/ |
H A D | kvm_cpu_amd.c | 44 uint_t amd_family; /* CPUID family */ 183 uint_t vendor, family, model; local 186 if (kmdb_kdi_get_cpuinfo(&vendor, &family, &model) < 0) 194 kmt_cpu_amd.amd_family = family;
|
/illumos-gate/usr/src/cmd/fm/modules/common/fdd-msg/ |
H A D | fdd_msg.c | 65 int32_t family; member in struct:cpu_tbl 101 int32_t family, model; local 120 nvlist_lookup_int32(nvl, FM_PHYSCPU_INFO_FAMILY, &family) != 0 || 129 ci->family = family; 148 fmd_hdl_debug(hdl, "Got CPU info: vendor=%s, family=%d, " 149 "model=%d\n", ci.vendor, ci.family, ci.model); 153 ci.family == cl->family &&
|
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/ |
H A D | nfslog_ipaddr.c | 188 addhost(family, ipaddr, name) 189 int family; 196 switch (family) { 228 "nfslog: addhost ERROR: Unknown address family: %d", 229 family); 249 int family = ((struct sockaddr_in *)sockp)->sin_family; local 251 switch (family) { 260 "family: %d\n", family);
|
/illumos-gate/usr/src/uts/common/inet/ |
H A D | proto_set.c | 282 proto_verify_ip_addr(int family, const struct sockaddr *name, socklen_t namelen) argument 288 switch (family) {
|
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | clnt_gen.c | 87 int family = AF_UNSPEC; local 120 family = AF_INET; 122 family = AF_INET6; 123 error = clnt_cots_kcreate(config->knc_rdev, svcaddr, family, 144 family = AF_INET; 146 family = AF_INET6; 148 (void *)config->knc_rdev, svcaddr, family, prog, vers, cred, 185 int family = AF_UNSPEC; local 195 family = AF_INET; 197 family [all...] |
/illumos-gate/usr/src/lib/libresolv2/common/resolv/ |
H A D | res_init.c | 916 u_int16_t family; local 920 family = statp->_u._ext.ext->nsaddrs[i].sin.sin_family; 922 family = statp->nsaddr_list[i].sin_family; 924 switch (family) {
|
/illumos-gate/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) {
|
/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | flowattr.c | 88 int family; local 98 family = AF_INET; 100 family = AF_INET6; 116 if (family == AF_INET) {
|