Searched refs:hlimit (Results 1 – 11 of 11) sorted by relevance
/linux-6.1.9/tools/testing/selftests/net/ |
D | cmsg_sender.c | 52 unsigned int hlimit; member 70 struct option_cmsg_u32 hlimit; member 171 opt.v6.hlimit.ena = true; in cs_parse_args() 172 opt.v6.hlimit.val = atoi(optarg); in cs_parse_args() 175 opt.sockopt.hlimit = atoi(optarg); in cs_parse_args() 252 SOL_IPV6, IPV6_HOPLIMIT, &opt.v6.hlimit); in cs_write_cmsg() 409 if (opt.sockopt.hlimit && in ca_set_sockopts() 411 &opt.sockopt.hlimit, sizeof(opt.sockopt.hlimit))) in ca_set_sockopts()
|
/linux-6.1.9/include/net/ |
D | ipv6.h | 359 __s16 hlimit; member 369 .hlimit = -1, in ipcm6_init() 379 .hlimit = -1, in ipcm6_init_sk() 879 int hlimit; in ip6_sk_dst_hoplimit() local 882 hlimit = np->mcast_hops; in ip6_sk_dst_hoplimit() 884 hlimit = np->hop_limit; in ip6_sk_dst_hoplimit() 885 if (hlimit < 0) in ip6_sk_dst_hoplimit() 886 hlimit = ip6_dst_hoplimit(dst); in ip6_sk_dst_hoplimit() 887 return hlimit; in ip6_sk_dst_hoplimit()
|
/linux-6.1.9/net/ipv6/ |
D | ping.c | 177 if (ipc6.hlimit < 0) in ping_v6_sendmsg() 178 ipc6.hlimit = ip6_sk_dst_hoplimit(np, &fl6, dst); in ping_v6_sendmsg()
|
D | ip6_output.c | 263 int hlimit = -1; in ip6_xmit() local 311 hlimit = np->hop_limit; in ip6_xmit() 312 if (hlimit < 0) in ip6_xmit() 313 hlimit = ip6_dst_hoplimit(dst); in ip6_xmit() 320 hdr->hop_limit = hlimit; in ip6_xmit() 1436 v6_cork->hop_limit = ipc6->hlimit; in ip6_setup_cork()
|
D | datagram.c | 991 ipc6->hlimit = *(int *)CMSG_DATA(cmsg); in ip6_datagram_send_ctl() 992 if (ipc6->hlimit < -1 || ipc6->hlimit > 0xff) { in ip6_datagram_send_ctl()
|
D | icmp.c | 594 ipc6.hlimit = ip6_sk_dst_hoplimit(np, &fl6, dst); in icmp6_send() 789 ipc6.hlimit = ip6_sk_dst_hoplimit(np, &fl6, dst); in icmpv6_echo_reply()
|
D | raw.c | 903 if (ipc6.hlimit < 0) in rawv6_sendmsg() 904 ipc6.hlimit = ip6_sk_dst_hoplimit(np, &fl6, dst); in rawv6_sendmsg()
|
D | udp.c | 1565 if (ipc6.hlimit < 0) in udpv6_sendmsg() 1566 ipc6.hlimit = ip6_sk_dst_hoplimit(np, fl6, dst); in udpv6_sendmsg()
|
/linux-6.1.9/drivers/media/pci/ivtv/ |
D | ivtvfb.c | 640 u32 pixclock, hlimit, vlimit; in _ivtvfb_check_var() local 647 hlimit = 776; in _ivtvfb_check_var() 653 hlimit = 776; in _ivtvfb_check_var() 781 var->right_margin = hlimit - var->left_margin - var->xres; in _ivtvfb_check_var()
|
/linux-6.1.9/net/l2tp/ |
D | l2tp_ip6.c | 625 if (ipc6.hlimit < 0) in l2tp_ip6_sendmsg() 626 ipc6.hlimit = ip6_sk_dst_hoplimit(np, &fl6, dst); in l2tp_ip6_sendmsg()
|
/linux-6.1.9/net/bridge/ |
D | br_netlink.c | 992 u32 hlimit; in br_setport() local 994 hlimit = nla_get_u32(tb[IFLA_BRPORT_MCAST_EHT_HOSTS_LIMIT]); in br_setport() 995 err = br_multicast_eht_set_hosts_limit(p, hlimit); in br_setport()
|