Home
last modified time | relevance | path

Searched hist:"22 a5dc0e5e3e8fef804230cd73ed7b0afd4c7bae" (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/include/uapi/linux/tc_act/
H A Dtc_connmark.h22a5dc0e5e3e8fef804230cd73ed7b0afd4c7bae Sun Jan 18 15:35:14 CST 2015 Felix Fietkau <nbd@openwrt.org> net: sched: Introduce connmark action

This tc action allows you to retrieve the connection tracking mark
This action has been used heavily by openwrt for a few years now.

There are known limitations currently:

doesn't work for initial packets, since we only query the ct table.
Fine given use case is for returning packets

no implicit defrag.
frags should be rare so fix later..

won't work for more complex tasks, e.g. lookup of other extensions
since we have no means to store results

we still have a 2nd lookup later on via normal conntrack path.
This shouldn't break anything though since skb->nfct isn't altered.

V2:
remove unnecessary braces (Jiri)
change the action identifier to 14 (Jiri)
Fix some stylistic issues caught by checkpatch
V3:
Move module params to bottom (Cong)
Get rid of tcf_hashinfo_init and friends and conform to newer API (Cong)

Acked-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/openbmc/linux/include/net/tc_act/
H A Dtc_connmark.h22a5dc0e5e3e8fef804230cd73ed7b0afd4c7bae Sun Jan 18 15:35:14 CST 2015 Felix Fietkau <nbd@openwrt.org> net: sched: Introduce connmark action

This tc action allows you to retrieve the connection tracking mark
This action has been used heavily by openwrt for a few years now.

There are known limitations currently:

doesn't work for initial packets, since we only query the ct table.
Fine given use case is for returning packets

no implicit defrag.
frags should be rare so fix later..

won't work for more complex tasks, e.g. lookup of other extensions
since we have no means to store results

we still have a 2nd lookup later on via normal conntrack path.
This shouldn't break anything though since skb->nfct isn't altered.

V2:
remove unnecessary braces (Jiri)
change the action identifier to 14 (Jiri)
Fix some stylistic issues caught by checkpatch
V3:
Move module params to bottom (Cong)
Get rid of tcf_hashinfo_init and friends and conform to newer API (Cong)

Acked-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/openbmc/linux/net/sched/
H A DMakefile22a5dc0e5e3e8fef804230cd73ed7b0afd4c7bae Sun Jan 18 15:35:14 CST 2015 Felix Fietkau <nbd@openwrt.org> net: sched: Introduce connmark action

This tc action allows you to retrieve the connection tracking mark
This action has been used heavily by openwrt for a few years now.

There are known limitations currently:

doesn't work for initial packets, since we only query the ct table.
Fine given use case is for returning packets

no implicit defrag.
frags should be rare so fix later..

won't work for more complex tasks, e.g. lookup of other extensions
since we have no means to store results

we still have a 2nd lookup later on via normal conntrack path.
This shouldn't break anything though since skb->nfct isn't altered.

V2:
remove unnecessary braces (Jiri)
change the action identifier to 14 (Jiri)
Fix some stylistic issues caught by checkpatch
V3:
Move module params to bottom (Cong)
Get rid of tcf_hashinfo_init and friends and conform to newer API (Cong)

Acked-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
H A Dact_connmark.c22a5dc0e5e3e8fef804230cd73ed7b0afd4c7bae Sun Jan 18 15:35:14 CST 2015 Felix Fietkau <nbd@openwrt.org> net: sched: Introduce connmark action

This tc action allows you to retrieve the connection tracking mark
This action has been used heavily by openwrt for a few years now.

There are known limitations currently:

doesn't work for initial packets, since we only query the ct table.
Fine given use case is for returning packets

no implicit defrag.
frags should be rare so fix later..

won't work for more complex tasks, e.g. lookup of other extensions
since we have no means to store results

we still have a 2nd lookup later on via normal conntrack path.
This shouldn't break anything though since skb->nfct isn't altered.

V2:
remove unnecessary braces (Jiri)
change the action identifier to 14 (Jiri)
Fix some stylistic issues caught by checkpatch
V3:
Move module params to bottom (Cong)
Get rid of tcf_hashinfo_init and friends and conform to newer API (Cong)

Acked-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
H A DKconfig22a5dc0e5e3e8fef804230cd73ed7b0afd4c7bae Sun Jan 18 15:35:14 CST 2015 Felix Fietkau <nbd@openwrt.org> net: sched: Introduce connmark action

This tc action allows you to retrieve the connection tracking mark
This action has been used heavily by openwrt for a few years now.

There are known limitations currently:

doesn't work for initial packets, since we only query the ct table.
Fine given use case is for returning packets

no implicit defrag.
frags should be rare so fix later..

won't work for more complex tasks, e.g. lookup of other extensions
since we have no means to store results

we still have a 2nd lookup later on via normal conntrack path.
This shouldn't break anything though since skb->nfct isn't altered.

V2:
remove unnecessary braces (Jiri)
change the action identifier to 14 (Jiri)
Fix some stylistic issues caught by checkpatch
V3:
Move module params to bottom (Cong)
Get rid of tcf_hashinfo_init and friends and conform to newer API (Cong)

Acked-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>