repo.or.cz
/
tomato.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Changes to update Tomato RAF.
[tomato.git]
/
release
/
src
/
router
/
igmpproxy
/
src
/
os-dragonfly.h
blob
735401c6ce0c7b909bde306bf25cd24a4429edf9
1
#include <net/route.h>
2
#include <net/ip_mroute/ip_mroute.h>
3
#include <netinet/ip.h>
4
#include <netinet/igmp.h>
5
6
static
inline
u_short
ip_data_len
(
const struct
ip
*
ip
)
7
{
8
return
ip
->
ip_len
;
9
}
10
11
static
inline
void
ip_set_len
(
struct
ip
*
ip
,
u_short len
)
12
{
13
ip
->
ip_len
=
len
;
14
}