On Thu Jul 23 2020, Kurt Kanzenbach wrote:
> +static struct ptp_header *ptp_parse_header(struct sk_buff *skb,
> +unsigned int type)
> +{
> + return NULL;
> +}
> #endif
That should be static inline ofc.
Thanks,
Kurt
signature.asc
Description: PGP sign
Reason: A lot of the ptp drivers - which implement hardware time stamping - need
specific fields such as the sequence id from the ptp v2 header. Currently all
drivers implement that themselves.
Introduce a generic function to retrieve a pointer to the start of the ptp v2
header.
Signed-off-by: Ku