Home
last modified time | relevance | path

Searched refs:arptype (Results 1 – 2 of 2) sorted by relevance

/external/libpcap/
Dpcap-linux.c2609 static void map_arphrd_to_dlt(pcap_t *handle, int arptype, int cooked_ok) argument
2611 switch (arptype) {
3001 int sock_fd = -1, arptype; local
3105 arptype = iface_get_arptype(sock_fd, device, handle->errbuf);
3106 if (arptype < 0) {
3108 return arptype;
3110 map_arphrd_to_dlt(handle, arptype, 1);
3175 arptype);
5556 int arptype; local
5601 arptype = iface_get_arptype(handle->fd, device, handle->errbuf);
[all …]
/external/libnl/lib/route/
Dlink.c730 __ADD(LINK_ATTR_ARPTYPE, arptype)
1256 void rtnl_link_set_arptype(struct rtnl_link *link, unsigned int arptype) in rtnl_link_set_arptype() argument
1258 link->l_arptype = arptype; in rtnl_link_set_arptype()