Searched refs:offset (Results 1 – 2 of 2) sorted by relevance
| /inet/ |
| A D | inet6_opt.c | 115 offset += npad; in inet6_opt_append() 126 offset += npad; in inet6_opt_append() 157 return offset + npad; in inet6_opt_finish() 189 if (offset == 0) in inet6_opt_next() 200 ++offset; in inet6_opt_next() 207 if (offset > extlen) in inet6_opt_next() 213 return offset; in inet6_opt_next() 231 if (offset == 0) in inet6_opt_find() 243 ++offset; in inet6_opt_find() 248 return offset; in inet6_opt_find() [all …]
|
| A D | test-inet6_opt.c | 18 int offset; in encode_inet6_opt() local 63 inet6_opt_set_val (db, offset, &val8, sizeof (val8)); in encode_inet6_opt() 70 offset = inet6_opt_set_val (db, offset, &val2, sizeof (val2)); in encode_inet6_opt() 72 inet6_opt_set_val (db, offset, &val4, sizeof (val4)); in encode_inet6_opt() 97 int offset; in decode_inet6_opt() local 127 offset = inet6_opt_get_val (db, offset, &val8, sizeof (val8)); in decode_inet6_opt() 128 if (offset != len || val8 != 0x0102030405060708LL) in decode_inet6_opt() 152 offset = inet6_opt_get_val (db, offset, &val2, sizeof (val2)); in decode_inet6_opt() 158 offset = inet6_opt_get_val (db, offset, &val4, sizeof (val4)); in decode_inet6_opt() 159 if (offset != len || val4 != 0x01020304) in decode_inet6_opt() [all …]
|
Completed in 10 milliseconds