reassembly.c (5bb053bef82523a8fd78d650bca81c9f114fa276) | reassembly.c (3d23401283e80ceb03f765842787e0e79ff598b7) |
---|---|
1/* 2 * IPv6 fragment reassembly 3 * Linux INET6 implementation 4 * 5 * Authors: 6 * Pedro Roque <roque@di.fc.ul.pt> 7 * 8 * Based on: net/ipv4/ip_fragment.c --- 534 unchanged lines hidden (view full) --- 543} 544 545static const struct inet6_protocol frag_protocol = { 546 .handler = ipv6_frag_rcv, 547 .flags = INET6_PROTO_NOPOLICY, 548}; 549 550#ifdef CONFIG_SYSCTL | 1/* 2 * IPv6 fragment reassembly 3 * Linux INET6 implementation 4 * 5 * Authors: 6 * Pedro Roque <roque@di.fc.ul.pt> 7 * 8 * Based on: net/ipv4/ip_fragment.c --- 534 unchanged lines hidden (view full) --- 543} 544 545static const struct inet6_protocol frag_protocol = { 546 .handler = ipv6_frag_rcv, 547 .flags = INET6_PROTO_NOPOLICY, 548}; 549 550#ifdef CONFIG_SYSCTL |
551static int zero; | |
552 553static struct ctl_table ip6_frags_ns_ctl_table[] = { 554 { 555 .procname = "ip6frag_high_thresh", 556 .data = &init_net.ipv6.frags.high_thresh, 557 .maxlen = sizeof(unsigned long), 558 .mode = 0644, 559 .proc_handler = proc_doulongvec_minmax, 560 .extra1 = &init_net.ipv6.frags.low_thresh 561 }, 562 { 563 .procname = "ip6frag_low_thresh", 564 .data = &init_net.ipv6.frags.low_thresh, 565 .maxlen = sizeof(unsigned long), 566 .mode = 0644, 567 .proc_handler = proc_doulongvec_minmax, | 551 552static struct ctl_table ip6_frags_ns_ctl_table[] = { 553 { 554 .procname = "ip6frag_high_thresh", 555 .data = &init_net.ipv6.frags.high_thresh, 556 .maxlen = sizeof(unsigned long), 557 .mode = 0644, 558 .proc_handler = proc_doulongvec_minmax, 559 .extra1 = &init_net.ipv6.frags.low_thresh 560 }, 561 { 562 .procname = "ip6frag_low_thresh", 563 .data = &init_net.ipv6.frags.low_thresh, 564 .maxlen = sizeof(unsigned long), 565 .mode = 0644, 566 .proc_handler = proc_doulongvec_minmax, |
568 .extra1 = &zero, | |
569 .extra2 = &init_net.ipv6.frags.high_thresh 570 }, 571 { 572 .procname = "ip6frag_time", 573 .data = &init_net.ipv6.frags.timeout, 574 .maxlen = sizeof(int), 575 .mode = 0644, 576 .proc_handler = proc_dointvec_jiffies, --- 199 unchanged lines hidden --- | 567 .extra2 = &init_net.ipv6.frags.high_thresh 568 }, 569 { 570 .procname = "ip6frag_time", 571 .data = &init_net.ipv6.frags.timeout, 572 .maxlen = sizeof(int), 573 .mode = 0644, 574 .proc_handler = proc_dointvec_jiffies, --- 199 unchanged lines hidden --- |