Re: [nf-next v2 2/3] netfilter: Add support for IPv6 segment routing 'SEG6' target

2018-08-24 Thread Ahmed Abdelsalam
On Thu, 23 Aug 2018 20:11:47 +0200 Pablo Neira Ayuso wrote: > > +static struct xt_target seg6_tg6_reg __read_mostly = { > > + .name = "SEG6", > > + .family = NFPROTO_IPV6, > > + .target = seg6_tg6, > > + .targetsize = sizeof(struct ip6t_seg6_info), > > There

Re: [nf-next v2 2/3] netfilter: Add support for IPv6 segment routing 'SEG6' target

2018-08-23 Thread Pablo Neira Ayuso
On Wed, Aug 22, 2018 at 03:10:17PM +0200, Ahmed Abdelsalam wrote: [...] > diff --git a/net/ipv6/netfilter/ip6t_SEG6.c b/net/ipv6/netfilter/ip6t_SEG6.c > new file mode 100644 > index ..0adfb98ccaf2 > --- /dev/null > +++ b/net/ipv6/netfilter/ip6t_SEG6.c > @@ -0,0 +1,120 @@ > +/** > + *

[nf-next v2 2/3] netfilter: Add support for IPv6 segment routing 'SEG6' target

2018-08-22 Thread Ahmed Abdelsalam
Service Function Chaining (SFC) is one of the main use-cases of IPv6 Segment Routing (SRv6) [1]. The Segment Routing Header (SRH) allows including a list of segments in the IPv6 packet. This segment list can be used to steer the packetthough a set of Virtual Network Functions (VNFS) e.g.,