Searched refs:optbuf (Results 1 – 4 of 4) sorted by relevance
89 unsigned char optbuf[sizeof(struct ip_options) + 40]; in ip_cmsg_recv_retopts() local90 struct ip_options *opt = (struct ip_options *)optbuf; in ip_cmsg_recv_retopts()1342 unsigned char optbuf[sizeof(struct ip_options)+40]; in do_ip_getsockopt() local1343 struct ip_options *opt = (struct ip_options *)optbuf; in do_ip_getsockopt()1350 memcpy(optbuf, &inet_opt->opt, in do_ip_getsockopt()
2726 static int tcp_repair_set_window(struct tcp_sock *tp, char __user *optbuf, int len) in tcp_repair_set_window() argument2736 if (copy_from_user(&opt, optbuf, sizeof(opt))) in tcp_repair_set_window()2759 struct tcp_repair_opt __user *optbuf, unsigned int len) in tcp_repair_options_est() argument2765 if (copy_from_user(&opt, optbuf, sizeof(opt))) in tcp_repair_options_est()2768 optbuf++; in tcp_repair_options_est()
1721 unsigned char optbuf[sizeof(struct ip_options) + 40]; in cipso_v4_error() local1722 struct ip_options *opt = (struct ip_options *)optbuf; in cipso_v4_error()
76 unsigned char optbuf[sizeof(struct ip_options) + 40]; in ipv4_find_option() local77 struct ip_options *opt = (struct ip_options *)optbuf; in ipv4_find_option()