Home
last modified time | relevance | path

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

/external/libpcap/
Dpcap-linux.c2710 static void map_arphrd_to_dlt(pcap_t *handle, int sock_fd, int arptype, argument
2715 switch (arptype) {
3145 int sock_fd = -1, arptype; local
3253 arptype = iface_get_arptype(sock_fd, device, handle->errbuf);
3254 if (arptype < 0) {
3256 return arptype;
3258 map_arphrd_to_dlt(handle, sock_fd, arptype, device, 1);
3324 arptype);
6044 int arptype; local
6089 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()