| /kernel/linux/linux-5.10/net/netfilter/ |
| D | xt_hl.c | 3 * IP tables module for matching the value of the TTL 20 MODULE_DESCRIPTION("Xtables: Hoplimit/TTL field match"); 28 const u8 ttl = ip_hdr(skb)->ttl; in ttl_mt() local 32 return ttl == info->ttl; in ttl_mt() 34 return ttl != info->ttl; in ttl_mt() 36 return ttl < info->ttl; in ttl_mt() 38 return ttl > info->ttl; in ttl_mt() 65 .name = "ttl",
|
| D | xt_HL.c | 3 * TTL modification target for IP tables 22 MODULE_DESCRIPTION("Xtables: Hoplimit/TTL Limit field modification target"); 39 new_ttl = info->ttl; in ttl_tg() 42 new_ttl = iph->ttl + info->ttl; in ttl_tg() 47 new_ttl = iph->ttl - info->ttl; in ttl_tg() 52 new_ttl = iph->ttl; in ttl_tg() 56 if (new_ttl != iph->ttl) { in ttl_tg() 57 csum_replace2(&iph->check, htons(iph->ttl << 8), in ttl_tg() 59 iph->ttl = new_ttl; in ttl_tg() 107 if (info->mode != IPT_TTL_SET && info->ttl == 0) in ttl_tg_check() [all …]
|
| D | nft_osf.c | 10 u8 ttl; member 47 if (!nf_osf_find(skb, nf_osf_fingers, priv->ttl, &data)) { in nft_osf_eval() 67 u8 ttl; in nft_osf_init() local 73 ttl = nla_get_u8(tb[NFTA_OSF_TTL]); in nft_osf_init() 74 if (ttl > 2) in nft_osf_init() 76 priv->ttl = ttl; in nft_osf_init() 99 if (nla_put_u8(skb, NFTA_OSF_TTL, priv->ttl)) in nft_osf_dump()
|
| D | xt_recent.c | 71 u_int8_t ttl; member 126 u_int8_t ttl) in recent_entry_lookup() argument 139 (ttl == e->ttl || ttl == 0 || e->ttl == 0)) in recent_entry_lookup() 180 u_int16_t family, u_int8_t ttl) in recent_entry_init() argument 195 e->ttl = ttl; in recent_entry_init() 248 u_int8_t ttl; in recent_mt() local 259 ttl = iph->ttl; in recent_mt() 268 ttl = iph->hop_limit; in recent_mt() 271 /* use TTL as seen before forwarding */ in recent_mt() 274 ttl++; in recent_mt() [all …]
|
| /kernel/linux/linux-6.6/net/netfilter/ |
| D | xt_hl.c | 3 * IP tables module for matching the value of the TTL 20 MODULE_DESCRIPTION("Xtables: Hoplimit/TTL field match"); 28 const u8 ttl = ip_hdr(skb)->ttl; in ttl_mt() local 32 return ttl == info->ttl; in ttl_mt() 34 return ttl != info->ttl; in ttl_mt() 36 return ttl < info->ttl; in ttl_mt() 38 return ttl > info->ttl; in ttl_mt() 65 .name = "ttl",
|
| D | xt_HL.c | 3 * TTL modification target for IP tables 22 MODULE_DESCRIPTION("Xtables: Hoplimit/TTL Limit field modification target"); 39 new_ttl = info->ttl; in ttl_tg() 42 new_ttl = iph->ttl + info->ttl; in ttl_tg() 47 new_ttl = iph->ttl - info->ttl; in ttl_tg() 52 new_ttl = iph->ttl; in ttl_tg() 56 if (new_ttl != iph->ttl) { in ttl_tg() 57 csum_replace2(&iph->check, htons(iph->ttl << 8), in ttl_tg() 59 iph->ttl = new_ttl; in ttl_tg() 107 if (info->mode != IPT_TTL_SET && info->ttl == 0) in ttl_tg_check() [all …]
|
| D | nft_osf.c | 10 u8 ttl; member 47 if (!nf_osf_find(skb, nf_osf_fingers, priv->ttl, &data)) { in nft_osf_eval() 67 u8 ttl; in nft_osf_init() local 73 ttl = nla_get_u8(tb[NFTA_OSF_TTL]); in nft_osf_init() 74 if (ttl > 2) in nft_osf_init() 76 priv->ttl = ttl; in nft_osf_init() 100 if (nla_put_u8(skb, NFTA_OSF_TTL, priv->ttl)) in nft_osf_dump() 149 priv->ttl != osf->ttl) { in nft_osf_reduce()
|
| D | xt_recent.c | 71 u_int8_t ttl; member 126 u_int8_t ttl) in recent_entry_lookup() argument 139 (ttl == e->ttl || ttl == 0 || e->ttl == 0)) in recent_entry_lookup() 180 u_int16_t family, u_int8_t ttl) in recent_entry_init() argument 195 e->ttl = ttl; in recent_entry_init() 248 u_int8_t ttl; in recent_mt() local 259 ttl = iph->ttl; in recent_mt() 268 ttl = iph->hop_limit; in recent_mt() 271 /* use TTL as seen before forwarding */ in recent_mt() 274 ttl++; in recent_mt() [all …]
|
| /kernel/linux/linux-5.10/net/mpls/ |
| D | mpls_iptunnel.c | 52 unsigned int ttl; in mpls_xmit() local 68 /* Obtain the ttl using the following set of rules. in mpls_xmit() 70 * LWT ttl propagation setting: in mpls_xmit() 71 * - disabled => use default TTL value from LWT in mpls_xmit() 72 * - enabled => use TTL value from IPv4/IPv6 header in mpls_xmit() 74 * Global ttl propagation setting: in mpls_xmit() 75 * - disabled => use default TTL value from global setting in mpls_xmit() 76 * - enabled => use TTL value from IPv4/IPv6 header in mpls_xmit() 80 ttl = tun_encap_info->default_ttl; in mpls_xmit() 83 ttl = net->mpls.default_ttl; in mpls_xmit() [all …]
|
| /kernel/linux/linux-6.6/net/mpls/ |
| D | mpls_iptunnel.c | 52 unsigned int ttl; in mpls_xmit() local 68 /* Obtain the ttl using the following set of rules. in mpls_xmit() 70 * LWT ttl propagation setting: in mpls_xmit() 71 * - disabled => use default TTL value from LWT in mpls_xmit() 72 * - enabled => use TTL value from IPv4/IPv6 header in mpls_xmit() 74 * Global ttl propagation setting: in mpls_xmit() 75 * - disabled => use default TTL value from global setting in mpls_xmit() 76 * - enabled => use TTL value from IPv4/IPv6 header in mpls_xmit() 80 ttl = tun_encap_info->default_ttl; in mpls_xmit() 83 ttl = net->mpls.default_ttl; in mpls_xmit() [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/ |
| D | vxlan.sh | 67 ttl 20 tos inherit local 198.51.100.1 dstport 4789 84 ttl 20 tos inherit local 198.51.100.1 dstport 4789 101 ttl 20 tos inherit local 198.51.100.1 dstport 4789 119 ttl 20 tos inherit local 198.51.100.1 dstport 4789 \ 138 ttl 20 tos inherit dstport 4789 155 ttl 20 tos inherit local 2001:db8::1 dstport 4789 172 ttl 20 tos inherit local 198.51.100.1 dstport 4789 190 ttl 20 tos inherit local 198.51.100.1 dstport 4789 dev dummy1 208 ttl 20 tos inherit local 198.51.100.1 dstport 4789 \ 226 ttl 20 tos 20 local 198.51.100.1 dstport 4789 [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/ |
| D | vxlan.sh | 92 ttl 20 tos inherit local $LOCAL_IP_1 dstport 4789 109 ttl 20 tos inherit local $LOCAL_IP_1 dstport 4789 126 ttl 20 tos inherit local $LOCAL_IP_1 dstport 4789 144 ttl 20 tos inherit local $LOCAL_IP_1 dstport 4789 \ 163 ttl 20 tos inherit dstport 4789 180 ttl 20 tos inherit local $LOCAL_IP_1 dstport 4789 198 ttl 20 tos inherit local $LOCAL_IP_1 dstport 4789 dev dummy1 216 ttl 20 tos inherit local $LOCAL_IP_1 dstport 4789 \ 234 ttl 20 tos 20 local $LOCAL_IP_1 dstport 4789 251 ttl inherit tos inherit local $LOCAL_IP_1 dstport 4789 [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/tc-testing/tc-tests/actions/ |
| D | mpls.json | 286 "name": "Add mpls dec_ttl action with ttl (invalid)", 299 "cmdUnderTest": "$TC actions add action mpls dec_ttl ttl 20", 302 "matchPattern": "action order [0-9]+: mpls.*dec_ttl.*ttl.*20.*pipe", 468 "name": "Add mpls pop action with ttl (invalid)", 481 "cmdUnderTest": "$TC actions add action mpls pop protocol ipv4 ttl 20", 484 "matchPattern": "action order [0-9]+: mpls.*pop.*ttl.*20.*pipe", 528 …"matchPattern": "action order [0-9]+: mpls.*push.*protocol.*mpls_uc.*label.*20.*ttl.*[0-9]+.*pipe", 552 …"matchPattern": "action order [0-9]+: mpls.*push.*protocol.*mpls_mc.*label.*20.*ttl.*[0-9]+.*pipe", 560 "name": "Add mpls push action with label, tc and ttl", 573 "cmdUnderTest": "$TC actions add action mpls push label 20 tc 3 ttl 128", [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/tc-testing/tc-tests/actions/ |
| D | mpls.json | 286 "name": "Add mpls dec_ttl action with ttl (invalid)", 299 "cmdUnderTest": "$TC actions add action mpls dec_ttl ttl 20", 302 "matchPattern": "action order [0-9]+: mpls.*dec_ttl.*ttl.*20.*pipe", 468 "name": "Add mpls pop action with ttl (invalid)", 481 "cmdUnderTest": "$TC actions add action mpls pop protocol ipv4 ttl 20", 484 "matchPattern": "action order [0-9]+: mpls.*pop.*ttl.*20.*pipe", 528 …"matchPattern": "action order [0-9]+: mpls.*push.*protocol.*mpls_uc.*label.*20.*ttl.*[0-9]+.*pipe", 552 …"matchPattern": "action order [0-9]+: mpls.*push.*protocol.*mpls_mc.*label.*20.*ttl.*[0-9]+.*pipe", 560 "name": "Add mpls push action with label, tc and ttl", 573 "cmdUnderTest": "$TC actions add action mpls push label 20 tc 3 ttl 128", [all …]
|
| /kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
| D | batadv_packet.h | 88 __u8 ttl; member 101 __u8 ttl; member 120 __u8 ttl; member 130 __u8 ttl; member 141 __u8 ttl; member 159 __u8 ttl; member 172 __u8 ttl; member 187 __u8 ttl; member 207 __u8 ttl; member 216 __u8 ttl; member [all …]
|
| /kernel/linux/linux-5.10/include/uapi/linux/ |
| D | batadv_packet.h | 199 * @ttl: time to live for this packet, part of the general header 211 __u8 ttl; member 227 * @ttl: time to live for this packet, part of the general header 237 __u8 ttl; member 269 * @ttl: time to live for this packet, part of the general header 283 __u8 ttl; member 295 * @ttl: time to live for this packet, part of the general header 306 __u8 ttl; member 319 * @ttl: time to live for this packet, part of the general header 335 __u8 ttl; member [all …]
|
| /kernel/linux/linux-6.6/include/uapi/linux/ |
| D | batadv_packet.h | 201 * @ttl: time to live for this packet, part of the general header 213 __u8 ttl; member 229 * @ttl: time to live for this packet, part of the general header 239 __u8 ttl; member 271 * @ttl: time to live for this packet, part of the general header 285 __u8 ttl; member 297 * @ttl: time to live for this packet, part of the general header 308 __u8 ttl; member 321 * @ttl: time to live for this packet, part of the general header 337 __u8 ttl; member [all …]
|
| /kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/ |
| D | batadv_packet.h | 100 __u8 ttl; member 113 __u8 ttl; member 132 __u8 ttl; member 142 __u8 ttl; member 153 __u8 ttl; member 171 __u8 ttl; member 184 __u8 ttl; member 197 __u8 ttl; member 217 __u8 ttl; member 225 __u8 ttl; member [all …]
|
| /kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
| D | batadv_packet.h | 100 __u8 ttl; member 113 __u8 ttl; member 132 __u8 ttl; member 142 __u8 ttl; member 153 __u8 ttl; member 171 __u8 ttl; member 184 __u8 ttl; member 197 __u8 ttl; member 217 __u8 ttl; member 225 __u8 ttl; member [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/display/bridge/ |
| D | thine,thc63lvd1024.yaml | 16 modes, handling up to two LVDS input streams and up to two digital CMOS/TTL 38 CMOS/TTL port and port@3 shall not contain any endpoint. In dual output 39 mode pixels are output from both CMOS/TTL ports and both port@2 and 53 description: First digital CMOS/TTL parallel output 57 description: Second digital CMOS/TTL parallel output 73 Power supply for the TTL output, TTL CLOCKOUT signal, LVDS input, PLL and
|
| /kernel/linux/linux-6.6/arch/um/drivers/ |
| D | umcast_kern.c | 23 int ttl; member 39 dpri->ttl = init->ttl; in umcast_init() 47 "TTL:%u\n", dpri->addr, dpri->lport, dpri->ttl); in umcast_init() 79 .ttl = 1 }); in mcast_setup() 99 init->ttl = simple_strtoul(ttl_str, &last, 10); in mcast_setup() 101 printk(KERN_ERR "mcast_setup - Bad ttl : '%s'\n", in mcast_setup() 111 init->lport, init->ttl); in mcast_setup()
|
| /kernel/linux/linux-5.10/arch/um/drivers/ |
| D | umcast_kern.c | 23 int ttl; member 39 dpri->ttl = init->ttl; in umcast_init() 47 "TTL:%u\n", dpri->addr, dpri->lport, dpri->ttl); in umcast_init() 79 .ttl = 1 }); in mcast_setup() 99 init->ttl = simple_strtoul(ttl_str, &last, 10); in mcast_setup() 101 printk(KERN_ERR "mcast_setup - Bad ttl : '%s'\n", in mcast_setup() 111 init->lport, init->ttl); in mcast_setup()
|
| /kernel/linux/linux-6.6/net/xfrm/ |
| D | xfrm_inout.h | 17 XFRM_MODE_SKB_CB(skb)->ttl = iph->ttl; in xfrm4_extract_header() 32 XFRM_MODE_SKB_CB(skb)->ttl = iph->hop_limit; in xfrm6_extract_header() 52 iph->hop_limit = XFRM_MODE_SKB_CB(skb)->ttl; in xfrm6_beet_make_header() 67 iph->ttl = XFRM_MODE_SKB_CB(skb)->ttl; in xfrm4_beet_make_header()
|
| /kernel/linux/linux-5.10/net/xfrm/ |
| D | xfrm_inout.h | 17 XFRM_MODE_SKB_CB(skb)->ttl = iph->ttl; in xfrm4_extract_header() 32 XFRM_MODE_SKB_CB(skb)->ttl = iph->hop_limit; in xfrm6_extract_header() 52 iph->hop_limit = XFRM_MODE_SKB_CB(skb)->ttl; in xfrm6_beet_make_header() 67 iph->ttl = XFRM_MODE_SKB_CB(skb)->ttl; in xfrm4_beet_make_header()
|
| /kernel/linux/linux-5.10/drivers/gpio/ |
| D | gpio-pcie-idio-24.c | 80 * @ttl_out0_7: Read: TTL/CMOS Outputs 0-7 81 * Write: TTL/CMOS Outputs 0-7 88 * @ttl_in0_7: Read: TTL/CMOS Inputs 0-7 96 * @cos_ttl0_7: Read: COS Status TTL/CMOS 0-7 97 * Write: COS Clear TTL/CMOS 0-7 155 /* TTL/CMOS I/O */ in idio_24_gpio_get_direction() 156 /* OUT MODE = 1 when TTL/CMOS Output Mode is set */ in idio_24_gpio_get_direction() 171 /* TTL/CMOS I/O */ in idio_24_gpio_direction_input() 175 /* Clear TTL/CMOS Output Mode */ in idio_24_gpio_direction_input() 193 /* TTL/CMOS I/O */ in idio_24_gpio_direction_output() [all …]
|