Messages in this thread | | | Date | Fri, 10 Jan 2020 11:13:16 -0800 (PST) | Subject | Re: [PATCH] pktgen: create packet use IPv6 source address between src6_min and src6_max. | From | David Miller <> |
| |
From: Niu Xilei <niu_xilei@163.com> Date: Fri, 10 Jan 2020 18:28:42 +0800
> --- a/net/core/pktgen.c > +++ b/net/core/pktgen.c > @@ -254,6 +254,111 @@ struct flow_state { > /* flow flag bits */ > #define F_INIT (1<<0) /* flow has been initialized */ > > +#ifdef CONFIG_ARCH_SUPPORTS_INT128 > + > +__extension__ typedef unsigned __int128 u128; > +
This does not belong in pktgen.c but rather in a generic kernel header, and such facilities should be posted for general review on lkml.
| |