Home
last modified time | relevance | path

Searched refs:optbuf (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/net/netfilter/
H A Dnft_exthdr.c85 unsigned char optbuf[sizeof(struct ip_options) + 40]; in ipv4_find_option() local
86 struct ip_options *opt = (struct ip_options *)optbuf; in ipv4_find_option()
/kernel/linux/linux-5.10/net/ipv4/
H A Dip_sockglue.c89 unsigned char optbuf[sizeof(struct ip_options) + 40]; in ip_cmsg_recv_retopts() local
90 struct ip_options *opt = (struct ip_options *)optbuf; in ip_cmsg_recv_retopts()
1548 unsigned char optbuf[sizeof(struct ip_options)+40]; in do_ip_getsockopt() local
1549 struct ip_options *opt = (struct ip_options *)optbuf; in do_ip_getsockopt()
1556 memcpy(optbuf, &inet_opt->opt, in do_ip_getsockopt()
H A Dcipso_ipv4.c1722 unsigned char optbuf[sizeof(struct ip_options) + 40]; in cipso_v4_error() local
1723 struct ip_options *opt = (struct ip_options *)optbuf; in cipso_v4_error()
H A Dtcp.c2947 static int tcp_repair_set_window(struct tcp_sock *tp, sockptr_t optbuf, int len) in tcp_repair_set_window() argument
2957 if (copy_from_sockptr(&opt, optbuf, sizeof(opt))) in tcp_repair_set_window()
2979 static int tcp_repair_options_est(struct sock *sk, sockptr_t optbuf, in tcp_repair_options_est() argument
2987 if (copy_from_sockptr_offset(&opt, optbuf, offset, sizeof(opt))) in tcp_repair_options_est()
/kernel/linux/linux-6.6/net/ipv4/
H A Dip_sockglue.c89 unsigned char optbuf[sizeof(struct ip_options) + 40]; in ip_cmsg_recv_retopts() local
90 struct ip_options *opt = (struct ip_options *)optbuf; in ip_cmsg_recv_retopts()
1606 unsigned char optbuf[sizeof(struct ip_options)+40]; in do_ip_getsockopt() local
1607 struct ip_options *opt = (struct ip_options *)optbuf; in do_ip_getsockopt()
1614 memcpy(optbuf, &inet_opt->opt, in do_ip_getsockopt()
H A Dcipso_ipv4.c1721 unsigned char optbuf[sizeof(struct ip_options) + 40]; in cipso_v4_error() local
1722 struct ip_options *opt = (struct ip_options *)optbuf; in cipso_v4_error()
H A Dtcp.c3118 static int tcp_repair_set_window(struct tcp_sock *tp, sockptr_t optbuf, int len) in tcp_repair_set_window() argument
3128 if (copy_from_sockptr(&opt, optbuf, sizeof(opt))) in tcp_repair_set_window()
3150 static int tcp_repair_options_est(struct sock *sk, sockptr_t optbuf, in tcp_repair_options_est() argument
3158 if (copy_from_sockptr_offset(&opt, optbuf, offset, sizeof(opt))) in tcp_repair_options_est()
/kernel/linux/linux-6.6/net/netfilter/
H A Dnft_exthdr.c85 unsigned char optbuf[sizeof(struct ip_options) + 40]; in ipv4_find_option() local
86 struct ip_options *opt = (struct ip_options *)optbuf; in ipv4_find_option()

Completed in 21 milliseconds