Searched refs:family (Results 1 - 25 of 144) sorted by relevance

123456

/illumos-gate/usr/src/lib/libsocket/socket/
H A Dsocket.c56 _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 Dsocketpair.c59 _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...]
H A D_soutil.c50 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...]
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A Dsocket.c36 socket(family, type, protocol)
37 register int family;
43 if ((a = _socket_bsd(family, map[type], protocol)) == -1) {
H A Dsocketpair.c36 socketpair(family, type, protocol, sv)
37 register int family;
44 if ((ret = _socketpair_bsd(family, map[type], protocol,
/illumos-gate/usr/src/cmd/sendmail/libmilter/
H A Dsm_gethost.c48 getipnodebyname(name, family, flags, err)
50 int family;
57 if (family == AF_INET6)
65 if (family == AF_INET6 && !resv6)
85 mi_gethostbyname(name, family)
87 int family;
112 h = getipnodebyname(name, family, flags, &err);
129 ** family -- address family
140 mi_inet_pton(family, sr
[all...]
/illumos-gate/usr/src/lib/libnsl/nis/gen/
H A Dnis_misc.c52 * at the endpoint 'family' field when selecting an endpoint to use for
68 ep->family = strdup(nc->nc_protofmly);
70 if (strcmp(ep->family, "inet6") == 0) {
83 if (strcmp(nc->nc_protofmly, ep->family) != 0)
86 if (strcmp(ep->family, "inet6") == 0)
/illumos-gate/usr/src/uts/common/rpcsvc/
H A Dnsm_addr.x41 unsigned int family; /* address families from socket.h */
56 unsigned int family; /* address families from socket.h */
/illumos-gate/usr/src/cmd/lms/tools/
H A DATNetworkTool.h163 sa_family_t family() const { return ip.ss_family; }; function in class:ATAddress
209 if (this->family() != y.family()) {
210 return (this->family() - y.family());
256 if (this->family() != y.family()) {
267 if (this->family() != y.family()) {
273 static bool IsAddressIP(const char *address, int family
[all...]
H A DATNetworkTool.cpp113 int ATNetworkTool::GetLocalIPs(ATAddressList &addresses, int &error, int family, bool withloopback) argument
181 if (AF_UNSPEC != family) {
182 if (ATNetworkTool::AF_XINETX == family) {
187 if (ifa->ifa_addr->sa_family != family) {
202 int ATNetworkTool::GetLocalNetDomains(ATDomainMap &domains, int &error, int family) argument
207 if (0 != (ret = ATNetworkTool::GetLocalIPs(addresses, error, family))) {
245 int family, bool zeroport)
269 if (ATNetworkTool::AF_XINETX == family) {
272 hints.ai_family = family;
280 if (ATNetworkTool::AF_XINETX == family) {
244 GetSockPeerIPs(int sock, ATAddressList &addresses, int &error, int family, bool zeroport) argument
295 IsSockPeerLocal(int sock, int &error, int family) argument
329 CreateSocket(const struct sockaddr *addr, socklen_t addrlen, int &error, int family, int socktype, int protocol) argument
369 ConnectSocket(const struct sockaddr *addr, socklen_t addrlen, int &error, bool loopback, int family, int socktype, int protocol) argument
418 CreateServerSocket(in_port_t port, int &error, bool loopback, bool nonblocking, int family, int socktype, int protocol, int backlog) argument
434 CreateServerSocket(const char *port, int &error, bool loopback, bool nonblocking, int family, int socktype, int protocol, int backlog) argument
456 CreateServerSockets(ATSocketList &sockets, in_port_t port, int &error, bool loopback, bool nonblocking, int family, int socktype, int protocol, int backlog, bool one) argument
472 CreateServerSockets(ATSocketList &sockets, const char *port, int &error, bool loopback, bool nonblocking, int family, int socktype, int protocol, int backlog, bool one) argument
572 Connect(const char *host, in_port_t port, int &error, int family, int socktype, int protocol) argument
584 Connect(const char *host, const char *port, int &error, int family, int socktype, int protocol) argument
641 ConnectLoopback(in_port_t port, int &error, int family, int socktype, int protocol) argument
653 ConnectLoopback(const char *port, int &error, int family, int socktype, int protocol) argument
[all...]
/illumos-gate/usr/src/uts/common/smbsrv/
H A Dsmb_inet.h60 #define SMB_IPSTRLEN(family) \
61 ((family == AF_INET) ? INET_ADDRSTRLEN : INET6_ADDRSTRLEN)
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/include/
H A Dlocate_plugin.h56 int socktype, int family,
/illumos-gate/usr/src/lib/libinetutil/common/
H A Difaddrlist.c54 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/uts/common/inet/sockmods/
H A Dsockmod_sdp.c74 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 Dsockmod_sctp.c119 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/common/io/ib/mgt/ibcm/
H A Dibcm_arp_link.c82 wqnp->ifproto = (dst_addr->family == AF_INET) ?
129 if (dst_addr->family == AF_INET) {
165 wqnp->src_addr.family = wqnp->gateway.family =
166 wqnp->netmask.family = AF_INET;
168 } else if (dst_addr->family == AF_INET6) {
205 wqnp->src_addr.family = wqnp->gateway.family =
206 wqnp->netmask.family = AF_INET6;
216 if (wqnp->src_addr.family
[all...]
/illumos-gate/usr/src/cmd/fm/modules/common/fdd-msg/
H A Dfdd_msg.c65 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/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ipaddr.c184 addhost(int family, const void *ipaddr, const char *name, char **aliases) argument
194 switch (family) {
226 fprintf(stderr, "snoop: ERROR: Unknown address family: %d",
227 family);
235 if (family == AF_INET) {
249 } else if (family == AF_INET6) {
265 (void) fprintf(stderr, "addhost: unknown family %d\n",
266 family);
283 addrtoname(int family, const void *ipaddr) argument
285 switch (family) {
306 int family; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute.c79 int family; /* address family of the IP addresses */ member in struct:hostinfo
86 int family; /* AF_INET or AF_INET6 */ member in struct:pr_set
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",
535 * We KNOW that probe_all == TRUE if family is AF_UNSPEC,
536 * since family is set to the specific AF found unless it's
537 * probe_all. So if family == AF_UNSPEC, we need to init pr4 and pr6.
588 Fprintf(stderr, "%s: unknow address family
647 resolve_nodes(int *family, struct addrinfo **ai_dstp) argument
705 get_hostinfo(char *host, int family, struct addrinfo **aipp) argument
999 find_ifaddr(struct ifaddrlist *al, int len, union any_in_addr *addr, int family) argument
1080 get_gwaddrs(char **gwlist, int family, union any_in_addr *gwIPlist, union any_in_addr *gwIPlist6, int *resolved, int *resolved6) argument
1161 setup_protocol(struct pr_set *pr, int family) argument
1454 set_sin(struct sockaddr *sock, union any_in_addr *addr, int family) argument
1794 select_src_addr(union any_in_addr *dst_addr, union any_in_addr *src_addr, int family) argument
1945 inet_name(union any_in_addr *in, int family) argument
[all...]
/illumos-gate/usr/src/uts/i86pc/os/
H A Dcpuid_subr.c70 * 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) argument
441 _cpuid_skt(uint_t vendor, uint_t family, uint_t model, uint_t step) argument
459 _cpuid_sktstr(uint_t vendor, uint_t family, uint_t model, uint_t step) argument
487 _cpuid_chiprev(uint_t vendor, uint_t family, uint_t model, uint_t step) argument
505 _cpuid_chiprevstr(uint_t vendor, uint_t family, uint_t model, uint_t step) argument
[all...]
/illumos-gate/usr/src/uts/common/io/lvm/md/
H A Dmd_rename.c178 * (md_rendelta_t *family) and the rename transaction state
505 free_dtree(md_rendelta_t *family) argument
511 for (r = family; (NULL != r); r = next, i++) {
524 * walk down family tree, calling lock service function
527 lock_dtree(md_rendelta_t *family, md_rentxn_t *rtxnp) argument
532 ASSERT(family);
535 if (!family || !rtxnp) {
539 for (rc = 0, r = family; r; r = r->next) {
564 check_dtree(md_rendelta_t *family, md_rentxn_t *rtxnp) argument
569 ASSERT(family);
650 role_swap_dtree(md_rendelta_t *family, md_rentxn_t *rtxnp) argument
696 unlock_dtree(md_rendelta_t *family, md_rentxn_t *rtxnp) argument
1112 valid_roleswap_dtree( md_rendelta_t *family, md_rentxn_t *rtxnp ) argument
1230 dump_dtree(md_rendelta_t *family) argument
1485 list_relations( md_rendelta_t **family, md_rentxn_t *rtxnp, md_ren_list_svc_t *add_relatives_funcp, int valid_min, int valid_max ) argument
1532 alloc_recids(md_rendelta_t *family, md_rentxn_t *rtxnp) argument
1580 md_rendelta_t *family = NULL; local
1665 md_rendelta_t *family = NULL; local
[all...]
/illumos-gate/usr/src/uts/i86pc/os/cpupm/
H A Dcpupm_intel.c90 uint_t family; local
96 family = cpuid_getfamily(cp);
106 if (speedstep_supported(family, model)) {
/illumos-gate/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_krb5lookup.c56 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 Dselfcheck.c47 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/rpc/
H A Dclnt_gen.c87 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...]

Completed in 103 milliseconds

123456