Home
last modified time | relevance | path

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

/external/android-clat/
Ddump.c41 u_int16_t frag_flags; in dump_ip() local
44 frag_flags = ntohs(header->frag_off); in dump_ip()
53 if(frag_flags & IP_RF) { in dump_ip()
56 if(frag_flags & IP_DF) { in dump_ip()
59 if(frag_flags & IP_MF) { in dump_ip()
62 printf("offset = %x\n",frag_flags & IP_OFFMASK); in dump_ip()
Dtranslate.c180 uint16_t frag_flags = ntohs(old_header->frag_off); in maybe_fill_frag_header() local
181 uint16_t frag_off = frag_flags & IP_OFFMASK; in maybe_fill_frag_header()
182 if (frag_off == 0 && (frag_flags & IP_MF) == 0) { in maybe_fill_frag_header()
191 if (frag_flags & IP_MF) { in maybe_fill_frag_header()