Home
last modified time | relevance | path

Searched refs:optbuf (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/net/ipv4/
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()
1335 unsigned char optbuf[sizeof(struct ip_options)+40]; in do_ip_getsockopt() local
1336 struct ip_options *opt = (struct ip_options *)optbuf; in do_ip_getsockopt()
1343 memcpy(optbuf, &inet_opt->opt, in do_ip_getsockopt()
Dtcp.c2624 static int tcp_repair_set_window(struct tcp_sock *tp, char __user *optbuf, int len) in tcp_repair_set_window() argument
2634 if (copy_from_user(&opt, optbuf, sizeof(opt))) in tcp_repair_set_window()
2657 struct tcp_repair_opt __user *optbuf, unsigned int len) in tcp_repair_options_est() argument
2663 if (copy_from_user(&opt, optbuf, sizeof(opt))) in tcp_repair_options_est()
2666 optbuf++; in tcp_repair_options_est()