Home
last modified time | relevance | path

Searched refs:SOCK_DGRAM (Results 1 – 25 of 139) sorted by relevance

123456

/titanic_41/usr/src/lib/libsocket/inet/
H A Dinterface_id.c78 s = socket(AF_INET, SOCK_DGRAM, 0); in if_nametoindex()
88 s = socket(AF_INET6, SOCK_DGRAM, 0); in if_nametoindex()
130 s = socket(AF_INET6, SOCK_DGRAM, 0); in if_indextoname()
132 s = socket(AF_INET, SOCK_DGRAM, 0); in if_indextoname()
234 s = socket(AF_INET6, SOCK_DGRAM, 0); in if_nameindex()
236 s = socket(AF_INET, SOCK_DGRAM, 0); in if_nameindex()
H A Dgetifaddrs.c105 if ((sock4 = socket(AF_INET, SOCK_DGRAM, 0)) < 0) in getallifaddrs()
107 if ((sock6 = socket(AF_INET6, SOCK_DGRAM, 0)) < 0) { in getallifaddrs()
H A Dgetaddrinfo.c261 aip->ai_socktype = SOCK_DGRAM; in _getaddrinfo()
283 case SOCK_DGRAM: in _getaddrinfo()
315 case SOCK_DGRAM: in _getaddrinfo()
421 aip->ai_socktype = SOCK_DGRAM; in _getaddrinfo()
H A Dbindresvport.c84 } else if (optval == SOCK_DGRAM) { in bindresvport()
/titanic_41/usr/src/cmd/fs.d/nfs/lib/
H A Dselfcheck.c63 if ((s = socket(family, SOCK_DGRAM, 0)) < 0) { in self_check()
123 if ((sock = socket(AF_INET6, SOCK_DGRAM, 0)) < 0) { in getmyaddrs()
179 sock = socket(AF_INET6, SOCK_DGRAM, 0); in Is_ipv6present()
/titanic_41/usr/src/ucblib/librpcsoc/
H A Drtime.c92 type = SOCK_DGRAM;
100 if (type == SOCK_DGRAM) {
H A Dget_myaddress.c59 if ((s = socket(AF_INET, SOCK_DGRAM, 0)) < 0) { in get_myaddress()
/titanic_41/usr/src/lib/libinetutil/common/
H A Difaddrlistx.c62 if ((s4 = socket(AF_INET, SOCK_DGRAM, 0)) == -1 || in ifaddrlistx()
63 (s6 = socket(AF_INET6, SOCK_DGRAM, 0)) == -1) { in ifaddrlistx()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/
H A Darp.c281 s = socket(AF_INET, SOCK_DGRAM, 0); in set()
321 s = socket(AF_INET, SOCK_DGRAM, 0); in get()
387 s = socket(AF_INET, SOCK_DGRAM, 0); in delete()
H A Dhostconfig.c222 if ((s = socket(AF_INET, SOCK_DGRAM, 0)) < 0) {
302 if ((s = socket(AF_INET, SOCK_DGRAM, 0)) < 0) {
464 if ((s = socket(AF_INET, SOCK_DGRAM, 0)) < 0) {
H A Dif_mpadm.c111 sioc4fd = socket(AF_INET, SOCK_DGRAM, 0); in main()
112 sioc6fd = socket(AF_INET6, SOCK_DGRAM, 0); in main()
/titanic_41/usr/src/cmd/cmd-inet/sbin/netstrategy/
H A Dnetstrategy.c86 if ((s4 = socket(AF_INET, SOCK_DGRAM, 0)) == -1) { in open_sockets()
91 if ((s6 = socket(AF_INET6, SOCK_DGRAM, 0)) == -1) { in open_sockets()
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dlocate_kdc.c300 socktype = SOCK_DGRAM; in krb5int_add_host_to_list()
301 else if (socktype != SOCK_DGRAM) in krb5int_add_host_to_list()
346 if (socktype != SOCK_STREAM && socktype != SOCK_DGRAM) in module_callback()
545 if (socktype == SOCK_DGRAM || socktype == 0) { in dns_locate_server()
600 SOCK_DGRAM, family); in dns_hostnames2netaddrs()
775 SOCK_DGRAM, family); in prof_hostnames2netaddrs()
H A Dforeachaddr.c86 #define USE_TYPE SOCK_DGRAM
95 #define USE_TYPE SOCK_DGRAM
/titanic_41/usr/src/cmd/lms/tools/
H A DATNetworkTool.cpp128 sock = socket(AF_INET, SOCK_DGRAM, 0); in GetLocalIPs()
339 if (socktype != SOCK_DGRAM) { in CreateSocket()
591 if (socktype != SOCK_DGRAM) { in Connect()
660 if (socktype != SOCK_DGRAM) { in ConnectLoopback()
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/talk/
H A Dctl.c102 ctl_sockt = socket(AF_INET, SOCK_DGRAM, 0); in open_ctl()
/titanic_41/usr/src/lib/libbc/inc/include/sys/
H A Dsocket.h25 #define SOCK_DGRAM 2 /* datagram socket */ macro
/titanic_41/usr/src/lib/libuuid/common/
H A Detheraddr.c75 s = socket(AF_INET, SOCK_DGRAM, 0); in arp_get()
/titanic_41/usr/src/lib/libresolv2/common/irs/
H A Dgetaddrinfo.c163 { PF_INET6, SOCK_DGRAM, IPPROTO_UDP, "udp", 0x07 },
166 { PF_INET, SOCK_DGRAM, IPPROTO_UDP, "udp", 0x07 },
1008 case SOCK_DGRAM: in get_port()
1038 case SOCK_DGRAM: in get_port()
1098 s = socket(af, SOCK_DGRAM, 0);
/titanic_41/usr/src/uts/common/sys/
H A Dsocket.h99 #define SOCK_DGRAM NC_TPI_CLTS /* datagram socket */ macro
103 #define SOCK_DGRAM 1 /* datagram socket */ macro
/titanic_41/usr/src/lib/krb5/kadm5/clnt/
H A Dchangepw.c161 if ((s1 = socket(AF_INET, SOCK_DGRAM, 0)) == INVALID_SOCKET)
167 if ((s2 = socket(AF_INET, SOCK_DGRAM, 0)) == INVALID_SOCKET)
/titanic_41/usr/src/uts/common/io/ib/clients/rds/
H A Drds_opt.c58 *i1 = SOCK_DGRAM; in rds_opt_get()
/titanic_41/usr/src/cmd/svr4pkg/libinst/
H A Dis_local_host.c85 if ((s = socket(hp->h_addrtype, SOCK_DGRAM, 0)) == -1) { in is_local_if()
/titanic_41/usr/src/cmd/hal/addons/network-devices/
H A Dcommon.c140 sd = socket(AF_INET, SOCK_DGRAM, 0); in pseudo_serialno_from_addr()
315 if ((s = socket(AF_INET, SOCK_DGRAM, 0)) < 0) in broadcast_addresses()
/titanic_41/usr/src/cmd/lms/
H A DProtocolCompat.cpp65 type = SOCK_DGRAM; in _LmeReceiveCompat()

123456