Lines Matching defs:padding
679 * @offset: offset from start of buffer to write padding
683 * Write @count bytes of TLV padding into @buffer starting at offset @offset.
720 * padding that ensures that the option is 4n + 2 aligned. It returns the
721 * number of bytes written (including any initial padding).
730 static const unsigned char padding[4] = {2, 1, 0, 3};
734 pad = padding[start & 3];
828 * @start: on return holds the offset of any leading padding
833 * trailing padding).
836 * offsets within @hop of the start of padding before the first
837 * CALIPSO option and the end of padding after the first CALIPSO
841 * set to the start and end of any trailing padding in the header.
843 * to overwrite some of this padding. In this case the function will
904 * will contain just the CALIPSO option and any needed padding.
965 * no other non-padding options, it returns zero with @new set to NULL.
967 * option (and removing as much padding as possible) and returns with