Print this page
dccp: snoop, build system fixes

@@ -297,10 +297,14 @@
                                 break;
                         case IPPROTO_SCTP:
                                 (void) interpret_sctp(flags,
                                     (struct sctp_hdr *)data, iplen, fraglen);
                                 break;
+                        case IPPROTO_DCCP:
+                                (void) interpret_dccp(flags,
+                                    (struct dccphdr *)data, iplen, fraglen);
+                                break;
                         }
                 }
         }
 
         encap_levels--;

@@ -475,10 +479,14 @@
                             iplen, fraglen);
                         break;
                 case IPPROTO_OSPF:
                         interpret_ospf6(flags, data, iplen, fraglen);
                         break;
+                case IPPROTO_DCCP:
+                        (void) interpret_dccp(flags, (struct dccphdr *)data,
+                            iplen, fraglen);
+                        break;
                 }
         }
 
         return (iplen);
 }

@@ -728,10 +736,11 @@
         case IPPROTO_HELLO:     return ("HELLO");
         case IPPROTO_ND:        return ("ND");
         case IPPROTO_EON:       return ("EON");
         case IPPROTO_RAW:       return ("RAW");
         case IPPROTO_OSPF:      return ("OSPF");
+        case IPPROTO_DCCP:      return ("DCCP");
         default:                return ("");
         }
 }
 
 static void