/titanic_51/usr/src/lib/libsocket/socket/ |
H A D | socket.c | 56 _socket(int family, int type, int protocol) in _socket() argument 58 return (_socket_create(family, type, protocol, SOV_DEFAULT)); in _socket() 65 _socket_bsd(int family, int type, int protocol) in _socket_bsd() argument 67 return (_socket_create(family, type, protocol, SOV_SOCKBSD)); in _socket_bsd() 71 _socket_svr4(int family, int type, int protocol) in _socket_svr4() argument 73 return (_socket_create(family, type, protocol, SOV_SOCKSTREAM)); in _socket_svr4() 77 __xnet_socket(int family, int type, int protocol) in __xnet_socket() argument 79 return (_socket_create(family, type, protocol, SOV_XPG4_2)); in __xnet_socket() 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]) in _socketpair() argument 61 return (_socketpair_create(family, type, protocol, sv, SOV_DEFAULT)); in _socketpair() 68 _socketpair_bsd(int family, int type, int protocol, int sv[2]) in _socketpair_bsd() argument 70 return (_socketpair_create(family, type, protocol, sv, SOV_SOCKBSD)); in _socketpair_bsd() 74 _socketpair_svr4(int family, int type, int protocol, int sv[2]) in _socketpair_svr4() argument 76 return (_socketpair_create(family, type, protocol, sv, in _socketpair_svr4() 81 __xnet_socketpair(int family, int type, int protocol, int sv[2]) in __xnet_socketpair() argument 83 return (_socketpair_create(family, type, protocol, sv, in __xnet_socketpair() 88 _socketpair_create(int family, int type, int protocol, int sv[2], int version) in _socketpair_create() argument 97 fd1 = _socket_create(family, typ in _socketpair_create() [all...] |
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, in _s_netconfig_path() argument 129 net = _s_match_netconf(family, type, protocol, &nethandle); in _s_netconfig_path() 176 _s_match_netconf(int family, int type, int proto, void **nethandle) in _s_match_netconf() argument 182 if (family < 0 || in _s_match_netconf() 183 family >= (int)sizeof (family_sw) / (int)sizeof (char *) || in _s_match_netconf() 216 if (strcmp(net->nc_protofmly, family_sw[family]) == 0 && in _s_match_netconf() 221 if (strcmp(net->nc_protofmly, family_sw[family]) == 0 && in _s_match_netconf() 230 if (strcmp(net->nc_protofmly, family_sw[family]) in _s_match_netconf() [all...] |
/titanic_51/usr/src/cmd/sendmail/libmilter/ |
H A D | sm_gethost.c | 48 getipnodebyname(name, family, flags, err) in getipnodebyname() argument 50 int family; 57 if (family == AF_INET6) 65 if (family == AF_INET6 && !resv6) 85 mi_gethostbyname(name, family) in mi_gethostbyname() argument 87 int family; 112 h = getipnodebyname(name, family, flags, &err); 129 ** family -- address family 140 mi_inet_pton(family, sr argument [all...] |
/titanic_51/usr/src/cmd/cmd-inet/usr.sbin/traceroute/ |
H A D | traceroute.c | 79 int family; /* address family of the IP addresses */ member 86 int family; /* AF_INET or AF_INET6 */ member 121 /* first get the gw names, later you'll resolve them based on the family */ 126 static int family_input = AF_UNSPEC; /* User supplied protocol family */ 294 "%s: unknown address family %s\n", in main() 535 * We KNOW that probe_all == TRUE if family is AF_UNSPEC, in main() 536 * since family is set to the specific AF found unless it's in main() 537 * probe_all. So if family == AF_UNSPEC, we need to init pr4 and pr6. in main() 588 Fprintf(stderr, "%s: unknow address family in main() 647 resolve_nodes(int * family,struct addrinfo ** ai_dstp) resolve_nodes() argument 705 get_hostinfo(char * host,int family,struct addrinfo ** aipp) get_hostinfo() argument 1000 find_ifaddr(struct ifaddrlist * al,int len,union any_in_addr * addr,int family) find_ifaddr() argument 1080 get_gwaddrs(char ** gwlist,int family,union any_in_addr * gwIPlist,union any_in_addr * gwIPlist6,int * resolved,int * resolved6) get_gwaddrs() argument 1161 setup_protocol(struct pr_set * pr,int family) setup_protocol() argument 1454 set_sin(struct sockaddr * sock,union any_in_addr * addr,int family) set_sin() argument 1795 select_src_addr(union any_in_addr * dst_addr,union any_in_addr * src_addr,int family) select_src_addr() argument 1945 inet_name(union any_in_addr * in,int family) inet_name() argument [all...] |
/titanic_51/usr/src/uts/i86pc/os/ |
H A D | cpuid_subr.c | 70 * 0 for family 0xf, revs B thru E 71 * 1 for family 0xf, revs F and G 72 * 2 for family 0x10 73 * 3 for family 0x11 74 * 4 for family 0x12 75 * 5 for family 0x14 76 * 6 for family 0x15, models 00 - 0f 77 * 7 for family 0x15, models 10 - 1f 78 * Second index by (model & 0x3) for family 0fh, 235 * The first member of this array that matches a given family, extende 356 synth_amd_info(uint_t family,uint_t model,uint_t step,uint32_t * skt_p,uint32_t * chiprev_p,const char ** chiprevstr_p) synth_amd_info() argument 441 _cpuid_skt(uint_t vendor,uint_t family,uint_t model,uint_t step) _cpuid_skt() argument 459 _cpuid_sktstr(uint_t vendor,uint_t family,uint_t model,uint_t step) _cpuid_sktstr() argument 487 _cpuid_chiprev(uint_t vendor,uint_t family,uint_t model,uint_t step) _cpuid_chiprev() argument 505 _cpuid_chiprevstr(uint_t vendor,uint_t family,uint_t model,uint_t step) _cpuid_chiprevstr() argument [all...] |
/titanic_51/usr/src/uts/common/io/ib/mgt/ibcm/ |
H A D | ibcm_arp_link.c | 82 wqnp->ifproto = (dst_addr->family == AF_INET) ? in ibcm_arp_create_prwqn() 129 if (dst_addr->family == AF_INET) { in ibcm_resolver_pr_lookup() 165 wqnp->src_addr.family = wqnp->gateway.family = in ibcm_resolver_pr_lookup() 166 wqnp->netmask.family = AF_INET; in ibcm_resolver_pr_lookup() 168 } else if (dst_addr->family == AF_INET6) { in ibcm_resolver_pr_lookup() 205 wqnp->src_addr.family = wqnp->gateway.family = in ibcm_resolver_pr_lookup() 206 wqnp->netmask.family = AF_INET6; in ibcm_resolver_pr_lookup() 216 if (wqnp->src_addr.family in ibcm_resolver_pr_lookup() [all...] |
/titanic_51/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_ipaddr.c | 184 addhost(int family, const void *ipaddr, const char *name, char **aliases) in addhost() argument 194 switch (family) { in addhost() 226 fprintf(stderr, "snoop: ERROR: Unknown address family: %d", in addhost() 227 family); in addhost() 235 if (family == AF_INET) { in addhost() 249 } else if (family == AF_INET6) { in addhost() 265 (void) fprintf(stderr, "addhost: unknown family %d\n", in addhost() 266 family); in addhost() 283 addrtoname(int family, const void *ipaddr) in addrtoname() argument 285 switch (family) { in addrtoname() 306 int family; global() local [all...] |
/titanic_51/usr/src/uts/common/inet/sockmods/ |
H A D | sockmod_sdp.c | 74 socksdp_create(struct sockparams *sp, int family, int type, int protocol, in socksdp_create() argument 81 family, protocol, type)); in socksdp_create() 98 if (!(family == AF_INET || family == AF_INET6) || in socksdp_create() 110 sonode_init(so, sp, family, type, protocol, &sosdp_sonodeops); in socksdp_create() 113 dprint(2, ("sosdp_create: %p domain %d type %d\n", (void *)so, family, in socksdp_create()
|
H A D | sockmod_sctp.c | 119 socksctp_create(struct sockparams *sp, int family, int type, int protocol, in socksctp_create() argument 135 if (!(family == AF_INET || family == AF_INET6) || in socksctp_create() 154 sonode_init(so, sp, family, type, protocol, in socksctp_create() 157 sonode_init(so, sp, family, type, protocol, in socksctp_create() 170 dprint(2, ("sosctp_create: %p domain %d type %d\n", (void *)so, family, in socksctp_create()
|
/titanic_51/usr/src/lib/libinetutil/common/ |
H A D | ifaddrlist.c | 54 ifaddrlist(struct ifaddrlist **ipaddrp, int family, uint_t flags, char *errbuf) in ifaddrlist() argument 67 if (family != AF_INET && family != AF_INET6) { in ifaddrlist() 68 (void) strlcpy(errbuf, "invalid address family", ERRBUFSIZE); in ifaddrlist() 72 if ((fd = socket(family, SOCK_DGRAM, 0)) == -1) { in ifaddrlist() 78 * Get the number of network interfaces of type `family'. in ifaddrlist() 80 lifn.lifn_family = family; in ifaddrlist() 95 lifc.lifc_family = family; in ifaddrlist() 157 if (family == AF_INET) { in ifaddrlist()
|
/titanic_51/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | locate_kdc.c | 271 int socktype, int family) in krb5int_add_host_to_list() argument 278 Tprintf ("adding hostname %s, ports %d,%d, family %d, socktype %d\n", in krb5int_add_host_to_list() 280 family, socktype); in krb5int_add_host_to_list() 283 hint.ai_family = family; in krb5int_add_host_to_list() 383 enum locate_service_type svc, int socktype, int family) in module_locate_server() argument 422 code = vtbl->lookup(blob, svc, realm->data, socktype, family, in module_locate_server() 458 int socktype, int family, 477 enum locate_service_type svc, int socktype, int family) in override_locate_server() argument 499 code = lookup_func(ctx, svc, realm->data, socktype, family, in override_locate_server() 583 enum locate_service_type svc, int socktype, int family) in dns_locate_server() argument 655 dns_hostnames2netaddrs(struct srv_dns_entry * head,enum locate_service_type svc,int socktype,int family,struct addrlist * addrlist) dns_hostnames2netaddrs() argument 763 prof_hostnames2netaddrs(char ** hostlist,enum locate_service_type svc,int socktype,int family,struct addrlist * addrlist) prof_hostnames2netaddrs() argument 864 krb5int_locate_server(krb5_context context,const krb5_data * realm,struct addrlist * addrlist,enum locate_service_type svc,int socktype,int family) krb5int_locate_server() argument 1078 krb5_locate_kdc(krb5_context context,const krb5_data * realm,struct addrlist * addrlist,int get_masters,int socktype,int family) krb5_locate_kdc() argument [all...] |
/titanic_51/usr/src/cmd/fm/modules/common/fdd-msg/ |
H A D | fdd_msg.c | 65 int32_t family; member 101 int32_t family, model; in fma_cap_cpu_info() local 120 nvlist_lookup_int32(nvl, FM_PHYSCPU_INFO_FAMILY, &family) != 0 || in fma_cap_cpu_info() 129 ci->family = family; in fma_cap_cpu_info() 148 fmd_hdl_debug(hdl, "Got CPU info: vendor=%s, family=%d, " in get_cap_conf() 149 "model=%d\n", ci.vendor, ci.family, ci.model); in get_cap_conf() 153 ci.family == cl->family && in get_cap_conf()
|
/titanic_51/usr/src/cmd/cmd-inet/usr.sbin/ping/ |
H A D | ping.c | 156 static int family_input = AF_UNSPEC; /* address family supplied by user */ 309 "%s: unknown address family %s\n", in main() 807 * Given an address family, dst and src addresses, by also looking at the 813 create_targetaddr_item(int family, union any_in_addr *dst_addr, in create_targetaddr_item() argument 823 targetaddr->family = family; in create_targetaddr_item() 939 * address family param makes them irrelevant. 942 get_gwaddrs(char **gw_list, int family, union any_in_addr *gwIPlist, in get_gwaddrs() argument 951 switch (family) { in get_gwaddrs() 976 get_hostinfo(gw_list[i], family, in get_gwaddrs() 1019 mirror_gws(union any_in_addr * gwIPlist,int family) mirror_gws() argument 1043 get_hostinfo(char * host,int family,struct addrinfo ** aipp) get_hostinfo() argument 1186 select_src_addr(union any_in_addr * dst_addr,int family,union any_in_addr * src_addr) select_src_addr() argument 1266 set_nexthop(int family,struct addrinfo * ai_nexthop,int sock) set_nexthop() argument 1313 setup_socket(int family,int * send_sockp,int * recv_sockp,int * if_index,ushort_t * udp_src_port,struct addrinfo * ai_nexthop) setup_socket() argument 2056 pinger(int send_sock,struct sockaddr * whereto,struct msghdr * msg6,int family) pinger() argument 2178 pr_name(char * addr,int family) pr_name() argument [all...] |
/titanic_51/usr/src/uts/common/rpc/ |
H A D | clnt_gen.c | 87 int family = AF_UNSPEC; in clnt_tli_kcreate() local 120 family = AF_INET; in clnt_tli_kcreate() 122 family = AF_INET6; in clnt_tli_kcreate() 123 error = clnt_cots_kcreate(config->knc_rdev, svcaddr, family, in clnt_tli_kcreate() 144 family = AF_INET; in clnt_tli_kcreate() 146 family = AF_INET6; in clnt_tli_kcreate() 148 (void *)config->knc_rdev, svcaddr, family, prog, vers, cred, in clnt_tli_kcreate() 185 int family = AF_UNSPEC; in clnt_tli_kinit() local 195 family = AF_INET; in clnt_tli_kinit() 197 family in clnt_tli_kinit() [all...] |
/titanic_51/usr/src/uts/common/fs/sockfs/ |
H A D | sockparams.c | 158 * sockparams_create(int family, int type, int protocol, char *modname, 164 * family, type, protocol: specifies the socket type 187 sockparams_create(int family, int type, int protocol, char *modname, in sockparams_create() argument 210 sp->sp_family = family; in sockparams_create() 361 sockparams_find(list_t *list, int family, int type, int protocol, in sockparams_find() argument 367 if (sp->sp_family == family && sp->sp_type == type) { in sockparams_find() 387 * Returns an ephemeral sockparams entry of the requested family, type and 401 sockparams_hold_ephemeral(int family, int type, int protocol, in sockparams_hold_ephemeral() argument 411 sp = sockparams_find(&sp_ephem_list, family, type, protocol, in sockparams_hold_ephemeral() 435 newsp = sockparams_create(family, typ in sockparams_hold_ephemeral() 498 sockparams_hold_ephemeral_bydev(int family,int type,int protocol,const char * dev,int kmflag,int * errorp) sockparams_hold_ephemeral_bydev() argument 506 sockparams_hold_ephemeral_bymod(int family,int type,int protocol,const char * mod,int kmflag,int * errorp) sockparams_hold_ephemeral_bymod() argument 607 sockparams_delete(int family,int type,int protocol) sockparams_delete() argument 663 solookup(int family,int type,int protocol,struct sockparams ** spp) solookup() argument [all...] |
/titanic_51/usr/src/lib/libnsl/nis/gen/ |
H A D | nis_misc.c | 52 * at the endpoint 'family' field when selecting an endpoint to use for 68 ep->family = strdup(nc->nc_protofmly); in __nis_netconfig2ep() 70 if (strcmp(ep->family, "inet6") == 0) { in __nis_netconfig2ep() 83 if (strcmp(nc->nc_protofmly, ep->family) != 0) in __nis_netconfig_matches_ep() 86 if (strcmp(ep->family, "inet6") == 0) in __nis_netconfig_matches_ep()
|
/titanic_51/usr/src/cmd/fs.d/nfs/nfslog/ |
H A D | nfslog_ipaddr.c | 188 addhost(family, ipaddr, name) in addhost() argument 189 int family; in addhost() 196 switch (family) { 228 "nfslog: addhost ERROR: Unknown address family: %d", 229 family); 249 int family = ((struct sockaddr_in *)sockp)->sin_family; in addrtoname() local 251 switch (family) { in addrtoname() 260 "family: %d\n", family); in addrtoname()
|
/titanic_51/usr/src/lib/libbc/libc/sys/common/ |
H A D | socket.c | 36 socket(family, type, protocol) in socket() argument 37 register int family; in socket() 43 if ((a = _socket_bsd(family, map[type], protocol)) == -1) {
|
H A D | socketpair.c | 36 socketpair(family, type, protocol, sv) in socketpair() argument 37 register int family; in socketpair() 44 if ((ret = _socketpair_bsd(family, map[type], protocol,
|
/titanic_51/usr/src/cmd/cmd-inet/usr.bin/nc/ |
H A D | netcat.c | 100 int family = AF_UNSPEC; variable 153 family = AF_INET; in main() 156 family = AF_INET6; in main() 159 family = AF_UNIX; in main() 241 if (argv[0] && !argv[1] && family == AF_UNIX) { in main() 252 if (family == AF_UNIX) in main() 283 if (family != AF_UNIX) { in main() 285 hints.ai_family = family; in main() 299 if (family == AF_UNIX) in main() 302 if (family in main() [all...] |
/titanic_51/usr/src/uts/common/io/ |
H A D | neti_impl.c | 385 * hf(I) - family pointer 387 * Call hook_family_add to register family 398 * like add a notify function to the family but cause a panic because 428 * hf(I) - family pointer 430 * Call hook_family_remove to unregister family 477 * Call hook_event_add to register event on specific family 503 * Call hook_event_remove to unregister event on specific family 538 * Call hook_register to add hook on specific family/event 564 * Call hook_unregister to remove hook on specific family/event 631 net_event_notify_register(net_handle_t family, cha argument 646 net_event_notify_unregister(net_handle_t family,char * event,hook_notify_fn_t callback) net_event_notify_unregister() argument 658 net_protocol_notify_register(net_handle_t family,hook_notify_fn_t callback,void * arg) net_protocol_notify_register() argument 673 net_protocol_notify_unregister(net_handle_t family,hook_notify_fn_t callback) net_protocol_notify_unregister() argument [all...] |
/titanic_51/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | ncu_ip.c | 62 * sockaddr structure for the address family (sockaddr_in for AF_INET or 299 find_nonstatic_address(const nwamd_ncu_t *ncu, sa_family_t family) in find_nonstatic_address() argument 305 (family == AF_INET ? "IPv4" : "IPv6"), ncu->ncu_name); in find_nonstatic_address() 310 if (family == AF_INET) { in find_nonstatic_address() 314 } else if (family == AF_INET6) { in find_nonstatic_address() 349 nwamd_static_addresses_configured(nwamd_ncu_t *ncu, sa_family_t family) in nwamd_static_addresses_configured() argument 356 if ((family == AF_UNSPEC || family == n->family) && in nwamd_static_addresses_configured() 395 * the size of the sockaddr according to family in nwamd_dhcp_managing() 873 ushort_t family; nwamd_ncu_handle_if_state_event() local [all...] |
/titanic_51/usr/src/cmd/fs.d/nfs/lib/ |
H A D | selfcheck.c | 47 int family; in self_check() local 54 family = AF_INET6; in self_check() 63 if ((s = socket(family, SOCK_DGRAM, 0)) < 0) { in self_check() 68 if ((hostinfo = getipnodebyname(hostname, family, flags, in self_check()
|
/titanic_51/usr/src/lib/nsswitch/dns/common/ |
H A D | dns_common.c | 433 int flags, family, pass2 = 0; in _nss_dns_gethost_withttl() local 474 * are ignored if the family is not AF_INET6 in _nss_dns_gethost_withttl() 476 * family == AF_INET, flags | AI_ADDRCONFIG in _nss_dns_gethost_withttl() 478 * family == AF_INET, !(flags | AI_ADDRCONFIG) in _nss_dns_gethost_withttl() 480 * family == AF_INET6, flags == 0 || flags == AI_ALL in _nss_dns_gethost_withttl() 482 * family == AF_INET6, flags | AI_V4MAPPED in _nss_dns_gethost_withttl() 484 * family == AF_INET6, flags | AI_ADDRCONFIG in _nss_dns_gethost_withttl() 486 * family == AF_INET6, flags | AI_V4MAPPED && flags | AI_ALL in _nss_dns_gethost_withttl() 488 * family == AF_INET6, flags | AI_V4MAPPED && flags | AI_ADDRCONFIG in _nss_dns_gethost_withttl() 491 * family in _nss_dns_gethost_withttl() [all...] |