Home
last modified time | relevance | path

Searched refs:curdev (Results 1 – 3 of 3) sorted by relevance

/external/libpcap/
Dpcap.c846 pcap_if_t *curdev;
851 curdev = find_or_add_if(devlistp, name, if_flags, get_flags_func,
853 if (curdev == NULL) {
873 return (add_addr_to_dev(curdev, addr, addr_size, netmask,
884 add_addr_to_dev(pcap_if_t *curdev,
963 for (prevaddr = curdev->addresses; prevaddr != NULL; prevaddr = nextaddr) {
977 curdev->addresses = curaddr;
1002 pcap_if_t *curdev;
1007 curdev = find_dev(devlistp, name);
1008 if (curdev != NULL) {
[all …]
Dpcap-npf.c1381 pcap_if_t *curdev; in pcap_add_if_npf() local
1391 curdev = add_dev(devlistp, name, flags, description, errbuf); in pcap_add_if_npf()
1392 if (curdev == NULL) { in pcap_add_if_npf()
1423 res = add_addr_to_dev(curdev, in pcap_add_if_npf()
Dpcap-dos.c561 pcap_if_t *curdev; in pcap_platform_finddevs() local
586 if ((curdev = add_dev(devlistp, dev->name, 0, in pcap_platform_finddevs()
605 if (add_addr_to_dev(curdev, addr, sizeof(*addr), in pcap_platform_finddevs()