Searched refs:hlimit (Results 1 – 11 of 11) sorted by relevance
/linux/tools/testing/selftests/net/ |
H A D | cmsg_sender.c | 53 unsigned int hlimit; member 72 struct option_cmsg_u32 hlimit; member 179 opt.v6.hlimit.ena = true; in cs_parse_args() 180 opt.v6.hlimit.val = atoi(optarg); in cs_parse_args() 183 opt.sockopt.hlimit = atoi(optarg); in cs_parse_args() 260 SOL_IPV6, IPV6_HOPLIMIT, &opt.v6.hlimit); in cs_write_cmsg() 407 if (opt.sockopt.hlimit && in ca_set_sockopts() 409 &opt.sockopt.hlimit, sizeof(opt.sockopt.hlimit))) in ca_set_sockopts()
|
/linux/include/net/ |
H A D | ipv6.h | 359 __s16 hlimit; member 369 .hlimit = -1, in ipcm6_init() 379 .hlimit = -1, in ipcm6_init_sk() 911 int hlimit; in ip6_sk_dst_hoplimit() local 914 hlimit = READ_ONCE(np->mcast_hops); in ip6_sk_dst_hoplimit() 916 hlimit = READ_ONCE(np->hop_limit); in ip6_sk_dst_hoplimit() 917 if (hlimit < 0) in ip6_sk_dst_hoplimit() 918 hlimit = ip6_dst_hoplimit(dst); in ip6_sk_dst_hoplimit() 919 return hlimit; in ip6_sk_dst_hoplimit()
|
/linux/net/ipv6/ |
H A D | ping.c | 173 if (ipc6.hlimit < 0) in ping_v6_sendmsg() 174 ipc6.hlimit = ip6_sk_dst_hoplimit(np, &fl6, dst); in ping_v6_sendmsg()
|
H A D | ip6_output.c | 282 int hlimit = -1; in ip6_xmit() local 334 hlimit = READ_ONCE(np->hop_limit); in ip6_xmit() 335 if (hlimit < 0) in ip6_xmit() 336 hlimit = ip6_dst_hoplimit(dst); in ip6_xmit() 343 hdr->hop_limit = hlimit; in ip6_xmit() 1387 v6_cork->hop_limit = ipc6->hlimit; in ip6_setup_cork()
|
H A D | datagram.c | 992 ipc6->hlimit = *(int *)CMSG_DATA(cmsg); in ip6_datagram_send_ctl() 993 if (ipc6->hlimit < -1 || ipc6->hlimit > 0xff) { in ip6_datagram_send_ctl()
|
H A D | icmp.c | 605 ipc6.hlimit = ip6_sk_dst_hoplimit(np, &fl6, dst); in icmp6_send() 803 ipc6.hlimit = ip6_sk_dst_hoplimit(np, &fl6, dst); in icmpv6_echo_reply()
|
H A D | raw.c | 903 if (ipc6.hlimit < 0) in rawv6_sendmsg() 904 ipc6.hlimit = ip6_sk_dst_hoplimit(np, &fl6, dst); in rawv6_sendmsg()
|
H A D | udp.c | 1573 if (ipc6.hlimit < 0) in udpv6_sendmsg() 1574 ipc6.hlimit = ip6_sk_dst_hoplimit(np, fl6, dst); in udpv6_sendmsg()
|
/linux/drivers/media/pci/ivtv/ |
H A D | ivtvfb.c | 641 u32 pixclock, hlimit, vlimit; in _ivtvfb_check_var() local 648 hlimit = 776; in _ivtvfb_check_var() 654 hlimit = 776; in _ivtvfb_check_var() 782 var->right_margin = hlimit - var->left_margin - var->xres; in _ivtvfb_check_var()
|
/linux/net/l2tp/ |
H A D | l2tp_ip6.c | 648 if (ipc6.hlimit < 0) in l2tp_ip6_sendmsg() 649 ipc6.hlimit = ip6_sk_dst_hoplimit(np, &fl6, dst); in l2tp_ip6_sendmsg()
|
/linux/net/bridge/ |
H A D | br_netlink.c | 1034 u32 hlimit; in br_setport() local 1036 hlimit = nla_get_u32(tb[IFLA_BRPORT_MCAST_EHT_HOSTS_LIMIT]); in br_setport() 1037 err = br_multicast_eht_set_hosts_limit(p, hlimit); in br_setport()
|