Lines Matching refs:netp
881 pcap_lookupnet(device, netp, maskp, errbuf) in pcap_lookupnet() argument
883 register bpf_u_int32 *netp, *maskp;
912 *netp = *maskp = 0;
941 *netp = sin4->sin_addr.s_addr;
957 if (IN_CLASSA(*netp))
959 else if (IN_CLASSB(*netp))
961 else if (IN_CLASSC(*netp))
965 "inet class for 0x%x unknown", *netp);
969 *netp &= *maskp;
1063 pcap_lookupnet(device, netp, maskp, errbuf) in pcap_lookupnet() argument
1065 register bpf_u_int32 *netp, *maskp;
1078 *netp = *maskp = 0;
1087 *netp = t_addr->sin_addr.S_un.S_addr;
1091 *netp &= *maskp;
1097 *netp = *maskp = 0;