Home
last modified time | relevance | path

Searched refs:user (Results 1 – 25 of 35) sorted by relevance

12

/net/ipv4/netfilter/
Darp_tables.c371 && (strcmp(t->target.u.user.name, in mark_source_chains()
410 if (strcmp(t->target.u.user.name, in mark_source_chains()
495 t->u.user.name, in find_check_entry()
496 t->u.user.revision), in find_check_entry()
497 "arpt_%s", t->u.user.name); in find_check_entry()
499 duprintf("find_check_entry: `%s' not found\n", t->u.user.name); in find_check_entry()
780 u.user.name), in copy_entries_to_user()
859 static int get_info(struct net *net, void __user *user, int *len, int compat) in get_info() argument
871 if (copy_from_user(name, user, sizeof(name)) != 0) in get_info()
902 if (copy_to_user(user, &info, *len) != 0) in get_info()
[all …]
Dip_tables.c493 && (strcmp(t->target.u.user.name, in mark_source_chains()
540 if (strcmp(t->target.u.user.name, in mark_source_chains()
635 match = try_then_request_module(xt_find_match(AF_INET, m->u.user.name, in find_check_match()
636 m->u.user.revision), in find_check_match()
637 "ipt_%s", m->u.user.name); in find_check_match()
639 duprintf("find_check_match: `%s' not found\n", m->u.user.name); in find_check_match()
702 t->u.user.name, in find_check_entry()
703 t->u.user.revision), in find_check_entry()
704 "ipt_%s", t->u.user.name); in find_check_entry()
706 duprintf("find_check_entry: `%s' not found\n", t->u.user.name); in find_check_entry()
[all …]
Dnf_defrag_ipv4.c21 static int nf_ct_ipv4_gather_frags(struct sk_buff *skb, u_int32_t user) in nf_ct_ipv4_gather_frags() argument
28 err = ip_defrag(skb, user); in nf_ct_ipv4_gather_frags()
Dnf_conntrack_l3proto_ipv4.c245 getorigdst(struct sock *sk, int optval, void __user *user, int *len) in getorigdst() argument
286 if (copy_to_user(user, &sin, sizeof(sin)) != 0) in getorigdst()
/net/ipv6/netfilter/
Dip6_tables.c522 && (strcmp(t->target.u.user.name, in mark_source_chains()
569 if (strcmp(t->target.u.user.name, in mark_source_chains()
663 match = try_then_request_module(xt_find_match(AF_INET6, m->u.user.name, in find_check_match()
664 m->u.user.revision), in find_check_match()
665 "ip6t_%s", m->u.user.name); in find_check_match()
667 duprintf("find_check_match: `%s' not found\n", m->u.user.name); in find_check_match()
731 t->u.user.name, in find_check_entry()
732 t->u.user.revision), in find_check_entry()
733 "ip6t_%s", t->u.user.name); in find_check_entry()
735 duprintf("find_check_entry: `%s' not found\n", t->u.user.name); in find_check_entry()
[all …]
/net/bridge/netfilter/
Debt_limit.c57 user2credits(u_int32_t user) in user2credits() argument
60 if (user > 0xFFFFFFFF / (HZ*CREDITS_PER_JIFFY)) in user2credits()
62 return (user / EBT_LIMIT_SCALE) * HZ * CREDITS_PER_JIFFY; in user2credits()
64 return (user * HZ * CREDITS_PER_JIFFY) / EBT_LIMIT_SCALE; in user2credits()
Debtables.c949 static int do_replace(struct net *net, void __user *user, unsigned int len) in do_replace() argument
959 if (copy_from_user(&tmp, user, sizeof(tmp)) != 0) in do_replace()
1228 static int update_counters(struct net *net, void __user *user, unsigned int len) in update_counters() argument
1235 if (copy_from_user(&hlp, user, sizeof(hlp))) in update_counters()
1325 static int copy_everything_to_user(struct ebt_table *t, void __user *user, in copy_everything_to_user() argument
1345 if (copy_from_user(&tmp, user, sizeof(tmp))) { in copy_everything_to_user()
1400 int cmd, void __user *user, unsigned int len) in do_ebt_set_ctl() argument
1406 ret = do_replace(sock_net(sk), user, len); in do_ebt_set_ctl()
1409 ret = update_counters(sock_net(sk), user, len); in do_ebt_set_ctl()
1417 static int do_ebt_get_ctl(struct sock *sk, int cmd, void __user *user, int *len) in do_ebt_get_ctl() argument
[all …]
/net/ax25/
Dax25_uid.c77 ax25_uid_assoc *user; in ax25_uid_ioctl() local
97 user = ax25_findbyuid(sax->sax25_uid); in ax25_uid_ioctl()
98 if (user) { in ax25_uid_ioctl()
99 ax25_uid_put(user); in ax25_uid_ioctl()
Dax25_route.c412 ax25_uid_assoc *user; in ax25_rt_autobind() local
424 user = ax25_findbyuid(current_euid()); in ax25_rt_autobind()
425 if (user) { in ax25_rt_autobind()
426 ax25->source_addr = user->call; in ax25_rt_autobind()
427 ax25_uid_put(user); in ax25_rt_autobind()
/net/netfilter/
Dxt_limit.c85 user2credits(u_int32_t user) in user2credits() argument
88 if (user > 0xFFFFFFFF / (HZ*CREDITS_PER_JIFFY)) in user2credits()
90 return (user / XT_LIMIT_SCALE) * HZ * CREDITS_PER_JIFFY; in user2credits()
92 return (user * HZ * CREDITS_PER_JIFFY) / XT_LIMIT_SCALE; in user2credits()
Dx_tables.c433 u_int16_t msize = cm->u.user.match_size; in xt_compat_match_from_user()
446 m->u.user.match_size = msize; in xt_compat_match_from_user()
460 u_int16_t msize = m->u.user.match_size - off; in xt_compat_match_to_user()
463 put_user(msize, &cm->u.user.match_size) || in xt_compat_match_to_user()
464 copy_to_user(cm->u.user.name, m->u.kernel.match->name, in xt_compat_match_to_user()
531 u_int16_t tsize = ct->u.user.target_size; in xt_compat_target_from_user()
544 t->u.user.target_size = tsize; in xt_compat_target_from_user()
557 u_int16_t tsize = t->u.user.target_size - off; in xt_compat_target_to_user()
560 put_user(tsize, &ct->u.user.target_size) || in xt_compat_target_to_user()
561 copy_to_user(ct->u.user.name, t->u.kernel.target->name, in xt_compat_target_to_user()
Dxt_hashlimit.c444 user2credits(u_int32_t user) in user2credits() argument
447 if (user > 0xFFFFFFFF / (HZ*CREDITS_PER_JIFFY)) in user2credits()
449 return (user / XT_HASHLIMIT_SCALE) * HZ * CREDITS_PER_JIFFY; in user2credits()
451 return (user * HZ * CREDITS_PER_JIFFY) / XT_HASHLIMIT_SCALE; in user2credits()
/net/ipv4/
Dip_fragment.c65 u32 user; member
92 u32 user; member
120 qp->user == arg->user); in ip4_frag_match()
142 qp->user = arg->user; in ip4_frag_init()
222 static inline struct ipq *ip_find(struct net *net, struct iphdr *iph, u32 user) in ip_find() argument
229 arg.user = user; in ip_find()
571 int ip_defrag(struct sk_buff *skb, u32 user) in ip_defrag() argument
584 if ((qp = ip_find(net, ip_hdr(skb), user)) != NULL) { in ip_defrag()
/net/sctp/
DKconfig23 -- acknowledged error-free non-duplicated transfer of user data,
25 -- sequenced delivery of user messages within multiple streams,
26 with an option for order-of-arrival delivery of individual user
28 -- optional bundling of multiple user messages into a single SCTP
/net/sched/
Dact_ipt.c47 target = xt_request_find_target(AF_INET, t->u.user.name, in ipt_init_target()
48 t->u.user.revision); in ipt_init_target()
259 t = kmemdup(ipt->tcfi_t, ipt->tcfi_t->u.user.target_size, GFP_ATOMIC); in tcf_ipt_dump()
265 strcpy(t->u.user.name, ipt->tcfi_t->u.kernel.target->name); in tcf_ipt_dump()
267 NLA_PUT(skb, TCA_IPT_TARG, ipt->tcfi_t->u.user.target_size, t); in tcf_ipt_dump()
/net/iucv/
DKconfig5 Select this option if you want to use inter-user communication
13 Select this option if you want to use inter-user communication under
/net/netrom/
Daf_netrom.c572 ax25_uid_assoc *user; in nr_bind() local
612 user = ax25_findbyuid(current_euid()); in nr_bind()
613 if (user) { in nr_bind()
614 nr->user_addr = user->call; in nr_bind()
615 ax25_uid_put(user); in nr_bind()
645 ax25_uid_assoc *user; in nr_connect() local
686 user = ax25_findbyuid(current_euid()); in nr_connect()
687 if (user) { in nr_connect()
688 nr->user_addr = user->call; in nr_connect()
689 ax25_uid_put(user); in nr_connect()
[all …]
/net/rose/
Daf_rose.c668 ax25_uid_assoc *user; in rose_bind() local
693 user = ax25_findbyuid(current_euid()); in rose_bind()
694 if (user) { in rose_bind()
695 rose->source_call = user->call; in rose_bind()
696 ax25_uid_put(user); in rose_bind()
731 ax25_uid_assoc *user; in rose_connect() local
794 user = ax25_findbyuid(current_euid()); in rose_connect()
795 if (!user) { in rose_connect()
801 rose->source_call = user->call; in rose_connect()
803 ax25_uid_put(user); in rose_connect()
/net/xfrm/
DKconfig10 tristate "Transformation user configuration interface"
13 Support for Transformation(XFRM) user configuration interface
/net/sunrpc/
DKconfig54 Secure RPC calls with Kerberos require an auxiliary user-space
56 available from http://linux-nfs.org/. In addition, user-space
/net/rfkill/
DKconfig23 of RF switches on and off when user presses appropriate
/net/netfilter/ipvs/
Dip_vs_ctl.c2066 do_ip_vs_set_ctl(struct sock *sk, int cmd, void __user *user, unsigned int len) in do_ip_vs_set_ctl() argument
2085 if (copy_from_user(arg, user, len) != 0) in do_ip_vs_set_ctl()
2350 do_ip_vs_get_ctl(struct sock *sk, int cmd, void __user *user, int *len) in do_ip_vs_get_ctl() argument
2364 if (copy_from_user(arg, user, get_arglen[GET_CMDID(cmd)]) != 0) in do_ip_vs_get_ctl()
2377 if (copy_to_user(user, buf, strlen(buf)+1) != 0) { in do_ip_vs_get_ctl()
2391 if (copy_to_user(user, &info, sizeof(info)) != 0) in do_ip_vs_get_ctl()
2409 ret = __ip_vs_get_service_entries(get, user); in do_ip_vs_get_ctl()
2428 if (copy_to_user(user, entry, sizeof(*entry)) != 0) in do_ip_vs_get_ctl()
2449 ret = __ip_vs_get_dest_entries(get, user); in do_ip_vs_get_ctl()
2458 if (copy_to_user(user, &t, sizeof(t)) != 0) in do_ip_vs_get_ctl()
[all …]
/net/can/
DKconfig36 sending of RTR frames, and cyclic CAN messages without permanent user
/net/bluetooth/
DKconfig28 To use Linux Bluetooth subsystem, you will need several user-space
/net/tipc/
Dmsg.h725 static inline void msg_init(struct tipc_msg *m, u32 user, u32 type, in msg_init() argument
730 msg_set_user(m, user); in msg_init()

12