openbcm

Git mirror of https://github.com/Broadcom-Network-Switching-Software/OpenBCM
git clone git://git.finwo.net/mirror/broadcom/openbcm
Log | Files | Refs | README

pkt.h (1188B)


      1 /*
      2  * 
      3  * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
      4  * 
      5  * Copyright 2007-2020 Broadcom Inc. All rights reserved.
      6  *
      7  * File:        pkt.h
      8  * Purpose:     Common Internal pkt utilities
      9  */
     10 
     11 #ifndef _BCM_PKT_H
     12 #define _BCM_PKT_H
     13 
     14 #include <shared/bsl.h>
     15 
     16 #include <soc/defs.h>	
     17 #include <bcm/debug.h>
     18 
     19 #include <bcm/pkt.h>
     20 
     21 
     22 /* Dump a DNX packet. */
     23 extern void bcm_pkt_dnx_dump(
     24     bcm_pkt_t *pkt);
     25 /* Dump itmh destination */
     26 extern void bcm_pkt_dnx_itmh_dest_dump(
     27     bcm_pkt_dnx_itmh_dest_t *itmh_dest);
     28 
     29 /* Dump itmh header. */
     30 extern void bcm_pkt_dnx_itmh_dump(
     31     bcm_pkt_dnx_itmh_t *ext);
     32 
     33 /* Dump ftmh lb extension. */
     34 extern void bcm_pkt_dnx_ftmh_lb_extension_dump(
     35     bcm_pkt_dnx_ftmh_lb_extension_t *ext);
     36 
     37 /* Dump ftmh dest extension. */
     38 extern void bcm_pkt_dnx_ftmh_dest_extension_dump(
     39     bcm_pkt_dnx_ftmh_dest_extension_t *ext);
     40 
     41 /* Dump ftmh stack extension. */
     42 extern void bcm_pkt_dnx_ftmh_stack_extension_dump(
     43     bcm_pkt_dnx_ftmh_stack_extension_t *ext);
     44 
     45 /* Dump ftmh header. */
     46 extern void bcm_bcm_pkt_dnx_ftmh_dump(
     47     bcm_pkt_dnx_ftmh_t *ext);
     48 #endif /* _BCM_PKT_H */