This function, when called with extbuf as a NULL pointer and extlen as 0, returns the number of bytes in an extension header that has no options. If you specify extbuf as a valid pointer and extlen as a number that is a multiple of 8, the function returns the same information as in the previous case, initializes the extension header, and sets the length field.