Searched refs:bind (Results 1 - 25 of 68) sorted by relevance

123

/net/sched/
H A Dact_simple.c58 static int tcf_simp_release(struct tcf_defact *d, int bind) argument
62 if (bind)
100 int ovr, int bind)
125 pc = tcf_hash_check(parm->index, a, bind, &simp_hash_info);
127 pc = tcf_hash_create(parm->index, est, a, sizeof(*d), bind,
146 tcf_simp_release(d, bind);
157 static int tcf_simp_cleanup(struct tc_action *a, int bind) argument
162 return tcf_simp_release(d, bind);
167 int bind, int ref)
174 .bindcnt = d->tcf_bindcnt - bind,
98 tcf_simp_init(struct net *net, struct nlattr *nla, struct nlattr *est, struct tc_action *a, int ovr, int bind) argument
166 tcf_simp_dump(struct sk_buff *skb, struct tc_action *a, int bind, int ref) argument
[all...]
H A Dact_gact.c63 int ovr, int bind)
97 pc = tcf_hash_check(parm->index, a, bind, &gact_hash_info);
100 bind, &gact_idx_gen, &gact_hash_info);
106 tcf_hash_release(pc, bind, &gact_hash_info);
128 static int tcf_gact_cleanup(struct tc_action *a, int bind) argument
133 return tcf_hash_release(&gact->common, bind, &gact_hash_info);
162 static int tcf_gact_dump(struct sk_buff *skb, struct tc_action *a, int bind, int ref) argument
169 .bindcnt = gact->tcf_bindcnt - bind,
61 tcf_gact_init(struct net *net, struct nlattr *nla, struct nlattr *est, struct tc_action *a, int ovr, int bind) argument
H A Dact_pedit.c43 int ovr, int bind)
67 pc = tcf_hash_check(parm->index, a, bind, &pedit_hash_info);
71 pc = tcf_hash_create(parm->index, est, a, sizeof(*p), bind,
88 tcf_hash_release(pc, bind, &pedit_hash_info);
113 static int tcf_pedit_cleanup(struct tc_action *a, int bind) argument
119 if (tcf_hash_release(&p->common, bind, &pedit_hash_info)) {
197 int bind, int ref)
219 opt->bindcnt = p->tcf_bindcnt - bind;
41 tcf_pedit_init(struct net *net, struct nlattr *nla, struct nlattr *est, struct tc_action *a, int ovr, int bind) argument
196 tcf_pedit_dump(struct sk_buff *skb, struct tc_action *a, int bind, int ref) argument
H A Dact_skbedit.c72 int ovr, int bind)
112 pc = tcf_hash_check(parm->index, a, bind, &skbedit_hash_info);
114 pc = tcf_hash_create(parm->index, est, a, sizeof(*d), bind,
124 tcf_hash_release(pc, bind, &skbedit_hash_info);
148 static int tcf_skbedit_cleanup(struct tc_action *a, int bind) argument
153 return tcf_hash_release(&d->common, bind, &skbedit_hash_info);
158 int bind, int ref)
165 .bindcnt = d->tcf_bindcnt - bind,
70 tcf_skbedit_init(struct net *net, struct nlattr *nla, struct nlattr *est, struct tc_action *a, int ovr, int bind) argument
157 tcf_skbedit_dump(struct sk_buff *skb, struct tc_action *a, int bind, int ref) argument
H A Dact_mirred.c44 static int tcf_mirred_release(struct tcf_mirred *m, int bind) argument
47 if (bind)
67 int bind)
112 pc = tcf_hash_check(parm->index, a, bind, &mirred_hash_info);
116 pc = tcf_hash_create(parm->index, est, a, sizeof(*m), bind,
123 tcf_mirred_release(to_mirred(pc), bind); local
149 static int tcf_mirred_cleanup(struct tc_action *a, int bind) argument
154 return tcf_mirred_release(m, bind);
215 static int tcf_mirred_dump(struct sk_buff *skb, struct tc_action *a, int bind, int ref) argument
223 .bindcnt = m->tcf_bindcnt - bind,
65 tcf_mirred_init(struct net *net, struct nlattr *nla, struct nlattr *est, struct tc_action *a, int ovr, int bind) argument
[all...]
H A Dact_nat.c48 struct tc_action *a, int ovr, int bind)
67 pc = tcf_hash_check(parm->index, a, bind, &nat_hash_info);
69 pc = tcf_hash_create(parm->index, est, a, sizeof(*p), bind,
78 tcf_hash_release(pc, bind, &nat_hash_info);
98 static int tcf_nat_cleanup(struct tc_action *a, int bind) argument
102 return tcf_hash_release(&p->common, bind, &nat_hash_info);
270 int bind, int ref)
283 .bindcnt = p->tcf_bindcnt - bind,
47 tcf_nat_init(struct net *net, struct nlattr *nla, struct nlattr *est, struct tc_action *a, int ovr, int bind) argument
269 tcf_nat_dump(struct sk_buff *skb, struct tc_action *a, int bind, int ref) argument
H A Dact_ipt.c80 static int tcf_ipt_release(struct tcf_ipt *ipt, int bind) argument
84 if (bind)
106 struct tc_action *a, int ovr, int bind)
136 pc = tcf_hash_check(index, a, bind, &ipt_hash_info);
138 pc = tcf_hash_create(index, est, a, sizeof(*ipt), bind,
145 tcf_ipt_release(to_ipt(pc), bind); local
197 static int tcf_ipt_cleanup(struct tc_action *a, int bind) argument
200 return tcf_ipt_release(ipt, bind);
251 static int tcf_ipt_dump(struct sk_buff *skb, struct tc_action *a, int bind, int ref) argument
268 c.bindcnt = ipt->tcf_bindcnt - bind;
105 tcf_ipt_init(struct net *net, struct nlattr *nla, struct nlattr *est, struct tc_action *a, int ovr, int bind) argument
[all...]
H A Dact_api.c54 int tcf_hash_release(struct tcf_common *p, int bind, argument
60 if (bind)
211 struct tcf_common *tcf_hash_check(u32 index, struct tc_action *a, int bind, argument
216 if (bind)
226 struct tc_action *a, int size, int bind,
234 if (bind)
403 void tcf_action_destroy(struct tc_action *act, int bind) argument
409 if (a->ops->cleanup(a, bind) == ACT_P_DELETED)
423 tcf_action_dump_old(struct sk_buff *skb, struct tc_action *a, int bind, int ref) argument
429 return a->ops->dump(skb, a, bind, re
225 tcf_hash_create(u32 index, struct nlattr *est, struct tc_action *a, int size, int bind, u32 *idx_gen, struct tcf_hashinfo *hinfo) argument
433 tcf_action_dump_1(struct sk_buff *skb, struct tc_action *a, int bind, int ref) argument
462 tcf_action_dump(struct sk_buff *skb, struct tc_action *act, int bind, int ref) argument
488 tcf_action_init_1(struct net *net, struct nlattr *nla, struct nlattr *est, char *name, int ovr, int bind) argument
570 tcf_action_init(struct net *net, struct nlattr *nla, struct nlattr *est, char *name, int ovr, int bind) argument
649 tca_get_fill(struct sk_buff *skb, struct tc_action *a, u32 portid, u32 seq, u16 flags, int event, int bind, int ref) argument
[all...]
H A Dact_police.c146 int ovr, int bind)
177 if (bind) {
193 if (bind)
289 static int tcf_act_police_cleanup(struct tc_action *a, int bind) argument
295 if (bind)
365 tcf_act_police_dump(struct sk_buff *skb, struct tc_action *a, int bind, int ref) argument
375 .bindcnt = police->tcf_bindcnt - bind,
144 tcf_act_police_locate(struct net *net, struct nlattr *nla, struct nlattr *est, struct tc_action *a, int ovr, int bind) argument
H A Dact_csum.c55 struct tc_action *a, int ovr, int bind)
74 pc = tcf_hash_check(parm->index, a, bind, &csum_hash_info);
76 pc = tcf_hash_create(parm->index, est, a, sizeof(*p), bind,
85 tcf_hash_release(pc, bind, &csum_hash_info);
101 static int tcf_csum_cleanup(struct tc_action *a, int bind) argument
104 return tcf_hash_release(&p->common, bind, &csum_hash_info);
551 struct tc_action *a, int bind, int ref)
560 .bindcnt = p->tcf_bindcnt - bind,
54 tcf_csum_init(struct net *n, struct nlattr *nla, struct nlattr *est, struct tc_action *a, int ovr, int bind) argument
550 tcf_csum_dump(struct sk_buff *skb, struct tc_action *a, int bind, int ref) argument
/net/netlink/
H A Daf_netlink.h75 void (*bind)(int group); member in struct:netlink_table
/net/rds/
H A DMakefile2 rds-y := af_rds.o bind.o cong.o connection.o info.o message.o \
H A Dtcp_connect.c91 ret = sock->ops->bind(sock, (struct sockaddr *)&src, sizeof(src));
93 rdsdebug("bind failed with %d at address %pI4\n",
H A Dtcp_listen.c160 ret = sock->ops->bind(sock, (struct sockaddr *)&sin, sizeof(sin));
/net/ieee802154/
H A Daf_ieee802154.c119 if (sk->sk_prot->bind)
120 return sk->sk_prot->bind(sk, uaddr, addr_len);
192 .bind = ieee802154_sock_bind,
217 .bind = ieee802154_sock_bind,
H A Draw.c259 .bind = raw_bind,
/net/atm/
H A Dpvc.c111 .bind = pvc_bind,
/net/bluetooth/bnep/
H A Dsock.c167 .bind = sock_no_bind,
/net/tipc/
H A Dsocket.c295 * bind - associate or disassocate TIPC name(s) with a socket
309 static int bind(struct socket *sock, struct sockaddr *uaddr, int uaddr_len) function
1782 .bind = bind,
1803 .bind = bind,
1824 .bind = bind,
/net/bluetooth/cmtp/
H A Dsock.c177 .bind = sock_no_bind,
/net/bluetooth/hidp/
H A Dsock.c207 .bind = sock_no_bind,
/net/ipv6/
H A Daf_inet6.c274 /* bind for INET6 API */
287 /* If the socket has its own bind function then use it. */
288 if (sk->sk_prot->bind)
289 return sk->sk_prot->bind(sk, uaddr, addr_len);
307 /* Check these errors (active socket, double bind). */
387 /* Make sure we are allowed to bind here. */
551 .bind = inet6_bind,
577 .bind = inet6_bind,
H A Dping.c40 .bind = ping_bind,
/net/netfilter/
H A Dnfnetlink.c249 .bind = nfnetlink_bind,
/net/phonet/
H A Dsocket.c174 if (sk->sk_prot->bind)
175 return sk->sk_prot->bind(sk, addr, len);
198 /* get_port() sets the port, bind() sets the address if applicable */
332 if (!peer) /* Race with bind() here is userland's problem. */
443 .bind = pn_socket_bind,
468 .bind = pn_socket_bind,

Completed in 275 milliseconds

123