Searched refs:sk_prot (Results 1 - 25 of 36) sorted by relevance

12

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/net/
H A Dtimewait_sock.h27 if (sk->sk_prot->twsk_prot->twsk_unique != NULL)
28 return sk->sk_prot->twsk_prot->twsk_unique(sk, sktw, twp);
35 BUG_ON(sk->sk_prot == NULL);
36 BUG_ON(sk->sk_prot->twsk_prot == NULL);
37 if (sk->sk_prot->twsk_prot->twsk_destructor != NULL)
38 sk->sk_prot->twsk_prot->twsk_destructor(sk);
H A Dsock.h153 * @sk_prot_creator: sk_prot of original sock creator (see ipv6_setsockopt, IPV6_ADDRFORM for instance)
197 #define sk_prot __sk_common.skc_prot macro
603 atomic_inc(&sk->sk_prot->socks);
608 atomic_dec(&sk->sk_prot->socks);
610 sk->sk_prot->name, sk, atomic_read(&sk->sk_prot->socks));
617 sk->sk_prot->name, sk, atomic_read(&sk->sk_refcnt));
641 sk->sk_prot->unhash(sk);
642 sk->sk_prot->hash(sk);
1004 memcpy(nsk, osk, osk->sk_prot
[all...]
H A Dinet_sock.h159 sk_from->sk_prot->obj_size - ancestor_size);
H A Dudp.h111 sock_prot_dec_use(sk->sk_prot);
H A Dinet_hashtables.h230 sock_prot_inc_use(sk->sk_prot);
262 sock_prot_dec_use(sk->sk_prot);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/core/
H A Dstream.c194 sk->sk_prot->memory_allocated);
196 if (*sk->sk_prot->memory_pressure &&
197 (atomic_read(sk->sk_prot->memory_allocated) <
198 sk->sk_prot->sysctl_mem[0]))
199 *sk->sk_prot->memory_pressure = 0;
209 atomic_add(amt, sk->sk_prot->memory_allocated);
212 if (atomic_read(sk->sk_prot->memory_allocated) < sk->sk_prot->sysctl_mem[0]) {
213 if (*sk->sk_prot->memory_pressure)
214 *sk->sk_prot
[all...]
H A Dsock.c869 sk->sk_prot = sk->sk_prot_creator = prot;
919 struct sock *newsk = sk_alloc(sk->sk_family, priority, sk->sk_prot, 0);
974 * sock (sk_refcnt_debug_inc uses newsk->sk_prot->socks, that
975 * is the same as sk->sk_prot->socks, as this field was copied
987 if (newsk->sk_prot->sockets_allocated)
988 atomic_inc(newsk->sk_prot->sockets_allocated);
1644 return sk->sk_prot->getsockopt(sk, level, optname, optval, optlen);
1655 if (sk->sk_prot->compat_getsockopt != NULL)
1656 return sk->sk_prot->compat_getsockopt(sk, level, optname,
1658 return sk->sk_prot
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/dccp/
H A Doutput.c274 struct sk_buff *skb = sock_wmalloc(sk, sk->sk_prot->max_header, 1,
280 skb_reserve(skb, sk->sk_prot->max_header);
326 struct sk_buff *skb = sock_wmalloc(sk, sk->sk_prot->max_header, 1,
332 skb_reserve(skb, sk->sk_prot->max_header);
421 skb = alloc_skb(sk->sk_prot->max_header, sk->sk_allocation);
426 skb_reserve(skb, sk->sk_prot->max_header);
446 struct sk_buff *skb = alloc_skb(sk->sk_prot->max_header,
459 skb_reserve(skb, sk->sk_prot->max_header);
495 struct sk_buff *skb = alloc_skb(sk->sk_prot->max_header, GFP_ATOMIC);
501 skb_reserve(skb, sk->sk_prot
[all...]
H A Dproto.c77 sk->sk_prot->unhash(sk);
661 size = sk->sk_prot->max_header + len;
668 skb_reserve(skb, sk->sk_prot->max_header);
874 sk->sk_prot->disconnect(sk, 0);
885 atomic_inc(sk->sk_prot->orphan_count);
H A Dminisocks.c60 tw->tw_ipv6_offset = inet6_tw_offset(sk->sk_prot);
H A Dipv4.c535 skb = alloc_skb(dccp_v4_ctl_socket->sk->sk_prot->max_header,
541 skb_reserve(skb, dccp_v4_ctl_socket->sk->sk_prot->max_header);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/
H A Daf_inet.c179 if (sk->sk_prot->get_port(sk, 0)) {
357 sk->sk_backlog_rcv = sk->sk_prot->backlog_rcv;
375 sk->sk_prot->hash(sk);
378 if (sk->sk_prot->init) {
379 err = sk->sk_prot->init(sk);
418 sk->sk_prot->close(sk, timeout);
436 if (sk->sk_prot->bind) {
437 err = sk->sk_prot->bind(sk, uaddr, addr_len);
486 if (sk->sk_prot->get_port(sk, snum)) {
513 return sk->sk_prot
[all...]
H A Dinet_connection_sock.c536 sk->sk_prot->destroy(sk);
544 atomic_dec(sk->sk_prot->orphan_count);
569 if (!sk->sk_prot->get_port(sk, inet->num)) {
573 sk->sk_prot->hash(sk);
620 sk->sk_prot->disconnect(child, O_NONBLOCK);
624 atomic_inc(sk->sk_prot->orphan_count);
664 (*sock)->sk->sk_prot->unhash((*sock)->sk);
H A Dinet_hashtables.c241 sock_prot_inc_use(sk->sk_prot);
H A Dinet_timewait_sock.c79 sock_prot_dec_use(sk->sk_prot);
H A Draw.c92 sock_prot_inc_use(sk->sk_prot);
100 sock_prot_dec_use(sk->sk_prot);
H A Dtcp_minisocks.c301 tw->tw_ipv6_offset = inet6_tw_offset(sk->sk_prot);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv6/
H A Daf_inet6.c85 const int offset = sk->sk_prot->obj_size - sizeof(struct ipv6_pinfo);
216 * Increment only the relevant sk_prot->socks debug field, this changes
232 sk->sk_prot->hash(sk);
234 if (sk->sk_prot->init) {
235 err = sk->sk_prot->init(sk);
262 if (sk->sk_prot->bind)
263 return sk->sk_prot->bind(sk, uaddr, addr_len);
341 if (sk->sk_prot->get_port(sk, snum)) {
468 if (!sk->sk_prot->ioctl)
470 return sk->sk_prot
[all...]
H A Dinet6_hashtables.c47 sock_prot_inc_use(sk->sk_prot);
218 sock_prot_inc_use(sk->sk_prot);
H A Dipv6_sockglue.c246 * Sock is moving from IPv6 to IPv4 (sk_prot), so
256 sock_prot_dec_use(sk->sk_prot);
259 sk->sk_prot = &tcp_prot;
270 sock_prot_dec_use(sk->sk_prot);
273 sk->sk_prot = prot;
H A Dicmp.c787 sk->sk_prot->unhash(sk);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/sctp/
H A Dipv6.c622 newsk = sk_alloc(PF_INET6, GFP_KERNEL, sk->sk_prot, 1);
630 newsk->sk_prot = sk->sk_prot;
637 newsk->sk_backlog_rcv = sk->sk_prot->backlog_rcv;
674 if (newsk->sk_prot->init(newsk)) {
H A Dprotocol.c542 struct sock *newsk = sk_alloc(PF_INET, GFP_KERNEL, sk->sk_prot, 1);
558 newsk->sk_backlog_rcv = sk->sk_prot->backlog_rcv;
582 if (newsk->sk_prot->init(newsk)) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/netfilter/
H A Dnf_conntrack_l3proto_ipv4.c333 if (strcmp(sk->sk_prot->name, "TCP")) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/
H A Dpppol2tp_v26.c1441 sk->sk_prot = tunnel->old_proto;
1746 tunnel->old_proto = sk->sk_prot;
1747 tunnel->l2tp_proto = *sk->sk_prot;
1749 sk->sk_prot = &tunnel->l2tp_proto;

Completed in 161 milliseconds

12