diff options
author | Joe Stringer <joe@wand.net.nz> | 2013-08-22 20:24:45 +1200 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2013-08-22 09:29:40 -0700 |
commit | 0d56eaf2e00b9d0e4d9cbc5d5b360191e5c16ded (patch) | |
tree | fbdc05436a9aa27752820382b0b2b2a1e9ff19e1 /lib/ofp-parse.c | |
parent | c6bcb68592b8cab528447f5ed00fcd38d0d08c39 (diff) |
ofp-util: Add SCTP support
Reviewed-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Joe Stringer <joe@wand.net.nz>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'lib/ofp-parse.c')
-rw-r--r-- | lib/ofp-parse.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ofp-parse.c b/lib/ofp-parse.c index 29834742..dd0738ca 100644 --- a/lib/ofp-parse.c +++ b/lib/ofp-parse.c @@ -1034,11 +1034,13 @@ parse_protocol(const char *name, const struct protocol **p_out) { "icmp", ETH_TYPE_IP, IPPROTO_ICMP }, { "tcp", ETH_TYPE_IP, IPPROTO_TCP }, { "udp", ETH_TYPE_IP, IPPROTO_UDP }, + { "sctp", ETH_TYPE_IP, IPPROTO_SCTP }, { "ipv6", ETH_TYPE_IPV6, 0 }, { "ip6", ETH_TYPE_IPV6, 0 }, { "icmp6", ETH_TYPE_IPV6, IPPROTO_ICMPV6 }, { "tcp6", ETH_TYPE_IPV6, IPPROTO_TCP }, { "udp6", ETH_TYPE_IPV6, IPPROTO_UDP }, + { "sctp6", ETH_TYPE_IPV6, IPPROTO_SCTP }, { "rarp", ETH_TYPE_RARP, 0}, { "mpls", ETH_TYPE_MPLS, 0 }, { "mplsm", ETH_TYPE_MPLS_MCAST, 0 }, |