Home
last modified time | relevance | path

Searched refs:ETH_P_IP (Results 1 – 5 of 5) sorted by relevance

/system/core/libnetutils/
Dpacket.c48 if((s = socket(PF_PACKET, SOCK_DGRAM, htons(ETH_P_IP))) < 0) { in open_raw_socket()
54 bindaddr.sll_protocol = htons(ETH_P_IP); in open_raw_socket()
142 destaddr.sll_protocol = htons(ETH_P_IP); in send_packet()
/system/extras/tests/net_test/
Dnet_test.py41 ETH_P_IP = 0x0800 variable
Dping6_test.py182 elif ether.type == net_test.ETH_P_IP:
Dmultinetwork_test.py154 ethertype = {4: net_test.ETH_P_IP, 6: net_test.ETH_P_IPV6}[inner_version]
/system/bt/btif/src/
Dbtif_pan.c597 if (proto == ETH_P_IP || proto == ETH_P_ARP || proto == ETH_P_IPV6) in should_forward()