Lines Matching defs:interface
64 cout << "mcgrab -i interface -g multicast group -n number of groups\n";
85 // @param interface ///< text name of the interface (em0 etc.)
91 void grab(char *interface, struct in_addr *group, int number, int block) {
114 strncpy(ifreq.ifr_name, interface, IFNAMSIZ);
116 perror("no such interface");
135 perror("failed to bind interface");
153 // \param -i interface on which we're holding the address
162 char* interface = 0; ///< Name of the interface
179 interface = optarg;
193 grab(interface, group, number, block);