Skip to content

Commit

Permalink
sparse: Add ip6_rthdr struct to the ip6.h
Browse files Browse the repository at this point in the history
Acked-by: Ben Pfaff <[email protected]>
Signed-off-by: Ansis Atteka <[email protected]>
  • Loading branch information
Ansis Atteka committed Nov 13, 2012
1 parent 1d9ffc1 commit 3d97490
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions include/sparse/netinet/ip6.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ struct ip6_hdr {
#define ip6_hlim ip6_ctlun.ip6_un1.ip6_un1_hlim
#define ip6_hops ip6_ctlun.ip6_un1.ip6_un1_hlim

struct ip6_rthdr {
uint8_t ip6r_nxt;
uint8_t ip6r_len;
uint8_t ip6r_type;
uint8_t ip6r_segleft;
};

struct ip6_ext {
uint8_t ip6e_nxt;
uint8_t ip6e_len;
Expand Down

0 comments on commit 3d97490

Please sign in to comment.