Searched refs:family (Results 1 - 25 of 137) 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/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/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.c209 addhost(int family, const void *ipaddr, const char *name, char **aliases) argument
219 switch (family) {
251 fprintf(stderr, "snoop: ERROR: Unknown address family: %d",
252 family);
260 if (family == AF_INET) {
274 } else if (family == AF_INET6) {
290 (void) fprintf(stderr, "addhost: unknown family %d\n",
291 family);
308 addrtoname(int family, const void *ipaddr) argument
310 switch (family) {
330 int family; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute.c82 int family; /* address family of the IP addresses */ member in struct:hostinfo
89 int family; /* AF_INET or AF_INET6 */ member in struct:pr_set
124 /* first get the gw names, later you'll resolve them based on the family */
129 static int family_input = AF_UNSPEC; /* User supplied protocol family */
307 "%s: unknown address family %s\n",
559 * We KNOW that probe_all == TRUE if family is AF_UNSPEC,
560 * since family is set to the specific AF found unless it's
561 * probe_all. So if family == AF_UNSPEC, we need to init pr4 and pr6.
612 Fprintf(stderr, "%s: unknow address family
671 resolve_nodes(int *family, struct addrinfo **ai_dstp) argument
729 get_hostinfo(char *host, int family, struct addrinfo **aipp) argument
1023 find_ifaddr(struct ifaddrlist *al, int len, union any_in_addr *addr, int family) argument
1104 get_gwaddrs(char **gwlist, int family, union any_in_addr *gwIPlist, union any_in_addr *gwIPlist6, int *resolved, int *resolved6) argument
1185 setup_protocol(struct pr_set *pr, int family) argument
1478 set_sin(struct sockaddr *sock, union any_in_addr *addr, int family) argument
1818 select_src_addr(union any_in_addr *dst_addr, union any_in_addr *src_addr, int family) argument
1969 inet_name(union any_in_addr *in, int family) argument
[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...]
/illumos-gate/usr/src/cmd/cmd-inet/common/
H A Dkcmd.h78 #define SET_SOCK_FAMILY(ss, family) (SOCK_FAMILY(ss) = (family))
/illumos-gate/usr/src/cmd/krb5/krb5kdc/
H A Dsock2p.c39 inet_ntop (int family, const void *address, char *buf, size_t bufsiz) argument
42 switch (family) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping.h72 * 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
H A Dping.c156 static int family_input = AF_UNSPEC; /* address family supplied by user */
308 "%s: unknown address family %s\n",
806 * Given an address family, dst and src addresses, by also looking at the
812 create_targetaddr_item(int family, union any_in_addr *dst_addr, argument
822 targetaddr->family = family;
938 * address family param makes them irrelevant.
941 get_gwaddrs(char **gw_list, int family, union any_in_addr *gwIPlist, argument
950 switch (family) {
975 get_hostinfo(gw_list[i], family,
1018 mirror_gws(union any_in_addr *gwIPlist, int family) argument
1042 get_hostinfo(char *host, int family, struct addrinfo **aipp) argument
1185 select_src_addr(union any_in_addr *dst_addr, int family, union any_in_addr *src_addr) argument
1265 set_nexthop(int family, struct addrinfo *ai_nexthop, int sock) argument
1312 setup_socket(int family, int *send_sockp, int *recv_sockp, int *if_index, ushort_t *udp_src_port, struct addrinfo *ai_nexthop) argument
2054 pinger(int send_sock, struct sockaddr *whereto, struct msghdr *msg6, int family) argument
2177 pr_name(char *addr, int family) argument
[all...]
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsockparams.c158 * 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, argument
210 sp->sp_family = family;
361 sockparams_find(list_t *list, int family, int type, int protocol, argument
367 if (sp->sp_family == family && sp->sp_type == type) {
387 * Returns an ephemeral sockparams entry of the requested family, type and
401 sockparams_hold_ephemeral(int family, int type, int protocol, argument
411 sp = sockparams_find(&sp_ephem_list, family, type, protocol,
435 newsp = sockparams_create(family, typ
498 sockparams_hold_ephemeral_bydev(int family, int type, int protocol, const char *dev, int kmflag, int *errorp) argument
506 sockparams_hold_ephemeral_bymod(int family, int type, int protocol, const char *mod, int kmflag, int *errorp) argument
607 sockparams_delete(int family, int type, int protocol) argument
663 solookup(int family, int type, int protocol, struct sockparams **spp) argument
[all...]
/illumos-gate/usr/src/uts/i86pc/os/
H A Dcpuid_subr.c71 * 0 for family 0xf, revs B thru E
72 * 1 for family 0xf, revs F and G
73 * 2 for family 0x10
74 * 3 for family 0x11
75 * 4 for family 0x12
76 * 5 for family 0x14
77 * 6 for family 0x15, models 00 - 0f
78 * 7 for family 0x15, models 10 - 1f
79 * 8 for family 0x15, models 30 - 3f
80 * 9 for family
553 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
638 _cpuid_skt(uint_t vendor, uint_t family, uint_t model, uint_t step) argument
656 _cpuid_sktstr(uint_t vendor, uint_t family, uint_t model, uint_t step) argument
684 _cpuid_chiprev(uint_t vendor, uint_t family, uint_t model, uint_t step) argument
702 _cpuid_chiprevstr(uint_t vendor, uint_t family, uint_t model, uint_t step) argument
[all...]

Completed in 90 milliseconds

123456