Home
last modified time | relevance | path

Searched refs:hlimit (Results 1 – 11 of 11) sorted by relevance

/linux/tools/testing/selftests/net/
H A Dcmsg_sender.c53 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 Dipv6.h359 __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 Dping.c173 if (ipc6.hlimit < 0) in ping_v6_sendmsg()
174 ipc6.hlimit = ip6_sk_dst_hoplimit(np, &fl6, dst); in ping_v6_sendmsg()
H A Dip6_output.c282 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 Ddatagram.c992 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 Dicmp.c605 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 Draw.c903 if (ipc6.hlimit < 0) in rawv6_sendmsg()
904 ipc6.hlimit = ip6_sk_dst_hoplimit(np, &fl6, dst); in rawv6_sendmsg()
H A Dudp.c1573 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 Divtvfb.c641 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 Dl2tp_ip6.c648 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 Dbr_netlink.c1034 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()