HomeSort by relevance Sort by last modified time
    Searched refs:ETH_HEADER_LEN (Results 1 - 2 of 2) sorted by null

  /frameworks/base/services/net/java/android/net/apf/
ApfFilter.java 171 private static final int ETH_HEADER_LEN = 14;
176 // TODO: Make these offsets relative to end of link-layer header; don't include ETH_HEADER_LEN.
177 private static final int IPV4_FRAGMENT_OFFSET_OFFSET = ETH_HEADER_LEN + 6;
181 private static final int IPV4_PROTOCOL_OFFSET = ETH_HEADER_LEN + 9;
182 private static final int IPV4_DEST_ADDR_OFFSET = ETH_HEADER_LEN + 16;
185 private static final int IPV6_NEXT_HEADER_OFFSET = ETH_HEADER_LEN + 6;
186 private static final int IPV6_SRC_ADDR_OFFSET = ETH_HEADER_LEN + 8;
187 private static final int IPV6_DEST_ADDR_OFFSET = ETH_HEADER_LEN + 24;
193 private static final int ICMP6_TYPE_OFFSET = ETH_HEADER_LEN + IPV6_HEADER_LEN;
198 private static final int UDP_DESTINATION_PORT_OFFSET = ETH_HEADER_LEN + 2
    [all...]
  /frameworks/base/services/tests/servicestests/src/android/net/apf/
ApfTest.java 620 private static final int ETH_HEADER_LEN = 14;
626 private static final int IPV4_VERSION_IHL_OFFSET = ETH_HEADER_LEN + 0;
627 private static final int IPV4_PROTOCOL_OFFSET = ETH_HEADER_LEN + 9;
628 private static final int IPV4_DEST_ADDR_OFFSET = ETH_HEADER_LEN + 16;
630 private static final int IPV6_NEXT_HEADER_OFFSET = ETH_HEADER_LEN + 6;
632 private static final int IPV6_DEST_ADDR_OFFSET = ETH_HEADER_LEN + 24;
637 private static final int ICMP6_TYPE_OFFSET = ETH_HEADER_LEN + IPV6_HEADER_LEN;
643 ETH_HEADER_LEN + IPV6_HEADER_LEN + 6;
645 ETH_HEADER_LEN + IPV6_HEADER_LEN + 2;
647 ETH_HEADER_LEN + IPV6_HEADER_LEN + ICMP6_RA_HEADER_LEN
    [all...]

Completed in 168 milliseconds