Home
last modified time | relevance | path

Searched refs:srchost (Results 1 – 2 of 2) sorted by relevance

/third_party/curl/lib/
Daltsvc.c93 static struct altsvc *altsvc_createid(const char *srchost, in altsvc_createid() argument
105 hlen = strlen(srchost); in altsvc_createid()
114 if((hlen > 2) && srchost[0] == '[') { in altsvc_createid()
116 srchost++; in altsvc_createid()
119 else if(srchost[hlen - 1] == '.') in altsvc_createid()
128 as->src.host = Curl_memdup0(srchost, hlen); in altsvc_createid()
147 static struct altsvc *altsvc_create(char *srchost, in altsvc_create() argument
158 return altsvc_createid(srchost, dsthost, srcalpnid, dstalpnid, in altsvc_create()
168 char srchost[MAX_ALTSVC_HOSTLEN + 1]; in altsvc_add() local
183 srcalpn, srchost, &srcport, in altsvc_add()
[all …]
Daltsvc.h69 enum alpnid srcalpn, const char *srchost,
72 enum alpnid srcalpnid, const char *srchost,