Searched refs:optbuf (Results 1 – 3 of 3) sorted by relevance
| /linux/net/ipv4/ |
| H A D | ip_sockglue.c | 87 unsigned char optbuf[sizeof(struct ip_options) + 40]; in ip_cmsg_recv_retopts() local 88 struct ip_options *opt = (struct ip_options *)optbuf; in ip_cmsg_recv_retopts() 1604 unsigned char optbuf[sizeof(struct ip_options)+40]; in do_ip_getsockopt() local 1605 struct ip_options *opt = (struct ip_options *)optbuf; in do_ip_getsockopt() 1612 memcpy(optbuf, &inet_opt->opt, in do_ip_getsockopt()
|
| H A D | tcp.c | 3554 static int tcp_repair_set_window(struct tcp_sock *tp, sockptr_t optbuf, int len) in tcp_repair_set_window() argument 3564 if (copy_from_sockptr(&opt, optbuf, sizeof(opt))) in tcp_repair_set_window() 3586 static int tcp_repair_options_est(struct sock *sk, sockptr_t optbuf, in tcp_repair_options_est() argument 3594 if (copy_from_sockptr_offset(&opt, optbuf, offset, sizeof(opt))) in tcp_repair_options_est()
|
| /linux/net/netfilter/ |
| H A D | nft_exthdr.c | 85 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()
|