https://github.com/torvalds/linux
Revision e674d0f38de6109b59dbe30fba8b296a03229b8e authored by Yasuyuki Kozakai on 19 September 2005, 22:34:40 UTC, committed by David S. Miller on 19 September 2005, 22:34:40 UTC
Some IPv6 matches have very similar loops to find IPv6 extension header
and we can unify them. This patch introduces ipv6_find_hdr() to do it.
I just checked that it can find the target headers in the packet which has
dst,hbh,rt,frag,ah,esp headers.

Signed-off-by: Yasuyuki Kozakai <yasuyuki.kozakai@toshiba.co.jp>
Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 926b50f
History
Tip revision: e674d0f38de6109b59dbe30fba8b296a03229b8e authored by Yasuyuki Kozakai on 19 September 2005, 22:34:40 UTC
[NETFILTER] ip6tables: remove duplicate code
Tip revision: e674d0f
File Mode Size
m32700ut
mappi2
mappi3
opsput
a.out.h -rw-r--r-- 794 bytes
addrspace.h -rw-r--r-- 1.7 KB
assembler.h -rw-r--r-- 3.8 KB
atomic.h -rw-r--r-- 6.6 KB
auxvec.h -rw-r--r-- 91 bytes
bitops.h -rw-r--r-- 15.8 KB
bug.h -rw-r--r-- 76 bytes
bugs.h -rw-r--r-- 383 bytes
byteorder.h -rw-r--r-- 387 bytes
cache.h -rw-r--r-- 225 bytes
cachectl.h -rw-r--r-- 700 bytes
cacheflush.h -rw-r--r-- 2.9 KB
checksum.h -rw-r--r-- 5.2 KB
cputime.h -rw-r--r-- 115 bytes
current.h -rw-r--r-- 287 bytes
delay.h -rw-r--r-- 705 bytes
div64.h -rw-r--r-- 31 bytes
dma-mapping.h -rw-r--r-- 503 bytes
dma.h -rw-r--r-- 254 bytes
elf.h -rw-r--r-- 3.7 KB
emergency-restart.h -rw-r--r-- 149 bytes
errno.h -rw-r--r-- 129 bytes
fcntl.h -rw-r--r-- 31 bytes
flat.h -rw-r--r-- 4.3 KB
futex.h -rw-r--r-- 1.1 KB
hardirq.h -rw-r--r-- 778 bytes
hw_irq.h -rw-r--r-- 191 bytes
ide.h -rw-r--r-- 1.5 KB
io.h -rw-r--r-- 6.1 KB
ioctl.h -rw-r--r-- 2.6 KB
ioctls.h -rw-r--r-- 2.6 KB
ipc.h -rw-r--r-- 29 bytes
ipcbuf.h -rw-r--r-- 669 bytes
irq.h -rw-r--r-- 2.5 KB
kmap_types.h -rw-r--r-- 534 bytes
linkage.h -rw-r--r-- 138 bytes
local.h -rw-r--r-- 107 bytes
m32102.h -rw-r--r-- 13.9 KB
m32r.h -rw-r--r-- 4.6 KB
m32r_mp_fpga.h -rw-r--r-- 14.8 KB
mc146818rtc.h -rw-r--r-- 681 bytes
mman.h -rw-r--r-- 1.8 KB
mmu.h -rw-r--r-- 405 bytes
mmu_context.h -rw-r--r-- 4.1 KB
mmzone.h -rw-r--r-- 2.0 KB
module.h -rw-r--r-- 215 bytes
msgbuf.h -rw-r--r-- 1.0 KB
namei.h -rw-r--r-- 371 bytes
numnodes.h -rw-r--r-- 276 bytes
page.h -rw-r--r-- 2.8 KB
param.h -rw-r--r-- 489 bytes
pci.h -rw-r--r-- 153 bytes
percpu.h -rw-r--r-- 126 bytes
pgalloc.h -rw-r--r-- 1.6 KB
pgtable-2level.h -rw-r--r-- 2.4 KB
pgtable.h -rw-r--r-- 10.9 KB
poll.h -rw-r--r-- 577 bytes
posix_types.h -rw-r--r-- 3.2 KB
processor.h -rw-r--r-- 3.5 KB
ptrace.h -rw-r--r-- 3.9 KB
resource.h -rw-r--r-- 129 bytes
rtc.h -rw-r--r-- 2.0 KB
s1d13806.h -rw-r--r-- 9.8 KB
scatterlist.h -rw-r--r-- 470 bytes
sections.h -rw-r--r-- 150 bytes
segment.h -rw-r--r-- 229 bytes
semaphore.h -rw-r--r-- 4.6 KB
sembuf.h -rw-r--r-- 746 bytes
serial.h -rw-r--r-- 174 bytes
setup.h -rw-r--r-- 1.1 KB
shmbuf.h -rw-r--r-- 1.2 KB
shmparam.h -rw-r--r-- 170 bytes
sigcontext.h -rw-r--r-- 1.2 KB
siginfo.h -rw-r--r-- 124 bytes
signal.h -rw-r--r-- 3.7 KB
smp.h -rw-r--r-- 3.4 KB
socket.h -rw-r--r-- 1.1 KB
sockios.h -rw-r--r-- 312 bytes
spinlock.h -rw-r--r-- 7.4 KB
spinlock_types.h -rw-r--r-- 444 bytes
stat.h -rw-r--r-- 2.0 KB
statfs.h -rw-r--r-- 121 bytes
string.h -rw-r--r-- 351 bytes
syscall.h -rw-r--r-- 226 bytes
system.h -rw-r--r-- 9.2 KB
termbits.h -rw-r--r-- 3.8 KB
termios.h -rw-r--r-- 3.1 KB
thread_info.h -rw-r--r-- 5.0 KB
timex.h -rw-r--r-- 761 bytes
tlb.h -rw-r--r-- 444 bytes
tlbflush.h -rw-r--r-- 3.1 KB
topology.h -rw-r--r-- 128 bytes
types.h -rw-r--r-- 1.1 KB
uaccess.h -rw-r--r-- 22.0 KB
ucontext.h -rw-r--r-- 308 bytes
unaligned.h -rw-r--r-- 553 bytes
unistd.h -rw-r--r-- 13.0 KB
user.h -rw-r--r-- 2.2 KB
vga.h -rw-r--r-- 408 bytes
xor.h -rw-r--r-- 121 bytes

back to top