Permalink
Browse files

decode nat_seq attributes

  • Loading branch information...
1 parent 97d933c commit 9d897bc77e89a471b5f608b33c736b1ab330f3a7 Andreas Schultz committed Aug 2, 2011
Showing with 8 additions and 2 deletions.
  1. +8 −2 src/netlink.erl
View
@@ -384,8 +384,8 @@ define_consts() ->
{id, uint32},
{nat_dst, none},
{tuple_master, tuple},
- {nat_seq_adj_orig, none},
- {nat_seq_adj_reply, none},
+ {nat_seq_adj_orig, nat_seq_adj},
+ {nat_seq_adj_reply, nat_seq_adj},
{secmark, uint32}, %% obsolete sine 2.6.36....?
{zone, uint16},
{secctx, none},
@@ -428,6 +428,12 @@ define_consts() ->
{icmpv6_type, none},
{icmpv6_code, none}
]},
+ {{ctnetlink, nat_seq_adj}, [
+ {unspec, none},
+ {correction_pos, uint32},
+ {offset_before, uint32},
+ {offset_after, uint32}
+ ]},
{{ctnetlink, protoinfo}, [
{unspec, none},
{tcp, tcp},

0 comments on commit 9d897bc

Please sign in to comment.