/net/bridge/netfilter/ |
H A D | ebt_mark_m.c | 47 const struct compat_ebt_mark_m_info *user = src; local 50 kern->mark = user->mark; 51 kern->mask = user->mask; 52 kern->invert = user->invert; 53 kern->bitmask = user->bitmask; 58 struct compat_ebt_mark_m_info __user *user = dst; local 61 if (put_user(kern->mark, &user->mark) || 62 put_user(kern->mask, &user->mask) || 63 put_user(kern->invert, &user->invert) || 64 put_user(kern->bitmask, &user [all...] |
H A D | ebt_mark.c | 63 const struct compat_ebt_mark_t_info *user = src; local 66 kern->mark = user->mark; 67 kern->target = user->target; 72 struct compat_ebt_mark_t_info __user *user = dst; local 75 if (put_user(kern->mark, &user->mark) || 76 put_user(kern->target, &user->target))
|
H A D | ebt_limit.c | 58 user2credits(u_int32_t user) argument 61 if (user > 0xFFFFFFFF / (HZ*CREDITS_PER_JIFFY)) 63 return (user / EBT_LIMIT_SCALE) * HZ * CREDITS_PER_JIFFY; 65 return (user * HZ * CREDITS_PER_JIFFY) / EBT_LIMIT_SCALE;
|
H A D | ebtables.c | 40 * For reading or updating the counters, the user context needs to 507 if i == NF_BR_NUMHOOKS it must be a user defined chain */ 525 if (i == NF_BR_NUMHOOKS) /* it's a user defined chain */ 872 udc_cnt = 0; /* will hold the nr. of user defined chains (udc) */ 988 /* the user wants counters back 1040 /* so, a user can change the chains while having messed up her counter 1084 static int do_replace(struct net *net, const void __user *user, argument 1091 if (copy_from_user(&tmp, user, sizeof(tmp)) != 0) 1273 const void __user *user, unsigned int len) 1319 static int update_counters(struct net *net, const void __user *user, argument 1270 do_update_counters(struct net *net, const char *name, struct ebt_counter __user *counters, unsigned int num_counters, const void __user *user, unsigned int len) argument 1386 copy_counters_to_user(struct ebt_table *t, const struct ebt_counter *oldcounters, void __user *user, unsigned int num_counters, unsigned int nentries) argument 1419 copy_everything_to_user(struct ebt_table *t, void __user *user, const int *len, int cmd) argument 1471 do_ebt_set_ctl(struct sock *sk, int cmd, void __user *user, unsigned int len) argument 1493 do_ebt_get_ctl(struct sock *sk, int cmd, void __user *user, int *len) argument 1787 compat_copy_everything_to_user(struct ebt_table *t, void __user *user, int *len, int cmd) argument 2131 compat_copy_ebt_replace_from_user(struct ebt_replace *repl, void __user *user, unsigned int len) argument 2167 compat_do_replace(struct net *net, void __user *user, unsigned int len) argument 2264 compat_update_counters(struct net *net, void __user *user, unsigned int len) argument 2280 compat_do_ebt_set_ctl(struct sock *sk, int cmd, void __user *user, unsigned int len) argument 2302 compat_do_ebt_get_ctl(struct sock *sk, int cmd, void __user *user, int *len) argument [all...] |
/net/ipv4/netfilter/ |
H A D | nf_defrag_ipv4.c | 26 static int nf_ct_ipv4_gather_frags(struct sk_buff *skb, u_int32_t user) argument 33 err = ip_defrag(skb, user); 86 enum ip_defrag_users user = nf_ct_defrag_user(hooknum, skb); local 87 if (nf_ct_ipv4_gather_frags(skb, user))
|
H A D | arp_tables.c | 397 (strcmp(t->target.u.user.name, 403 if ((strcmp(t->target.u.user.name, 438 if (strcmp(t->target.u.user.name, 521 target = xt_request_find_target(NFPROTO_ARP, t->u.user.name, 522 t->u.user.revision); 524 duprintf("find_check_entry: `%s' not found\n", t->u.user.name); 548 if (strcmp(t->u.user.name, XT_STANDARD_TARGET) != 0) 615 /* Checks and translates the user-supplied table segment (held in 647 if (strcmp(arpt_get_target(iter)->u.user.name, 797 u.user 882 get_info(struct net *net, void __user *user, const int *len, int compat) argument 1057 do_replace(struct net *net, const void __user *user, unsigned int len) argument 1106 do_add_counters(struct net *net, const void __user *user, unsigned int len, int compat) argument 1479 compat_do_replace(struct net *net, void __user *user, unsigned int len) argument 1532 compat_do_arpt_set_ctl(struct sock *sk, int cmd, void __user *user, unsigned int len) argument 1676 compat_do_arpt_get_ctl(struct sock *sk, int cmd, void __user *user, int *len) argument 1698 do_arpt_set_ctl(struct sock *sk, int cmd, void __user *user, unsigned int len) argument 1722 do_arpt_get_ctl(struct sock *sk, int cmd, void __user *user, int *len) argument [all...] |
H A D | ip_tables.c | 226 /* Head of user chain: ERROR target with chainname */ 471 (strcmp(t->target.u.user.name, 477 if ((strcmp(t->target.u.user.name, 520 if (strcmp(t->target.u.user.name, 607 match = xt_request_find_match(NFPROTO_IPV4, m->u.user.name, 608 m->u.user.revision); 610 duprintf("find_check_match: `%s' not found\n", m->u.user.name); 678 target = xt_request_find_target(NFPROTO_IPV4, t->u.user.name, 679 t->u.user.revision); 681 duprintf("find_check_entry: `%s' not found\n", t->u.user 1070 get_info(struct net *net, void __user *user, const int *len, int compat) argument 1245 do_replace(struct net *net, const void __user *user, unsigned int len) argument 1294 do_add_counters(struct net *net, const void __user *user, unsigned int len, int compat) argument 1790 compat_do_replace(struct net *net, void __user *user, unsigned int len) argument 1844 compat_do_ipt_set_ctl(struct sock *sk, int cmd, void __user *user, unsigned int len) argument 1960 compat_do_ipt_get_ctl(struct sock *sk, int cmd, void __user *user, int *len) argument 1982 do_ipt_set_ctl(struct sock *sk, int cmd, void __user *user, unsigned int len) argument 2007 do_ipt_get_ctl(struct sock *sk, int cmd, void __user *user, int *len) argument [all...] |
/net/netfilter/ |
H A D | xt_limit.c | 92 static u32 user2credits(u32 user) argument 95 if (user > 0xFFFFFFFF / (HZ*CREDITS_PER_JIFFY)) 97 return (user / XT_LIMIT_SCALE) * HZ * CREDITS_PER_JIFFY; 99 return (user * HZ * CREDITS_PER_JIFFY) / XT_LIMIT_SCALE;
|
H A D | x_tables.c | 45 int delta; /* delta in 32bit user land */ 395 "%u (kernel) != (user) %u\n", 513 u_int16_t msize = cm->u.user.match_size; 526 m->u.user.match_size = msize; 540 u_int16_t msize = m->u.user.match_size - off; 543 put_user(msize, &cm->u.user.match_size) || 544 copy_to_user(cm->u.user.name, m->u.kernel.match->name, 570 "%u (kernel) != (user) %u\n", 627 u_int16_t tsize = ct->u.user.target_size; 640 t->u.user [all...] |
/net/tipc/ |
H A D | msg.c | 54 void tipc_msg_init(struct tipc_msg *m, u32 user, u32 type, argument 59 msg_set_user(m, user);
|
/net/ipv6/netfilter/ |
H A D | ip6_tables.c | 76 only need to read-lock in the softirq; doing a write_lock_bh() in user 77 context stops packets coming through and allows user context to read 252 /* Head of user chain: ERROR target with chainname */ 481 (strcmp(t->target.u.user.name, 487 if ((strcmp(t->target.u.user.name, 530 if (strcmp(t->target.u.user.name, 617 match = xt_request_find_match(NFPROTO_IPV6, m->u.user.name, 618 m->u.user.revision); 620 duprintf("find_check_match: `%s' not found\n", m->u.user.name); 689 target = xt_request_find_target(NFPROTO_IPV6, t->u.user 1080 get_info(struct net *net, void __user *user, const int *len, int compat) argument 1255 do_replace(struct net *net, const void __user *user, unsigned int len) argument 1304 do_add_counters(struct net *net, const void __user *user, unsigned int len, int compat) argument 1800 compat_do_replace(struct net *net, void __user *user, unsigned int len) argument 1854 compat_do_ip6t_set_ctl(struct sock *sk, int cmd, void __user *user, unsigned int len) argument 1970 compat_do_ip6t_get_ctl(struct sock *sk, int cmd, void __user *user, int *len) argument 1992 do_ip6t_set_ctl(struct sock *sk, int cmd, void __user *user, unsigned int len) argument 2017 do_ip6t_get_ctl(struct sock *sk, int cmd, void __user *user, int *len) argument [all...] |
H A D | nf_conntrack_reasm.c | 174 u32 user, struct in6_addr *src, 182 arg.user = user; 549 struct sk_buff *nf_ct_frag6_gather(struct sk_buff *skb, u32 user) argument 592 fq = fq_find(net, fhdr->identification, user, &hdr->saddr, &hdr->daddr, 173 fq_find(struct net *net, __be32 id, u32 user, struct in6_addr *src, struct in6_addr *dst, u8 ecn) argument
|
/net/ax25/ |
H A D | ax25_uid.c | 76 ax25_uid_assoc *user; local 101 user = ax25_findbyuid(sax25_kuid); 102 if (user) { 103 ax25_uid_put(user);
|
H A D | ax25_route.c | 413 ax25_uid_assoc *user; local 425 user = ax25_findbyuid(current_euid()); 426 if (user) { 427 ax25->source_addr = user->call; 428 ax25_uid_put(user);
|
/net/ipv4/ |
H A D | ip_fragment.c | 4 * interface as the means of communication with the user level. 71 u32 user; member in struct:ipq 104 u32 user; member in struct:ip4_create_arg 132 qp->user == arg->user; 149 qp->user = arg->user; 233 if (qp->user == IP_DEFRAG_AF_PACKET || 234 (qp->user == IP_DEFRAG_CONNTRACK_IN && 252 static inline struct ipq *ip_find(struct net *net, struct iphdr *iph, u32 user) argument 648 ip_defrag(struct sk_buff *skb, u32 user) argument 678 ip_check_defrag(struct sk_buff *skb, u32 user) argument [all...] |
/net/sched/ |
H A D | act_ipt.c | 48 target = xt_request_find_target(AF_INET, t->u.user.name, 49 t->u.user.revision); 259 /* for simple targets kernel size == user size 260 * user name = target name 264 t = kmemdup(ipt->tcfi_t, ipt->tcfi_t->u.user.target_size, GFP_ATOMIC); 270 strcpy(t->u.user.name, ipt->tcfi_t->u.kernel.target->name); 272 if (nla_put(skb, TCA_IPT_TARG, ipt->tcfi_t->u.user.target_size, t) ||
|
/net/bluetooth/hidp/ |
H A D | core.c | 65 struct l2cap_user *user); 67 struct l2cap_user *user); 887 session->user.probe = hidp_session_probe; 888 session->user.remove = hidp_session_remove; 1037 * to the hci-connection. We get the session via the \user object and can now 1044 struct l2cap_user *user) 1046 struct hidp_session *session = container_of(user, 1048 user); 1096 struct l2cap_user *user) 1098 struct hidp_session *session = container_of(user, 1043 hidp_session_probe(struct l2cap_conn *conn, struct l2cap_user *user) argument 1095 hidp_session_remove(struct l2cap_conn *conn, struct l2cap_user *user) argument [all...] |
H A D | hidp.h | 149 struct l2cap_user user; member in struct:hidp_session
|
/net/netrom/ |
H A D | af_netrom.c | 255 * This is called from user mode and the timers. Thus it protects itself 568 ax25_uid_assoc *user; local 594 * Only the super user can set an arbitrary user callsign. 607 user = ax25_findbyuid(current_euid()); 608 if (user) { 609 nr->user_addr = user->call; 610 ax25_uid_put(user); 640 ax25_uid_assoc *user; local 681 user 867 ax25_address *src, *dest, *user; local [all...] |
/net/dns_resolver/ |
H A D | dns_query.c | 44 #include <keys/user-type.h>
|
/net/atm/ |
H A D | Kconfig | 17 Note that you need a set of user-space programs to actually make use
|
/net/bluetooth/ |
H A D | Kconfig | 37 To use Linux Bluetooth subsystem, you will need several user-space
|
/net/caif/ |
H A D | Kconfig | 12 with its modems. It is accessed from user space as sockets (PF_CAIF).
|
/net/batman-adv/ |
H A D | Kconfig | 15 http://www.open-mesh.org/ for more information and user space
|
/net/can/ |
H A D | Kconfig | 36 sending of RTR frames, and cyclic CAN messages without permanent user
|