Searched refs:optbuf (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/net/netfilter/ |
D | nft_exthdr.c | 76 unsigned char optbuf[sizeof(struct ip_options) + 40]; in ipv4_find_option() local 77 struct ip_options *opt = (struct ip_options *)optbuf; in ipv4_find_option()
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | ip_sockglue.c | 89 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() 1541 unsigned char optbuf[sizeof(struct ip_options)+40]; in do_ip_getsockopt() local 1542 struct ip_options *opt = (struct ip_options *)optbuf; in do_ip_getsockopt() 1549 memcpy(optbuf, &inet_opt->opt, in do_ip_getsockopt()
|
D | cipso_ipv4.c | 1720 unsigned char optbuf[sizeof(struct ip_options) + 40]; in cipso_v4_error() local 1721 struct ip_options *opt = (struct ip_options *)optbuf; in cipso_v4_error()
|
D | tcp.c | 2872 static int tcp_repair_set_window(struct tcp_sock *tp, sockptr_t optbuf, int len) in tcp_repair_set_window() argument 2882 if (copy_from_sockptr(&opt, optbuf, sizeof(opt))) in tcp_repair_set_window() 2904 static int tcp_repair_options_est(struct sock *sk, sockptr_t optbuf, in tcp_repair_options_est() argument 2912 if (copy_from_sockptr_offset(&opt, optbuf, offset, sizeof(opt))) in tcp_repair_options_est()
|