i'm a chinese programmer, i
want to write a system call to create an filter attach with some
qdisc, but i don't know the filter param's struct in the
kernel.
i just know the struct
struct
tc_u32_key
{ __u32 mask; __u32 val; int off; int offmask; }; struct tc_u32_sel
{ unsigned char flags; unsigned char offshift; unsigned char nkeys; __u16 offmask;
__u16 off; short offoff; short hoff;
__u32 hmask; struct tc_u32_key keys[0];
}; but i don't know how to fill it
,
the struct's mean?
can you tell me
|