Lines Matching refs:arptype
2470 static void map_arphrd_to_dlt(pcap_t *handle, int arptype, int cooked_ok)
2472 switch (arptype) {
2791 int sock_fd = -1, arptype;
2895 arptype = iface_get_arptype(sock_fd, device, handle->errbuf);
2896 if (arptype < 0) {
2898 return arptype;
2900 map_arphrd_to_dlt(handle, arptype, 1);
2961 "arptype %d not "
2965 arptype);
4958 int arptype;
5003 arptype = iface_get_arptype(handle->fd, device, handle->errbuf);
5004 if (arptype < 0)
5011 map_arphrd_to_dlt(handle, arptype, 0);
5014 "unknown arptype %d", arptype);