Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/net/
Dppp_generic.c528 struct sock_fprog uprog; in get_filter() local
532 if (copy_from_user(&uprog, arg, sizeof(uprog))) in get_filter()
535 if (!uprog.len) { in get_filter()
540 len = uprog.len * sizeof(struct sock_filter); in get_filter()
541 code = memdup_user(uprog.filter, len); in get_filter()
545 err = sk_chk_filter(code, uprog.len); in get_filter()
552 return uprog.len; in get_filter()
/linux-2.6.39/drivers/isdn/i4l/
Disdn_ppp.c438 struct sock_fprog uprog; in get_filter() local
442 if (copy_from_user(&uprog, arg, sizeof(uprog))) in get_filter()
445 if (!uprog.len) { in get_filter()
451 len = uprog.len * sizeof(struct sock_filter); in get_filter()
452 code = memdup_user(uprog.filter, len); in get_filter()
456 err = sk_chk_filter(code, uprog.len); in get_filter()
463 return uprog.len; in get_filter()