Lines Matching refs:sotype
81 /* Table for af,sotype -> netid conversions. */
85 int sotype;
139 static const char *netidbytype(int af, int sotype);
684 int doconnect, nfsvers, mntvers, sotype;
688 sotype = 0;
694 sotype = SOCK_STREAM;
696 sotype = SOCK_DGRAM;
698 if ((netid = netidbytype(ai->ai_family, sotype)) == NULL) {
700 "af %d sotype %d not supported", ai->ai_family, sotype);
715 "af %d sotype SOCK_DGRAM not supported",
771 if (sotype == SOCK_DGRAM && noconn == 0) {
930 * `af' is the address family, and `sotype' is SOCK_DGRAM or SOCK_STREAM.
935 netidbytype(int af, int sotype)
940 if (af != p->af || sotype != p->sotype)