Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ppp/
Dppp_generic.c555 static struct bpf_prog *get_filter(struct sock_fprog *uprog) in get_filter() argument
561 if (!uprog->len) in get_filter()
565 fprog.len = uprog->len; in get_filter()
566 fprog.filter = memdup_user(uprog->filter, in get_filter()
567 uprog->len * sizeof(struct sock_filter)); in get_filter()
579 struct sock_fprog uprog; in ppp_get_filter() local
581 if (copy_from_user(&uprog, p, sizeof(struct sock_fprog))) in ppp_get_filter()
583 return get_filter(&uprog); in ppp_get_filter()
598 struct sock_fprog uprog; in compat_ppp_get_filter() local
602 uprog.len = uprog32.len; in compat_ppp_get_filter()
[all …]