Lines Matching refs:offset
18 int offset; in encode_inet6_opt() local
61 offset = inet6_opt_set_val (db, 0, &val4, sizeof (val4)); in encode_inet6_opt()
63 inet6_opt_set_val (db, offset, &val8, sizeof (val8)); in encode_inet6_opt()
68 offset = inet6_opt_set_val (db, 0, &val1, sizeof (val1)); 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
121 offset = inet6_opt_get_val (db, 0, &val4, sizeof (val4)); in decode_inet6_opt()
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()
146 offset = inet6_opt_get_val (db, 0, &val1, sizeof (val1)); 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()
176 offset = inet6_opt_get_val (db, 0, buf, 7); in decode_inet6_opt()
177 if (offset != len || memcmp (buf, "abcdefg", 7) != 0) in decode_inet6_opt()