Skip to content

Commit e7ddc7d

Browse files
HTRamseyactions-userActoryOu
authored
Remove ipconfigMULTI_INTERFACE (#1121)
* Remove ipconfigMULTI_INTERFACE * Uncrustify: triggered by comment. * Empty commit to trigger CI. --------- Co-authored-by: GitHub Action <[email protected]> Co-authored-by: ActoryOu <[email protected]>
1 parent 88e1475 commit e7ddc7d

File tree

24 files changed

+441
-750
lines changed

24 files changed

+441
-750
lines changed

source/FreeRTOS_Routing.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -170,10 +170,6 @@ struct xIPv6_Couple
170170
{
171171
/* Other interfaces are already defined, so iterate to the end of the
172172
* list. */
173-
174-
/*_RB_ Question - if ipconfigMULTI_INTERFACE is used to define the
175-
* maximum number of interfaces, would it be more efficient to have an
176-
* array of interfaces rather than a linked list of interfaces? */
177173
pxIterator = pxNetworkInterfaces;
178174

179175
for( ; ; )

source/include/FreeRTOSIPConfigDefaults.h

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3072,27 +3072,6 @@ STATIC_ASSERT( ipconfigDNS_SEND_BLOCK_TIME_TICKS <= portMAX_DELAY );
30723072

30733073
/*---------------------------------------------------------------------------*/
30743074

3075-
/*
3076-
* ipconfigMULTI_INTERFACE
3077-
*
3078-
* Type: BaseType_t ( ipconfigENABLE | ipconfigDISABLE )
3079-
*
3080-
* Used to let applications know that multiple interfaces are supported by
3081-
* this version of the TCP/IP stack.
3082-
*
3083-
* Must be enabled for demo applications to work.
3084-
*/
3085-
3086-
#ifndef ipconfigMULTI_INTERFACE
3087-
#define ipconfigMULTI_INTERFACE ipconfigENABLE
3088-
#endif
3089-
3090-
#if ( ( ipconfigMULTI_INTERFACE != ipconfigDISABLE ) && ( ipconfigMULTI_INTERFACE != ipconfigENABLE ) )
3091-
#error Invalid ipconfigMULTI_INTERFACE configuration
3092-
#endif
3093-
3094-
/*---------------------------------------------------------------------------*/
3095-
30963075
/*===========================================================================*/
30973076
/* ROUTING CONFIG */
30983077
/*===========================================================================*/

test/unit-test/ConfigFiles/FreeRTOSIPConfig.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
#define ipconfigUSE_IPv4 ( 1 )
3838
#define ipconfigUSE_IPv6 ( 1 )
3939

40-
#define ipconfigMULTI_INTERFACE 1
4140
#define ipconfigIPv4_BACKWARD_COMPATIBLE 0
4241

4342
#define ipconfigUSE_IPv4 ( 1 )

test/unit-test/FreeRTOS_DHCPv6/FreeRTOSIPConfig.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@
3838
#define ipconfigUSE_IPv6 ( 1 )
3939
#define ipconfigUSE_DHCPv6 1
4040

41-
#define ipconfigMULTI_INTERFACE 1
42-
4341
#define ipconfigIPv4_BACKWARD_COMPATIBLE 0
4442

4543
/* Set to 1 to print out debug messages. If ipconfigHAS_DEBUG_PRINTF is set to

test/unit-test/FreeRTOS_DNS/FreeRTOSIPConfig.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@
3737
#define ipconfigUSE_IPv4 ( 1 )
3838
#define ipconfigUSE_IPv6 ( 1 )
3939

40-
#define ipconfigMULTI_INTERFACE 1
41-
4240
#define ipconfigIPv4_BACKWARD_COMPATIBLE 0
4341
#define ipconfigDRIVER_INCLUDED_TX_IP_CHECKSUM 0
4442
#define ipconfigUSE_MDNS 1

test/unit-test/FreeRTOS_DNS_ConfigNoCallback/FreeRTOSIPConfig.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@
3737
#define ipconfigUSE_IPv4 ( 1 )
3838
#define ipconfigUSE_IPv6 ( 1 )
3939

40-
#define ipconfigMULTI_INTERFACE 1
41-
4240
#define ipconfigIPv4_BACKWARD_COMPATIBLE 0
4341
#define ipconfigDRIVER_INCLUDED_TX_IP_CHECKSUM 0
4442
#define ipconfigUSE_MDNS 1

test/unit-test/FreeRTOS_IP_DiffConfig/FreeRTOSIPConfig.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
#define ipconfigUSE_IPv4 ( 1 )
3838
#define ipconfigUSE_IPv6 ( 1 )
3939

40-
#define ipconfigMULTI_INTERFACE 1
4140
#define ipconfigIPv4_BACKWARD_COMPATIBLE 0
4241

4342
/* Set to 1 to print out debug messages. If ipconfigHAS_DEBUG_PRINTF is set to

test/unit-test/FreeRTOS_IP_DiffConfig1/FreeRTOSIPConfig.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
#define ipconfigUSE_IPv4 ( 1 )
3838
#define ipconfigUSE_IPv6 ( 0 )
3939

40-
#define ipconfigMULTI_INTERFACE 1
4140
#define ipconfigIPv4_BACKWARD_COMPATIBLE 1
4241

4342
/* Set to 1 to print out debug messages. If ipconfigHAS_DEBUG_PRINTF is set to

test/unit-test/FreeRTOS_IP_DiffConfig2/FreeRTOSIPConfig.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
#define ipconfigUSE_IPv4 ( 1 )
3838
#define ipconfigUSE_IPv6 ( 1 )
3939

40-
#define ipconfigMULTI_INTERFACE 1
4140
#define ipconfigIPv4_BACKWARD_COMPATIBLE 1
4241

4342
/* Set to 1 to print out debug messages. If ipconfigHAS_DEBUG_PRINTF is set to

test/unit-test/FreeRTOS_IP_DiffConfig3/FreeRTOSIPConfig.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939

4040
#define ipconfigUSE_DHCPv6 ( 1 )
4141

42-
#define ipconfigMULTI_INTERFACE 1
4342
#define ipconfigIPv4_BACKWARD_COMPATIBLE 0
4443

4544
/* Set to 1 to print out debug messages. If ipconfigHAS_DEBUG_PRINTF is set to

0 commit comments

Comments
 (0)