Home
last modified time | relevance | path

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

/external/libpcap/
Dpcap-null.c50 pcap_lookupnet(const char *device _U_, bpf_u_int32 *netp _U_, in pcap_lookupnet()
Dpcap-npf.c1959 pcap_lookupnet(const char *device, bpf_u_int32 *netp, bpf_u_int32 *maskp, in pcap_lookupnet() argument
1972 *netp = *maskp = 0; in pcap_lookupnet()
1981 *netp = t_addr->sin_addr.S_un.S_addr; in pcap_lookupnet()
1985 *netp &= *maskp; in pcap_lookupnet()
1991 *netp = *maskp = 0; in pcap_lookupnet()
Dpcap.c1321 pcap_lookupnet(const char *device, bpf_u_int32 *netp, bpf_u_int32 *maskp,
1354 *netp = *maskp = 0;
1382 *netp = sin4->sin_addr.s_addr;
1398 if (IN_CLASSA(*netp))
1400 else if (IN_CLASSB(*netp))
1402 else if (IN_CLASSC(*netp))
1406 "inet class for 0x%x unknown", *netp);
1410 *netp &= *maskp;