bcm_pkt_* (70)

void BCM_PKT_BLK_BYTES_CALC(bcm_pkt_t **pkt, int *bytes);
uint8 *BCM_PKT_DMAC(bcm_pkt_t **pkt);
void BCM_PKT_DROP_REASON_AND(bcm_pkt_drop_reasons_t *_drop_reasons1, bcm_pkt_drop_reasons_t *_drop_reasons2);
void BCM_PKT_DROP_REASON_CLEAR(bcm_pkt_drop_reasons_t *_drop_reasons, bcm_pkt_drop_reason_t *_drop_reason);
void BCM_PKT_DROP_REASON_CLEAR_ALL(bcm_pkt_drop_reasons_t *_drop_reasons);
void BCM_PKT_DROP_REASON_COUNT(bcm_pkt_drop_reasons_t *_drop_reasons, int *count);
int BCM_PKT_DROP_REASON_EQ(bcm_pkt_drop_reasons_t *_drop_reasons1, bcm_pkt_drop_reasons_t *_drop_reasons2);
int BCM_PKT_DROP_REASON_GET(bcm_pkt_drop_reasons_t *_drop_reasons, bcm_pkt_drop_reason_t *_drop_reason);
int BCM_PKT_DROP_REASON_IS_NULL(bcm_pkt_drop_reasons_t *_drop_reasons);
void BCM_PKT_DROP_REASON_NEGATE(bcm_pkt_drop_reasons_t *_drop_reasons1, bcm_pkt_drop_reasons_t *_drop_reasons2);
int BCM_PKT_DROP_REASON_NEQ(bcm_pkt_drop_reasons_t *_drop_reasons1, bcm_pkt_drop_reasons_t *_drop_reasons2);
void BCM_PKT_DROP_REASON_OR(bcm_pkt_drop_reasons_t *_drop_reasons1, bcm_pkt_drop_reasons_t *_drop_reasons2);
void BCM_PKT_DROP_REASON_REMOVE(bcm_pkt_drop_reasons_t *_drop_reasons1, bcm_pkt_drop_reasons_t *_drop_reasons2);
void BCM_PKT_DROP_REASON_SET(bcm_pkt_drop_reasons_t *_drop_reasons, bcm_pkt_drop_reason_t *_drop_reason);
void BCM_PKT_DROP_REASON_SET_ALL(bcm_pkt_drop_reasons_t *_drop_reasons);
uint8 *BCM_PKT_EXT_HG_HDR(bcm_pkt_t **pkt);
int BCM_PKT_HAS_HGHDR(bcm_pkt_t **pkt);
int BCM_PKT_HAS_SLTAG(bcm_pkt_t **pkt);
void BCM_PKT_HDR_DMAC_SET(bcm_pkt_t **pkt, bcm_mac_t *mac);
void BCM_PKT_HDR_SMAC_SET(bcm_pkt_t **pkt, bcm_mac_t *mac);
void BCM_PKT_HDR_SNAP_CONTROL_SET(bcm_pkt_t **pkt, int *ctl);
void BCM_PKT_HDR_SNAP_DSAP_SET(bcm_pkt_t **pkt, int *dsap);
void BCM_PKT_HDR_SNAP_ETYPE_SET(bcm_pkt_t **pkt, int *etype);
void BCM_PKT_HDR_SNAP_ORG_SET(bcm_pkt_t **pkt, int *b1, int *b2, int *b3);
void BCM_PKT_HDR_SNAP_SSAP_SET(bcm_pkt_t **pkt, int *ssap);
void BCM_PKT_HDR_TAGGED_LEN_SET(bcm_pkt_t **pkt, int *len);
void BCM_PKT_HDR_TPID_SET(bcm_pkt_t **pkt, int *tpid);
void BCM_PKT_HDR_UNTAGGED_LEN_SET(bcm_pkt_t **pkt, int *len);
void BCM_PKT_HDR_VTAG_CONTROL_SET(bcm_pkt_t **pkt, int *vtag);
void BCM_PKT_HGHDR_CLR(bcm_pkt_t **pkt);
void BCM_PKT_HGHDR_REQUIRE(bcm_pkt_t **pkt);
uint8 *BCM_PKT_HG_HDR(bcm_pkt_t **pkt);
uint8 *BCM_PKT_IEEE(bcm_pkt_t **pkt);
int BCM_PKT_IEEE_LEN(bcm_pkt_t **pkt);
int BCM_PKT_NO_VLAN_TAG(bcm_pkt_t **pkt);
int BCM_PKT_NO_VTAG_REQUIRE(bcm_pkt_t **pkt);
uint8 *BCM_PKT_PB_HDR(bcm_pkt_t **pkt);
void BCM_PKT_PORT_SET(bcm_pkt_t **pkt, int *_port, int *_untagged, int *_l3);
int BCM_PKT_RX_CRC_STRIP(bcm_pkt_t **pkt);
void BCM_PKT_RX_TOT_LEN(bcm_pkt_t **pkt, int *bytes);
int BCM_PKT_RX_VLAN_TAG_STRIP(bcm_pkt_t **pkt);
void BCM_PKT_SLTAG_REQUIRE(bcm_pkt_t **pkt);
uint8 *BCM_PKT_SL_TAG(bcm_pkt_t **pkt);
int BCM_PKT_TAG_PROTOCOL(bcm_pkt_t **pkt);
int BCM_PKT_TX_ETHER(bcm_pkt_t **pkt);
int BCM_PKT_TX_FABRIC_MAPPED(bcm_pkt_t **pkt);
int BCM_PKT_TX_HG_READY(bcm_pkt_t **pkt);
void BCM_PKT_TX_LEN(bcm_pkt_t **pkt, int *bytes);
void BCM_PKT_TX_LEN_SET(bcm_pkt_t **pkt, int *_len);
int BCM_PKT_VLAN_CFI(bcm_pkt_t **pkt);
int BCM_PKT_VLAN_CONTROL(bcm_pkt_t **pkt);
int BCM_PKT_VLAN_ID(bcm_pkt_t **pkt);
int BCM_PKT_VLAN_PRI(bcm_pkt_t **pkt);
uint8 *BCM_PKT_VLAN_PTR(bcm_pkt_t **pkt);
int bcm_pkt_alloc(int unit, int size, uint32 flags, bcm_pkt_t **pkt_buf);
int bcm_pkt_blk_alloc(int unit, int count, int size, uint32 flags, bcm_pkt_t ***packet_array);
int bcm_pkt_blk_free(int unit, bcm_pkt_t **pkt, int count);
void bcm_pkt_blk_t_init(bcm_pkt_blk_t *pkt_blk);
int bcm_pkt_byte_index(bcm_pkt_t *pkt, int n, int *len, int *blk_idx, uint8 **location);
int bcm_pkt_clear(int unit, bcm_pkt_t *pkt, bcm_pkt_blk_t *blks, int blk_count, uint32 flags, bcm_pkt_t **pkt_buf);
int bcm_pkt_ecmp_grp_set(int unit, bcm_pkt_t *pkt, bcm_if_t ecmp_group_id);
int bcm_pkt_ecmp_member_set(int unit, bcm_pkt_t *pkt, bcm_if_t ecmp_group_id, bcm_if_t ecmp_member_id);
int bcm_pkt_flags_init(int unit, bcm_pkt_t *pkt, uint32 init_flags);
int bcm_pkt_flags_len_setup(int unit, bcm_pkt_t *pkt, int alloc_bytes, int payload_len, uint32 flags);
int bcm_pkt_free(int unit, bcm_pkt_t *pkt);
int bcm_pkt_memcpy(bcm_pkt_t *pkt, int dest_byte, uint8 *src, int len);
int bcm_pkt_nexthop_set(int unit, bcm_pkt_t *pkt, bcm_if_t nexthop_id);
int bcm_pkt_rx_alloc(int unit, int len, bcm_pkt_t **pkt_buf);
int bcm_pkt_rx_free(int unit, bcm_pkt_t *pkt);
void bcm_pkt_t_init(bcm_pkt_t *pkt);