Skip to contentSkip to conversation

nftables: Add support for reserved header and addrs for routing header type 0

DISCUSSION Harsha Sharma 2 participants 2 messages Oct 4, 2017 netfilter

lore
Share & tools
lore
#0 lore raw

Hello,
I'm working on task for adding support for reserved header and addrs for routing header type 0 in nftables. The code already uses macros like [RT0HDR_RESERVED], [RT0HDR_ADDR_1] in extensions/exthdr.c but they are not declared in parser_bison.c like other macros [RTHDR_TYPE] and [RTHDR_NEXTHDR].
Can anyone please guide me on how to declare macros in parser_bison.c? Thanks for your time.

Regards,
Harsha Sharma

#1 lore raw
Quoted 6 lines · Harsha Sharma

Hello,
I'm working on task for adding support for reserved header and addrs for routing header type 0 in nftables. The code already uses macros like [RT0HDR_RESERVED], [RT0HDR_ADDR_1] in extensions/exthdr.c but they are not declared in parser_bison.c like other macros [RTHDR_TYPE] and [RTHDR_NEXTHDR].

They are indeed declared, please take the time to familiarize with 'git grep' to search for token on the git repository.

Thanks.