net: if: Separate IP address configuration from net_if
Move IP address settings from net_if to separate structs. This is needed for VLAN support. Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
This commit is contained in:
parent
bdc5c72498
commit
47dafffb67
38 changed files with 947 additions and 559 deletions
|
@ -162,6 +162,14 @@
|
|||
__net_if_end = .;
|
||||
} GROUP_DATA_LINK_IN(RAMABLE_REGION, ROMABLE_REGION)
|
||||
|
||||
SECTION_DATA_PROLOGUE(net_if_dev, (OPTIONAL), SUBALIGN(4))
|
||||
{
|
||||
__net_if_dev_start = .;
|
||||
*(".net_if_dev.*")
|
||||
KEEP(*(SORT_BY_NAME(".net_if_dev.*")))
|
||||
__net_if_dev_end = .;
|
||||
} GROUP_DATA_LINK_IN(RAMABLE_REGION, ROMABLE_REGION)
|
||||
|
||||
SECTION_DATA_PROLOGUE(net_if_event, (OPTIONAL), SUBALIGN(4))
|
||||
{
|
||||
__net_if_event_start = .;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue