Lines Matching defs:source
36 -s IP address to use as the source address
39 -g Loose source route gateway (8 max) (supports IPV4 only)
547 optlist[1] = IPOPT_LSRR;// loose source route option
582 struct sockaddr_in source;
584 memset(&source, 0, sizeof(source));
585 if (!inet_aton(TT.src_ip, &(source.sin_addr)))
588 (struct sockaddr*)&source, sizeof(struct sockaddr_in)))
589 perror_exit("can't set multicast source interface");
590 if (bind(TT.snd_sock,(struct sockaddr*)&source,
604 struct sockaddr_in6 source;
606 memset(&source, 0, sizeof(source));
607 if(inet_pton(AF_INET6, TT.src_ip, &(source.sin6_addr)) <= 0)
610 if (bind(TT.snd_sock,(struct sockaddr*)&source,