Lines Matching defs:srcport
3708 const char *srcport, *dstport;
3721 srcport = strchr(src, ':');
3722 if (srcport == NULL || srcport != strrchr(src, ':')) {
3725 srcport = NULL;
3727 len = srcport - src;
3734 srcport++;
3753 if ((ecode = getaddrinfo(srcaddr, srcport, &hints, &srcres)) != 0)
3781 const char *srcport;
3794 srcport = strchr(src, ':');
3795 if (srcport == NULL || srcport != strrchr(src, ':')) {
3798 srcport = NULL;
3800 len = srcport - src;
3807 srcport++;
3810 rv = getaddrinfo(srcaddr, srcport, &hints, &srcres);