search for: decap

Displaying 5 results from an estimated 5 matches for "decap".

Did you mean: recap
2008 Jan 30
1
How to run interaction between to categoric variables in lme()?
En innebygd og tegnsett-uspesifisert tekst ble skilt ut... Navn: ikke tilgjengelig Nettadresse: https://stat.ethz.ch/pipermail/r-help/attachments/20080130/78d2a14c/attachment.pl
2007 Apr 18
0
[Bridge] priority number lower??
...What you need to do is register your function > on the existing NF_BR_PRE_ROUTING hook, with a priority number lower than > that of the ebtables nat PREROUTING chain (prio=NF_BR_PRI_NAT_SRC). ebt INPUT | | ebt (PREROUTING)------Bridging-----ebt (FORWARD) I think my code is decapsulating (changing eth hdr) before INPUT chain is traversed. So, I am confused as to what the priority number should be. Since encap/ decap functions are called by main code. If the prio is Lower than NF_BR_PRI_NAT_SRC, encapsulation is taking place even before ebt-PREROUTING chain is traversed. So...
2015 Dec 02
0
[PATCH] Receive multiple packets at a time
...com/dtaht/tinc/commits/master >> >> Perhaps that will help. > > Well, converting a sendto call into a sendmsg call is not really "hard" > :) the "hard" bit was in trying to reliably extract the tos bits and then figure out how to deal with correct ecn encap/decap according to the rfc - ironically, a year ago today. http://www.tinc-vpn.org/pipermail/tinc-devel/2014-December/000680.html but it was only two nights of hacking, then I had to go to something else. The original observation of mine was that we were bottlenecking on the tinc output stage, and dro...
2015 Dec 02
3
[PATCH] Receive multiple packets at a time
Hello, Dave Taht, on Wed 02 Dec 2015 13:21:56 +0100, wrote: > I'd made a start on the send direction here: > https://github.com/dtaht/tinc/commits/master > > Perhaps that will help. Well, converting a sendto call into a sendmsg call is not really "hard" :) What will be really hard is getting multiple packet receive/send over the tap/tun device, because support for it
2008 Sep 12
4
Custom build kernel patch fails big time.
...0 @@ -13,6 +13,7 @@ #include <linux/string.h> #include <linux/netfilter.h> #include <linux/netfilter_ipv4.h> +#include <net/inet_ecn.h> #include <net/ip.h> #include <net/xfrm.h> @@ -23,6 +24,15 @@ EXPORT_SYMBOL(xfrm4_rcv); +static inline void ipip_ecn_decapsulate(struct sk_buff *skb) +{ + struct iphdr *outer_iph = skb->nh.iph; + struct iphdr *inner_iph = skb->h.ipiph; + + if (INET_ECN_is_ce(outer_iph->tos)) + IP_ECN_set_ce(inner_iph); +} + static int xfrm4_parse_spi(struct sk_buff *skb, u8 nexthdr, u32 *spi, u32 *seq) {...