/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/dccp/ |
H A D | minisocks.c | 102 struct sock *newsk = inet_csk_clone(sk, req, GFP_ATOMIC); local 104 if (newsk != NULL) { 106 struct inet_connection_sock *newicsk = inet_csk(newsk); 107 struct dccp_sock *newdp = dccp_sk(newsk); 108 struct dccp_minisock *newdmsk = dccp_msk(newsk); 117 if (dccp_feat_clone(sk, newsk)) 129 newsk, GFP_ATOMIC); 132 newsk, GFP_ATOMIC); 136 ccid_hc_rx_delete(newdp->dccps_hc_rx_ccid, newsk); 137 ccid_hc_tx_delete(newdp->dccps_hc_tx_ccid, newsk); [all...] |
H A D | ipv6.c | 519 struct sock *newsk; local 526 newsk = dccp_v4_request_recv_sock(sk, skb, req, dst); 527 if (newsk == NULL) 530 newdp6 = (struct dccp6_sock *)newsk; 531 newdp = dccp_sk(newsk); 532 newinet = inet_sk(newsk); 534 newnp = inet6_sk(newsk); 546 inet_csk(newsk)->icsk_af_ops = &dccp_ipv6_mapped; 547 newsk->sk_backlog_rcv = dccp_v4_do_rcv; 563 dccp_sync_mss(newsk, inet_cs [all...] |
H A D | feat.h | 62 extern int dccp_feat_clone(struct sock *oldsk, struct sock *newsk);
|
H A D | ipv4.c | 385 struct sock *newsk; local 393 newsk = dccp_create_openreq_child(sk, req, skb); 394 if (newsk == NULL) 397 sk_setup_caps(newsk, dst); 399 newdp = dccp_sk(newsk); 400 newinet = inet_sk(newsk); 411 dccp_sync_mss(newsk, dst_mtu(dst)); 413 __inet_hash(&dccp_hashinfo, newsk, 0); 414 __inet_inherit_port(&dccp_hashinfo, sk, newsk); 416 return newsk; [all...] |
H A D | feat.c | 488 int dccp_feat_clone(struct sock *oldsk, struct sock *newsk) argument 491 struct dccp_minisock *newdmsk = dccp_msk(newsk);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/sctp/ |
H A D | ipv6.c | 617 struct sock *newsk; local 622 newsk = sk_alloc(PF_INET6, GFP_KERNEL, sk->sk_prot, 1); 623 if (!newsk) 626 sock_init_data(NULL, newsk); 628 newsk->sk_type = SOCK_STREAM; 630 newsk->sk_prot = sk->sk_prot; 631 newsk->sk_no_check = sk->sk_no_check; 632 newsk->sk_reuse = sk->sk_reuse; 634 newsk->sk_destruct = inet_sock_destruct; 635 newsk [all...] |
H A D | protocol.c | 542 struct sock *newsk = sk_alloc(PF_INET, GFP_KERNEL, sk->sk_prot, 1); local 544 if (!newsk) 547 sock_init_data(NULL, newsk); 549 newsk->sk_type = SOCK_STREAM; 551 newsk->sk_no_check = sk->sk_no_check; 552 newsk->sk_reuse = sk->sk_reuse; 553 newsk->sk_shutdown = sk->sk_shutdown; 555 newsk->sk_destruct = inet_sock_destruct; 556 newsk->sk_family = PF_INET; 557 newsk [all...] |
H A D | socket.c | 3068 struct sock *newsk = NULL; local 3099 newsk = sp->pf->create_accept_sk(sk, asoc); 3100 if (!newsk) { 3105 /* Populate the fields of the newsk from the oldsk and migrate the 3106 * asoc to the newsk. 3108 sctp_sock_migrate(sk, newsk, asoc, SCTP_SOCKET_TCP); 3113 return newsk; 3517 /* Populate the fields of the newsk from the oldsk and migrate the 3518 * asoc to the newsk. 3567 SCTP_DEBUG_PRINTK("%s: sk: %p asoc: %p newsk 5924 sctp_sock_migrate(struct sock *oldsk, struct sock *newsk, struct sctp_association *assoc, sctp_socket_type_t type) argument [all...] |
H A D | associola.c | 999 void sctp_assoc_migrate(struct sctp_association *assoc, struct sock *newsk) argument 1001 struct sctp_sock *newsp = sctp_sk(newsk); 1022 assoc->base.sk = newsk;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/core/ |
H A D | sock.c | 919 struct sock *newsk = sk_alloc(sk->sk_family, priority, sk->sk_prot, 0); local 921 if (newsk != NULL) { 924 sock_copy(newsk, sk); 927 sk_node_init(&newsk->sk_node); 928 sock_lock_init(newsk); 929 bh_lock_sock(newsk); 930 newsk->sk_backlog.head = newsk->sk_backlog.tail = NULL; 932 atomic_set(&newsk->sk_rmem_alloc, 0); 933 atomic_set(&newsk [all...] |
H A D | skbuff.c | 1549 * @newsk: buffer to queue 1557 void skb_queue_head(struct sk_buff_head *list, struct sk_buff *newsk) argument 1562 __skb_queue_head(list, newsk); 1569 * @newsk: buffer to queue 1577 void skb_queue_tail(struct sk_buff_head *list, struct sk_buff *newsk) argument 1582 __skb_queue_tail(list, newsk); 1608 * @newsk: buffer to insert 1615 void skb_append(struct sk_buff *old, struct sk_buff *newsk, struct sk_buff_head *list) argument 1620 __skb_append(old, newsk, list); 1628 * @newsk 1637 skb_insert(struct sk_buff *old, struct sk_buff *newsk, struct sk_buff_head *list) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/ |
H A D | inet_connection_sock.c | 215 struct sock *newsk; local 241 newsk = reqsk_queue_get_child(&icsk->icsk_accept_queue, sk); 242 BUG_TRAP(newsk->sk_state != TCP_SYN_RECV); 245 return newsk; 247 newsk = NULL; 494 struct sock *newsk = sk_clone(sk, priority); local 496 if (newsk != NULL) { 497 struct inet_connection_sock *newicsk = inet_csk(newsk); 499 newsk->sk_state = TCP_SYN_RECV; 502 inet_sk(newsk) [all...] |
H A D | tcp_minisocks.c | 379 struct sock *newsk = inet_csk_clone(sk, req, GFP_ATOMIC); local 381 if (newsk != NULL) { 384 struct inet_connection_sock *newicsk = inet_csk(newsk); 388 newtp = tcp_sk(newsk); 422 tcp_set_ca_state(newsk, TCP_CA_Open); 423 tcp_init_xmit_timers(newsk); 436 if (sock_flag(newsk, SOCK_KEEPOPEN)) 437 inet_csk_reset_keepalive_timer(newsk, 470 if (newtp->af_specific->md5_lookup(sk, newsk)) 480 return newsk; [all...] |
H A D | tcp_ipv4.c | 1428 struct sock *newsk; local 1439 newsk = tcp_create_openreq_child(sk, req, skb); 1440 if (!newsk) 1443 newsk->sk_gso_type = SKB_GSO_TCPV4; 1444 sk_setup_caps(newsk, dst); 1446 newtp = tcp_sk(newsk); 1447 newinet = inet_sk(newsk); 1456 inet_csk(newsk)->icsk_ext_hdr_len = 0; 1458 inet_csk(newsk)->icsk_ext_hdr_len = newinet->opt->optlen; 1461 tcp_mtup_init(newsk); [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/ |
H A D | skbuff.h | 665 * @newsk: buffer to queue 674 struct sk_buff *newsk) 680 newsk->next = next; 681 newsk->prev = prev; 682 next->prev = prev->next = newsk; 688 * @newsk: buffer to queue 695 extern void skb_queue_head(struct sk_buff_head *list, struct sk_buff *newsk); 697 struct sk_buff *newsk) 699 __skb_queue_after(list, (struct sk_buff *)list, newsk); 705 * @newsk 672 __skb_queue_after(struct sk_buff_head *list, struct sk_buff *prev, struct sk_buff *newsk) argument 696 __skb_queue_head(struct sk_buff_head *list, struct sk_buff *newsk) argument 713 __skb_queue_tail(struct sk_buff_head *list, struct sk_buff *newsk) argument 759 __skb_insert(struct sk_buff *newsk, struct sk_buff *prev, struct sk_buff *next, struct sk_buff_head *list) argument 773 __skb_append(struct sk_buff *old, struct sk_buff *newsk, struct sk_buff_head *list) argument [all...] |
H A D | security.h | 1334 struct socket * other, struct sock * newsk); 1362 void (*sk_clone_security) (const struct sock *sk, struct sock *newsk); 1367 void (*inet_csk_clone)(struct sock *newsk, const struct request_sock *req); 2804 struct sock * newsk) 2806 return security_ops->unix_stream_connect(sock, other, newsk); 2929 static inline void security_sk_clone(const struct sock *sk, struct sock *newsk) argument 2931 return security_ops->sk_clone_security(sk, newsk); 2955 static inline void security_inet_csk_clone(struct sock *newsk, argument 2958 security_ops->inet_csk_clone(newsk, req); 2969 struct sock * newsk) 2802 security_unix_stream_connect(struct socket * sock, struct socket * other, struct sock * newsk) argument 2967 security_unix_stream_connect(struct socket * sock, struct socket * other, struct sock * newsk) argument 3089 security_sk_clone(const struct sock *sk, struct sock *newsk) argument 3111 security_inet_csk_clone(struct sock *newsk, const struct request_sock *req) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/decnet/ |
H A D | af_decnet.c | 1063 struct sock *sk = sock->sk, *newsk; local 1089 newsk = dn_alloc_sock(newsock, sk->sk_allocation); 1090 if (newsk == NULL) { 1097 dst_release(xchg(&newsk->sk_dst_cache, skb->dst)); 1100 DN_SK(newsk)->state = DN_CR; 1101 DN_SK(newsk)->addrrem = cb->src_port; 1102 DN_SK(newsk)->services_rem = cb->services; 1103 DN_SK(newsk)->info_rem = cb->info; 1104 DN_SK(newsk)->segsize_rem = cb->segsize; 1105 DN_SK(newsk) [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv6/ |
H A D | tcp_ipv6.c | 1323 struct sock *newsk; local 1334 newsk = tcp_v4_syn_recv_sock(sk, skb, req, dst); 1336 if (newsk == NULL) 1339 newtcp6sk = (struct tcp6_sock *)newsk; 1340 inet_sk(newsk)->pinet6 = &newtcp6sk->inet6; 1342 newinet = inet_sk(newsk); 1343 newnp = inet6_sk(newsk); 1344 newtp = tcp_sk(newsk); 1356 inet_csk(newsk)->icsk_af_ops = &ipv6_mapped; 1357 newsk [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/unix/ |
H A D | af_unix.c | 977 struct sock *newsk = NULL; local 1004 newsk = unix_create1(NULL); 1005 if (newsk == NULL) 1009 skb = sock_wmalloc(newsk, 1, 0, GFP_KERNEL); 1083 err = security_unix_stream_connect(sock, other->sk_socket, newsk); 1092 unix_peer(newsk) = sk; 1093 newsk->sk_state = TCP_ESTABLISHED; 1094 newsk->sk_type = sk->sk_type; 1095 newsk->sk_peercred.pid = current->tgid; 1096 newsk [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/llc/ |
H A D | llc_conn.c | 687 struct sock *newsk = llc_sk_alloc(sk->sk_family, GFP_ATOMIC, local 691 if (!newsk) 693 newllc = llc_sk(newsk); 698 llc_sap_add_socket(llc->sap, newsk); 701 return newsk; 728 struct sock *newsk = llc_create_incoming_sock(sk, skb->dev, local 730 if (!newsk) 732 skb_set_owner_r(skb, newsk);
|
H A D | af_llc.c | 591 struct sock *sk = sock->sk, *newsk; local 618 newsk = skb->sk; 620 llc_ui_sk_init(newsock, newsk); 621 sock_reset_flag(newsk, SOCK_ZAPPED); 622 newsk->sk_state = TCP_ESTABLISHED; 625 newllc = llc_sk(newsk);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/netrom/ |
H A D | af_netrom.c | 757 struct sock *newsk; local 803 newsk = skb->sk; 804 newsk->sk_socket = newsock; 805 newsk->sk_sleep = &newsock->wait; 810 newsock->sk = newsk;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/x25/ |
H A D | af_x25.c | 785 struct sock *newsk; local 804 newsk = skb->sk; 805 newsk->sk_socket = newsock; 806 newsk->sk_sleep = &newsock->wait; 812 newsock->sk = newsk;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/security/ |
H A D | dummy.c | 695 struct sock *newsk) 808 static inline void dummy_sk_clone_security (const struct sock *sk, struct sock *newsk) argument 826 static inline void dummy_inet_csk_clone(struct sock *newsk, argument 693 dummy_unix_stream_connect(struct socket *sock, struct socket *other, struct sock *newsk) argument
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ax25/ |
H A D | af_ax25.c | 1295 struct sock *newsk; local 1345 newsk = skb->sk; 1346 newsk->sk_socket = newsock; 1347 newsk->sk_sleep = &newsock->wait; 1352 newsock->sk = newsk;
|