Home
last modified time | relevance | path

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

/external/libpcap/
Dpcap-linux.c1513 unsigned int arptype; in get_if_flags() local
1561 if (fscanf(fh, "%u", &arptype) == 1) { in get_if_flags()
1565 switch (arptype) { in get_if_flags()
1767 static void map_arphrd_to_dlt(pcap_t *handle, int arptype, in map_arphrd_to_dlt() argument
1772 switch (arptype) { in map_arphrd_to_dlt()
2270 int sock_fd, arptype; in activate_pf_packet() local
2372 arptype = iface_get_arptype(sock_fd, device, handle->errbuf); in activate_pf_packet()
2373 if (arptype < 0) { in activate_pf_packet()
2375 return arptype; in activate_pf_packet()
2377 map_arphrd_to_dlt(handle, arptype, device, 1); in activate_pf_packet()
[all …]
/external/libnl/python/netlink/route/
Dlink.py311 def arptype(self): member in Link
316 @arptype.setter
317 def arptype(self, value): member in Link
/external/libnl/lib/route/
Dlink.c1176 __ADD(LINK_ATTR_ARPTYPE, arptype),
2157 void rtnl_link_set_arptype(struct rtnl_link *link, unsigned int arptype) in rtnl_link_set_arptype() argument
2159 link->l_arptype = arptype; in rtnl_link_set_arptype()
/external/libnl/doc/
Droute.txt566 void rtnl_link_set_arptype(struct rtnl_link *link, unsigned int arptype);
576 char *nl_llproto2str(int arptype, char *buf, size_t len);