net: if: Allow app to disable IPv4 or IPv6 for the interface
Application can disable IPv4 or IPv6 later if those are not needed nor used for a given network interface. Fixes #14581 Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
This commit is contained in:
parent
7ce8c77650
commit
897698bc78
3 changed files with 61 additions and 5 deletions
|
@ -187,6 +187,12 @@ enum net_if_flag {
|
|||
*/
|
||||
NET_IF_FORWARD_MULTICASTS,
|
||||
|
||||
/** Interface supports IPv4 */
|
||||
NET_IF_IPV4,
|
||||
|
||||
/** Interface supports IPv6 */
|
||||
NET_IF_IPV6,
|
||||
|
||||
/** @cond INTERNAL_HIDDEN */
|
||||
/* Total number of flags - must be at the end of the enum */
|
||||
NET_IF_NUM_FLAGS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue