Print this page
dccp: snoop, build system fixes

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_ipsec.c
          +++ new/usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_ipsec.c
↓ open down ↓ 228 lines elided ↑ open up ↑
 229  229  
 230  230                          case IPPROTO_AH:
 231  231                                  (void) interpret_ah(flags, data, new_iplen,
 232  232                                      fraglen);
 233  233                                  break;
 234  234  
 235  235                          case IPPROTO_UDP:
 236  236                                  (void) interpret_udp(flags,
 237  237                                      (struct udphdr *)data, new_iplen, fraglen);
 238  238                                  break;
      239 +                        case IPPROTO_DCCP:
      240 +                                (void) interpret_dccp(flags,
      241 +                                    (struct dccphdr *)data, new_iplen, fraglen);
      242 +                                break;
 239  243                          /* default case is to not print anything else */
 240  244                  }
 241  245  
 242  246          return (ahlen);
 243  247  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX