![]() |
NetSim Source Code Help
|

Go to the source code of this file.
Functions | |
| NetSim_PACKET * | fn_NetSim_CR_BS_PackPacket (BS_MAC *pstruBSMac, NetSim_PACKET *pstruPacket) |
| int | fn_NetSim_CR_CPE_PackPacket () |
| int | fn_NetSim_CR_FragmentPacket (NetSim_PACKET *pstruPacket, double dSDUSize) |
| NetSim_PACKET * fn_NetSim_CR_BS_PackPacket | ( | BS_MAC * | pstruBSMac, |
| NetSim_PACKET * | pstruPacket | ||
| ) |
In the MAC, the transmitting side has full discretion whether or not to pack a group of MAC SDUs into a single MAC PDU. BSs and CPEs shall both have the capability of unpacking. If packing is turned on for a connection, the MAC may pack multiple MAC SDUs into a single MAC PDU. Also, packing makes use of the connection attribute indicating whether the connection carries fixed-length or variable-length packets.
Definition at line 8 of file Fragmentation.c.

| int fn_NetSim_CR_CPE_PackPacket | ( | ) |
In the MAC, the transmitting side has full discretion whether or not to pack a group of MAC SDUs into a single MAC PDU. BSs and CPEs shall both have the capability of unpacking. If packing is turned on for a connection, the MAC may pack multiple MAC SDUs into a single MAC PDU. Also, packing makes use of the connection attribute indicating whether the connection carries fixed-length or variable-length packets.
Definition at line 81 of file Fragmentation.c.


| int fn_NetSim_CR_FragmentPacket | ( | NetSim_PACKET * | pstruPacket, |
| double | dSDUSize | ||
| ) |
Fragmentation is the process by which a MAC SDU is divided into one or more MAC PDUs. This process is undertaken to allow efficient use of available bandwidth relative to the QoS requirements of a connection’s service flow. Upon the creation of a connection by the MAC SAP, fragmentation capability is defined. Fragmentation may be initiated by a BS for downstream connections and by a CPE for upstream connections.
Definition at line 171 of file Fragmentation.c.
