Lines Matching refs:srchost
84 free(as->srchost); in altsvc_free()
89 static struct altsvc *altsvc_createid(const char *srchost, in altsvc_createid() argument
100 as->srchost = strdup(srchost); in altsvc_createid()
101 if(!as->srchost) in altsvc_createid()
118 static struct altsvc *altsvc_create(char *srchost, in altsvc_create() argument
129 return altsvc_createid(srchost, dsthost, srcalpnid, dstalpnid, in altsvc_create()
139 char srchost[MAX_ALTSVC_HOSTLEN + 1]; in altsvc_add() local
154 srcalpn, srchost, &srcport, in altsvc_add()
160 as = altsvc_create(srchost, dsthost, srcalpn, dstalpn, srcport, dstport); in altsvc_add()
229 Curl_alpnid2str(as->srcalpnid), as->srchost, as->srcport, in altsvc_out()
362 const char *srchost, unsigned short srcport) in altsvc_flush() argument
371 strcasecompare(srchost, as->srchost)) { in altsvc_flush()
404 enum alpnid srcalpnid, const char *srchost, in Curl_altsvc_parse() argument
424 altsvc_flush(asi, srcalpnid, srchost, srcport); in Curl_altsvc_parse()
488 dsthost = srchost; in Curl_altsvc_parse()
503 as = altsvc_createid(srchost, dsthost, in Curl_altsvc_parse()
538 enum alpnid srcalpnid, const char *srchost, in Curl_altsvc_lookup() argument
547 DEBUGASSERT(srchost); in Curl_altsvc_lookup()
559 strcasecompare(as->srchost, srchost) && in Curl_altsvc_lookup()