Home
last modified time | relevance | path

Searched refs:ETH_HLEN (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Connectivity/bpf_progs/
Doffload.c79 #define ETH_IP4_OFFSET(field) (ETH_HLEN + IP4_OFFSET(field))
80 #define ETH_IP4_TCP_OFFSET(field) (ETH_HLEN + IP4_TCP_OFFSET(field))
81 #define ETH_IP4_UDP_OFFSET(field) (ETH_HLEN + IP4_UDP_OFFSET(field))
82 #define ETH_IP6_OFFSET(field) (ETH_HLEN + IP6_OFFSET(field))
83 #define ETH_IP6_TCP_OFFSET(field) (ETH_HLEN + IP6_TCP_OFFSET(field))
84 #define ETH_IP6_UDP_OFFSET(field) (ETH_HLEN + IP6_UDP_OFFSET(field))
Doffload@mainline.c79 #define ETH_IP4_OFFSET(field) (ETH_HLEN + IP4_OFFSET(field))
80 #define ETH_IP4_TCP_OFFSET(field) (ETH_HLEN + IP4_TCP_OFFSET(field))
81 #define ETH_IP4_UDP_OFFSET(field) (ETH_HLEN + IP4_UDP_OFFSET(field))
82 #define ETH_IP6_OFFSET(field) (ETH_HLEN + IP6_OFFSET(field))
83 #define ETH_IP6_TCP_OFFSET(field) (ETH_HLEN + IP6_TCP_OFFSET(field))
84 #define ETH_IP6_UDP_OFFSET(field) (ETH_HLEN + IP6_UDP_OFFSET(field))
/packages/modules/NetworkStack/tests/unit/src/android/net/apf/
DApfNewTest.kt96 const val ETH_HLEN = 14 constant
1499 ETH_HLEN, // ipOfs, in testTransmitL4()
1500 ETH_HLEN + IPV4_HLEN + 6, // csumOfs in testTransmitL4()
1501 ETH_HLEN + IPV4_HLEN - 8, // csumStart in testTransmitL4()