2016-03-07, 11:48:42 -0800, Stephen Hemminger wrote:
>
> > +static int one_of(const char *msg, const char *realval, const char **list,
> > + size_t len, int *index)
> > +{
> > + int i;
> > +
> > + for (i = 0; i < len; i++) {
> > + if (matches(realval, list[i]) == 0) {
> >
> +static int one_of(const char *msg, const char *realval, const char **list,
> + size_t len, int *index)
> +{
> + int i;
> +
> + for (i = 0; i < len; i++) {
> + if (matches(realval, list[i]) == 0) {
> + *index = i;
> + retu
Extend ip-link to create MACsec devices
ip link add link type macsec [options]
Add `ip macsec` command to configure receive-side secure channels and
secure associations within a macsec netdevice.
Signed-off-by: Sabrina Dubroca
---
This needs the MACsec UAPI headers.
ip/Makefile