Searched refs:ifrdstaddr (Results 1 – 4 of 4) sorted by relevance
/dports/security/nmap/nmap-7.91/libpcap/ |
H A D | fad-gifc.c | 153 struct ifreq ifrflags, ifrnetmask, ifrbroadaddr, ifrdstaddr; in pcap_findalldevs_interfaces() local 353 strncpy(ifrdstaddr.ifr_name, ifrp->ifr_name, in pcap_findalldevs_interfaces() 354 sizeof(ifrdstaddr.ifr_name)); in pcap_findalldevs_interfaces() 355 memcpy(&ifrdstaddr.ifr_addr, &ifrp->ifr_addr, in pcap_findalldevs_interfaces() 356 sizeof(ifrdstaddr.ifr_addr)); in pcap_findalldevs_interfaces() 358 (char *)&ifrdstaddr) < 0) { in pcap_findalldevs_interfaces() 369 (int)sizeof(ifrdstaddr.ifr_name), in pcap_findalldevs_interfaces() 370 ifrdstaddr.ifr_name); in pcap_findalldevs_interfaces() 375 dstaddr = &ifrdstaddr.ifr_dstaddr; in pcap_findalldevs_interfaces()
|
H A D | fad-glifc.c | 90 struct lifreq ifrflags, ifrnetmask, ifrbroadaddr, ifrdstaddr; in pcap_findalldevs_interfaces() local 274 strncpy(ifrdstaddr.lifr_name, ifrp->lifr_name, in pcap_findalldevs_interfaces() 275 sizeof(ifrdstaddr.lifr_name)); in pcap_findalldevs_interfaces() 276 memcpy(&ifrdstaddr.lifr_addr, &ifrp->lifr_addr, in pcap_findalldevs_interfaces() 277 sizeof(ifrdstaddr.lifr_addr)); in pcap_findalldevs_interfaces() 279 (char *)&ifrdstaddr) < 0) { in pcap_findalldevs_interfaces() 289 (int)sizeof(ifrdstaddr.lifr_name), in pcap_findalldevs_interfaces() 290 ifrdstaddr.lifr_name); in pcap_findalldevs_interfaces() 295 dstaddr = (struct sockaddr *)&ifrdstaddr.lifr_dstaddr; in pcap_findalldevs_interfaces()
|
/dports/net/libpcap/libpcap-1.10.1/ |
H A D | fad-gifc.c | 147 struct ifreq ifrflags, ifrnetmask, ifrbroadaddr, ifrdstaddr; in pcap_findalldevs_interfaces() local 347 strncpy(ifrdstaddr.ifr_name, ifrp->ifr_name, in pcap_findalldevs_interfaces() 348 sizeof(ifrdstaddr.ifr_name)); in pcap_findalldevs_interfaces() 349 memcpy(&ifrdstaddr.ifr_addr, &ifrp->ifr_addr, in pcap_findalldevs_interfaces() 350 sizeof(ifrdstaddr.ifr_addr)); in pcap_findalldevs_interfaces() 352 (char *)&ifrdstaddr) < 0) { in pcap_findalldevs_interfaces() 363 (int)sizeof(ifrdstaddr.ifr_name), in pcap_findalldevs_interfaces() 364 ifrdstaddr.ifr_name); in pcap_findalldevs_interfaces() 369 dstaddr = &ifrdstaddr.ifr_dstaddr; in pcap_findalldevs_interfaces()
|
H A D | fad-glifc.c | 89 struct lifreq ifrflags, ifrnetmask, ifrbroadaddr, ifrdstaddr; in pcap_findalldevs_interfaces() local 273 strncpy(ifrdstaddr.lifr_name, ifrp->lifr_name, in pcap_findalldevs_interfaces() 274 sizeof(ifrdstaddr.lifr_name)); in pcap_findalldevs_interfaces() 275 memcpy(&ifrdstaddr.lifr_addr, &ifrp->lifr_addr, in pcap_findalldevs_interfaces() 276 sizeof(ifrdstaddr.lifr_addr)); in pcap_findalldevs_interfaces() 278 (char *)&ifrdstaddr) < 0) { in pcap_findalldevs_interfaces() 288 (int)sizeof(ifrdstaddr.lifr_name), in pcap_findalldevs_interfaces() 289 ifrdstaddr.lifr_name); in pcap_findalldevs_interfaces() 294 dstaddr = (struct sockaddr *)&ifrdstaddr.lifr_dstaddr; in pcap_findalldevs_interfaces()
|