Home
last modified time | relevance | path

Searched refs:localnet (Results 1 – 8 of 8) sorted by relevance

/external/libpcap/tests/
Dcapturetest.c66 bpf_u_int32 localnet, netmask; in main() local
157 if (pcap_lookupnet(device, &localnet, &netmask, ebuf) < 0) { in main()
158 localnet = 0; in main()
Dselpolltest.c58 bpf_u_int32 localnet, netmask; in main() local
126 if (pcap_lookupnet(device, &localnet, &netmask, ebuf) < 0) { in main()
127 localnet = 0; in main()
/external/libpcap/
Dpcap-dos.c495 int pcap_lookupnet (const char *device, bpf_u_int32 *localnet, in pcap_lookupnet() argument
506 *localnet = my_ip_addr & *netmask; in pcap_lookupnet()
507 if (*localnet == 0) in pcap_lookupnet()
510 *localnet = IN_CLASSA_NET; in pcap_lookupnet()
512 *localnet = IN_CLASSB_NET; in pcap_lookupnet()
514 *localnet = IN_CLASSC_NET; in pcap_lookupnet()
/external/tcpdump/
Daddrtoname.c1140 init_addrtoname(netdissect_options *ndo, uint32_t localnet, uint32_t mask) in init_addrtoname() argument
1143 f_localnet = localnet; in init_addrtoname()
Dtcpdump.c1002 bpf_u_int32 localnet =0 , netmask = 0; in main() local
1767 if (pcap_lookupnet(device, &localnet, &netmask, ebuf) < 0) { in main()
1786 init_addrtoname(gndo, localnet, netmask); in main()
/external/dnsmasq/
Ddnsmasq.conf.example49 #server=/localnet/192.168.0.1
57 #local=/localnet/
DFAQ116 Any domain will do, but "localnet" is traditional. Now when you
118 "myhost.localnet" so you need to have dnsmasq reply to that name.
DCHANGELOG.archive401 like "local=/localnet/thekelleys.org.uk/" legal. Allow