Home | History | Annotate | Download | only in libpcap

Lines Matching refs:maskp

1321 pcap_lookupnet(const char *device, bpf_u_int32 *netp, bpf_u_int32 *maskp,
1354 *netp = *maskp = 0;
1396 *maskp = sin4->sin_addr.s_addr;
1397 if (*maskp == 0) {
1399 *maskp = IN_CLASSA_NET;
1401 *maskp = IN_CLASSB_NET;
1403 *maskp = IN_CLASSC_NET;
1410 *netp &= *maskp;