Searched refs:newsk (Results 1 - 15 of 15) sorted by relevance

/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/
H A Dskbuff.h460 * @newsk: buffer to queue
468 static inline void __skb_queue_head(struct sk_buff_head *list, struct sk_buff *newsk) argument
472 newsk->list = list;
476 newsk->next = next;
477 newsk->prev = prev;
478 next->prev = newsk;
479 prev->next = newsk;
486 * @newsk: buffer to queue
495 static inline void skb_queue_head(struct sk_buff_head *list, struct sk_buff *newsk) argument
500 __skb_queue_head(list, newsk);
516 __skb_queue_tail(struct sk_buff_head *list, struct sk_buff *newsk) argument
542 skb_queue_tail(struct sk_buff_head *list, struct sk_buff *newsk) argument
604 __skb_insert(struct sk_buff *newsk, struct sk_buff * prev, struct sk_buff *next, struct sk_buff_head * list) argument
626 skb_insert(struct sk_buff *old, struct sk_buff *newsk) argument
639 __skb_append(struct sk_buff *old, struct sk_buff *newsk) argument
655 skb_append(struct sk_buff *old, struct sk_buff *newsk) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/
H A Dskbuff.h460 * @newsk: buffer to queue
468 static inline void __skb_queue_head(struct sk_buff_head *list, struct sk_buff *newsk) argument
472 newsk->list = list;
476 newsk->next = next;
477 newsk->prev = prev;
478 next->prev = newsk;
479 prev->next = newsk;
486 * @newsk: buffer to queue
495 static inline void skb_queue_head(struct sk_buff_head *list, struct sk_buff *newsk) argument
500 __skb_queue_head(list, newsk);
516 __skb_queue_tail(struct sk_buff_head *list, struct sk_buff *newsk) argument
542 skb_queue_tail(struct sk_buff_head *list, struct sk_buff *newsk) argument
604 __skb_insert(struct sk_buff *newsk, struct sk_buff * prev, struct sk_buff *next, struct sk_buff_head * list) argument
626 skb_insert(struct sk_buff *old, struct sk_buff *newsk) argument
639 __skb_append(struct sk_buff *old, struct sk_buff *newsk) argument
655 skb_append(struct sk_buff *old, struct sk_buff *newsk) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv4/
H A Dtcp_minisocks.c643 struct sock *newsk = sk_alloc(PF_INET, GFP_ATOMIC, 0); local
645 if(newsk != NULL) {
651 memcpy(newsk, sk, sizeof(*newsk));
652 newsk->state = TCP_SYN_RECV;
655 newsk->pprev = NULL;
656 newsk->prev = NULL;
659 newsk->dport = req->rmt_port;
661 sock_lock_init(newsk);
662 bh_lock_sock(newsk);
[all...]
H A Dtcp_ipv4.c1537 struct sock *newsk; local
1546 newsk = tcp_create_openreq_child(sk, req, skb);
1547 if (!newsk)
1550 newsk->dst_cache = dst;
1551 newsk->route_caps = dst->dev->features;
1553 newtp = &(newsk->tp_pinfo.af_tcp);
1554 newsk->daddr = req->af.v4_req.rmt_addr;
1555 newsk->saddr = req->af.v4_req.loc_addr;
1556 newsk->rcv_saddr = req->af.v4_req.loc_addr;
1557 newsk
[all...]
H A Dtcp.c2193 struct sock *newsk; local
2223 newsk = req->sk;
2226 BUG_TRAP(newsk->state != TCP_SYN_RECV);
2228 return newsk;
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/decnet/
H A Daf_decnet.c1004 struct sock *sk = sock->sk, *newsk; local
1050 if ((newsk = dn_alloc_sock(newsock, sk->allocation)) == NULL) {
1058 dst_release(xchg(&newsk->dst_cache, skb->dst));
1061 DN_SK(newsk)->state = DN_CR;
1062 DN_SK(newsk)->addrrem = cb->src_port;
1063 DN_SK(newsk)->services_rem = cb->services;
1064 DN_SK(newsk)->info_rem = cb->info;
1065 DN_SK(newsk)->segsize_rem = cb->segsize;
1066 DN_SK(newsk)->accept_mode = DN_SK(sk)->accept_mode;
1068 if (DN_SK(newsk)
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/wanrouter/
H A Daf_wanpipe.c315 struct sock *newsk; local
342 if ((newsk = wanpipe_make_new(sk)) == NULL){
350 newsk->bound_dev_if = dev->ifindex;
351 newsk->protinfo.af_wanpipe->card = sk->protinfo.af_wanpipe->card;
364 wanpipe_kill_sock_irq (newsk);
376 newsk->protinfo.af_wanpipe->lcn = mbox_ptr->cmd.lcn;
377 newsk->protinfo.af_wanpipe->mbox = (void *)mbox_ptr;
385 newsk->zapped=0;
386 newsk->num = htons(X25_PROT);
388 if (wanpipe_do_bind(newsk,de
2476 struct sock *newsk; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv6/
H A Dtcp_ipv6.c1215 struct sock *newsk; local
1223 newsk = tcp_v4_syn_recv_sock(sk, skb, req, dst);
1225 if (newsk == NULL)
1228 np = &newsk->net_pinfo.af_inet6;
1231 newsk->daddr);
1234 newsk->saddr);
1238 newsk->tp_pinfo.af_tcp.af_specific = &ipv6_mapped;
1239 newsk->backlog_rcv = tcp_v4_do_rcv;
1240 newsk->net_pinfo.af_inet6.pktoptions = NULL;
1241 newsk
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/unix/
H A Daf_unix.c852 struct sock *newsk = NULL; local
879 newsk = unix_create1(NULL);
880 if (newsk == NULL)
884 skb = sock_wmalloc(newsk, 1, 0, GFP_KERNEL);
960 unix_peer(newsk)=sk;
961 newsk->state=TCP_ESTABLISHED;
962 newsk->type=SOCK_STREAM;
963 newsk->peercred.pid = current->pid;
964 newsk->peercred.uid = current->euid;
965 newsk
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipx/
H A Daf_spx.c241 struct sock *newsk; local
275 newsk = skb->sk;
276 newsk->pair = NULL;
279 err = spx_transmit(newsk, skb, CONACK, 0); /* Connection ACK */
286 newsock->sk = newsk;
287 newsk->state = TCP_ESTABLISHED;
288 newsk->protinfo.af_ipx.dest_addr = newsk->tp_pinfo.af_spx.dest_addr;
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/netrom/
H A Daf_netrom.c757 struct sock *newsk; local
788 newsk = skb->sk;
789 newsk->pair = NULL;
790 newsk->socket = newsock;
791 newsk->sleep = &newsock->wait;
797 newsock->sk = newsk;
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/x25/
H A Daf_x25.c696 struct sock *newsk; local
727 newsk = skb->sk;
728 newsk->pair = NULL;
729 newsk->socket = newsock;
730 newsk->sleep = &newsock->wait;
737 newsock->sk = newsk;
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ax25/
H A Daf_ax25.c1281 struct sock *newsk; local
1311 newsk = skb->sk;
1312 newsk->pair = NULL;
1313 newsk->socket = newsock;
1314 newsk->sleep = &newsock->wait;
1319 newsock->sk = newsk;
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/rose/
H A Daf_rose.c854 struct sock *newsk; local
885 newsk = skb->sk;
886 newsk->pair = NULL;
887 newsk->socket = newsock;
888 newsk->sleep = &newsock->wait;
895 newsock->sk = newsk;
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/irda/
H A Daf_irda.c851 struct sock *newsk; local
892 newsk = newsock->sk;
893 newsk->state = TCP_ESTABLISHED;
895 new = newsk->protinfo.irda;

Completed in 92 milliseconds