+2006-01-12 Patrick McHardy <kaber@trash.net>
+
+ * Handle DCCP in ipxfrm.c to allow using port numbers in the selector.
+
2006-01-10 Masahide NAKAMURA <nakam@linux-ipv6.org>
* Add ip link ntable
* Add corrupt feature to netem
-2005-12-02 Stephen Hemminger <shemminger@osdl.org
+2005-12-02 Stephen Hemminger <shemminger@osdl.org>
* Backout ambigious ip command matches
-2005-11-22 Stephen Hemminger <shemminger@osdl.org
+2005-11-22 Stephen Hemminger <shemminger@osdl.org>
* Handle ambigious ip command matches
case IPPROTO_TCP:
case IPPROTO_UDP:
case IPPROTO_SCTP:
+ case IPPROTO_DCCP:
default: /* XXX */
if (sel->sport_mask)
fprintf(fp, "sport %u ", ntohs(sel->sport));
case IPPROTO_TCP:
case IPPROTO_UDP:
case IPPROTO_SCTP:
+ case IPPROTO_DCCP:
break;
default:
fprintf(stderr, "\"sport\" and \"dport\" are invalid with proto=%s\n", strxf_proto(sel->proto));
#ifndef IPPROTO_SCTP
# define IPPROTO_SCTP 132
#endif
+#ifndef IPPPROTO_DCCP
+# define IPPROTO_DCCP 33
+#endif
#define XFRMS_RTA(x) ((struct rtattr*)(((char*)(x)) + NLMSG_ALIGN(sizeof(struct xfrm_usersa_info))))
#define XFRMS_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct xfrm_usersa_info))