File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed
test/cbmc/proofs/ARP/ARP_OutputARPRequest_buffer_alloc1 Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change 2525
2626size_t uxNetworkInterfaceAllocateRAMToBuffers ( NetworkBufferDescriptor_t pxNetworkBuffers [ ipconfigNUM_NETWORK_BUFFER_DESCRIPTORS ] )
2727{
28- /*
29- In the case of buffer allocation scheme 1 the network buffers are
30- fixed size and its asserted in xNetworkBuffersInitialise call that the
31- buffer is at least ipconfigNETWORK_MTU + ipSIZE_OF_ETH_HEADER bytes
32-
33- Refer:
34- configASSERT( ( uxMaxNetworkInterfaceAllocatedSizeBytes >= ( ipconfigNETWORK_MTU + ipSIZE_OF_ETH_HEADER ) ) );
35-
36- */
28+ /*
29+ * In the case of buffer allocation scheme 1 the network buffers are
30+ * fixed size and its asserted in xNetworkBuffersInitialise call that the
31+ * buffer is at least ipconfigNETWORK_MTU + ipSIZE_OF_ETH_HEADER bytes
32+ *
33+ * Refer:
34+ * configASSERT( ( uxMaxNetworkInterfaceAllocatedSizeBytes >= ( ipconfigNETWORK_MTU + ipSIZE_OF_ETH_HEADER ) ) );
35+ *
36+ */
3737 size_t xAllocSize = 0 ;
38+
3839 for ( int x = 0 ; x < ipconfigNUM_NETWORK_BUFFER_DESCRIPTORS ; x ++ )
3940 {
4041 NetworkBufferDescriptor_t * current = & pxNetworkBuffers [ x ];
You can’t perform that action at this time.
0 commit comments