/asus-wl-520gu-7.0.1.45/src/linux/linux/net/netrom/ |
H A D | nr_timer.c | 46 void nr_start_t1timer(struct sock *sk) argument 48 del_timer(&sk->protinfo.nr->t1timer); 50 sk->protinfo.nr->t1timer.data = (unsigned long)sk; 51 sk->protinfo.nr->t1timer.function = &nr_t1timer_expiry; 52 sk->protinfo.nr->t1timer.expires = jiffies + sk->protinfo.nr->t1; 54 add_timer(&sk->protinfo.nr->t1timer); 57 void nr_start_t2timer(struct sock *sk) argument 59 del_timer(&sk 68 nr_start_t4timer(struct sock *sk) argument 79 nr_start_idletimer(struct sock *sk) argument 92 nr_start_heartbeat(struct sock *sk) argument 103 nr_stop_t1timer(struct sock *sk) argument 108 nr_stop_t2timer(struct sock *sk) argument 113 nr_stop_t4timer(struct sock *sk) argument 118 nr_stop_idletimer(struct sock *sk) argument 123 nr_stop_heartbeat(struct sock *sk) argument 128 nr_t1timer_running(struct sock *sk) argument 135 struct sock *sk = (struct sock *)param; local 168 struct sock *sk = (struct sock *)param; local 178 struct sock *sk = (struct sock *)param; local 185 struct sock *sk = (struct sock *)param; local 209 struct sock *sk = (struct sock *)param; local [all...] |
H A D | nr_out.c | 45 void nr_output(struct sock *sk, struct sk_buff *skb) argument 59 if ((skbn = sock_alloc_send_skb(sk, frontlen + NR_MAX_PACKET_SIZE, 0, &err)) == NULL) 77 skb_queue_tail(&sk->write_queue, skbn); /* Throw it on the queue */ 82 skb_queue_tail(&sk->write_queue, skb); /* Throw it on the queue */ 85 nr_kick(sk); 92 static void nr_send_iframe(struct sock *sk, struct sk_buff *skb) argument 97 skb->data[2] = sk->protinfo.nr->vs; 98 skb->data[3] = sk->protinfo.nr->vr; 100 if (sk->protinfo.nr->condition & NR_COND_OWN_RX_BUSY) 103 nr_start_idletimer(sk); 108 nr_send_nak_frame(struct sock *sk) argument 132 nr_kick(struct sock *sk) argument 193 nr_transmit_buffer(struct sock *sk, struct sk_buff *skb) argument 227 nr_establish_data_link(struct sock *sk) argument 243 nr_enquiry_response(struct sock *sk) argument 260 nr_check_iframes_acked(struct sock *sk, unsigned short nr) argument [all...] |
H A D | nr_in.c | 50 static int nr_queue_rx_frame(struct sock *sk, struct sk_buff *skb, int more) argument 56 nr_start_idletimer(sk); 59 sk->protinfo.nr->fraglen += skb->len; 60 skb_queue_tail(&sk->protinfo.nr->frag_queue, skb); 64 if (!more && sk->protinfo.nr->fraglen > 0) { /* End of fragment */ 65 sk->protinfo.nr->fraglen += skb->len; 66 skb_queue_tail(&sk->protinfo.nr->frag_queue, skb); 68 if ((skbn = alloc_skb(sk->protinfo.nr->fraglen, GFP_ATOMIC)) == NULL) 73 while ((skbo = skb_dequeue(&sk->protinfo.nr->frag_queue)) != NULL) { 78 sk 89 nr_state1_machine(struct sock *sk, struct sk_buff *skb, int frametype) argument 126 nr_state2_machine(struct sock *sk, struct sk_buff *skb, int frametype) argument 153 nr_state3_machine(struct sock *sk, struct sk_buff *skb, int frametype) argument 280 nr_process_rx_frame(struct sock *sk, struct sk_buff *skb) argument [all...] |
H A D | nr_subr.c | 43 void nr_clear_queues(struct sock *sk) argument 45 skb_queue_purge(&sk->write_queue); 46 skb_queue_purge(&sk->protinfo.nr->ack_queue); 47 skb_queue_purge(&sk->protinfo.nr->reseq_queue); 48 skb_queue_purge(&sk->protinfo.nr->frag_queue); 56 void nr_frames_acked(struct sock *sk, unsigned short nr) argument 63 if (sk->protinfo.nr->va != nr) { 64 while (skb_peek(&sk->protinfo.nr->ack_queue) != NULL && sk->protinfo.nr->va != nr) { 65 skb = skb_dequeue(&sk 77 nr_requeue_frames(struct sock *sk) argument 94 nr_validate_nr(struct sock *sk, unsigned short nr) argument 111 nr_in_rx_window(struct sock *sk, unsigned short ns) argument 128 nr_write_internal(struct sock *sk, int frametype) argument 269 nr_disconnect(struct sock *sk, int reason) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/rose/ |
H A D | rose_timer.c | 44 void rose_start_heartbeat(struct sock *sk) argument 46 del_timer(&sk->timer); 48 sk->timer.data = (unsigned long)sk; 49 sk->timer.function = &rose_heartbeat_expiry; 50 sk->timer.expires = jiffies + 5 * HZ; 52 add_timer(&sk->timer); 55 void rose_start_t1timer(struct sock *sk) argument 57 del_timer(&sk->protinfo.rose->timer); 59 sk 66 rose_start_t2timer(struct sock *sk) argument 77 rose_start_t3timer(struct sock *sk) argument 88 rose_start_hbtimer(struct sock *sk) argument 99 rose_start_idletimer(struct sock *sk) argument 112 rose_stop_heartbeat(struct sock *sk) argument 117 rose_stop_timer(struct sock *sk) argument 122 rose_stop_idletimer(struct sock *sk) argument 129 struct sock *sk = (struct sock *)param; local 163 struct sock *sk = (struct sock *)param; local 190 struct sock *sk = (struct sock *)param; local [all...] |
H A D | rose_in.c | 53 static int rose_state1_machine(struct sock *sk, struct sk_buff *skb, int frametype) argument 58 rose_stop_timer(sk); 59 rose_start_idletimer(sk); 60 sk->protinfo.rose->condition = 0x00; 61 sk->protinfo.rose->vs = 0; 62 sk->protinfo.rose->va = 0; 63 sk->protinfo.rose->vr = 0; 64 sk->protinfo.rose->vl = 0; 65 sk->protinfo.rose->state = ROSE_STATE_3; 66 sk 89 rose_state2_machine(struct sock *sk, struct sk_buff *skb, int frametype) argument 116 rose_state3_machine(struct sock *sk, struct sk_buff *skb, int frametype, int ns, int nr, int q, int d, int m) argument 225 rose_state4_machine(struct sock *sk, struct sk_buff *skb, int frametype) argument 261 rose_state5_machine(struct sock *sk, struct sk_buff *skb, int frametype) argument 273 rose_process_rx_frame(struct sock *sk, struct sk_buff *skb) argument [all...] |
H A D | rose_out.c | 44 static void rose_send_iframe(struct sock *sk, struct sk_buff *skb) argument 49 skb->data[2] |= (sk->protinfo.rose->vr << 5) & 0xE0; 50 skb->data[2] |= (sk->protinfo.rose->vs << 1) & 0x0E; 52 rose_start_idletimer(sk); 54 rose_transmit_link(skb, sk->protinfo.rose->neighbour); 57 void rose_kick(struct sock *sk) argument 62 if (sk->protinfo.rose->state != ROSE_STATE_3) 65 if (sk->protinfo.rose->condition & ROSE_COND_PEER_RX_BUSY) 68 if (skb_peek(&sk->write_queue) == NULL) 71 start = (skb_peek(&sk 119 rose_enquiry_response(struct sock *sk) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/x25/ |
H A D | x25_in.c | 47 static int x25_queue_rx_frame(struct sock *sk, struct sk_buff *skb, int more) argument 52 sk->protinfo.x25->fraglen += skb->len; 53 skb_queue_tail(&sk->protinfo.x25->fragment_queue, skb); 54 skb_set_owner_r(skb, sk); 58 if (!more && sk->protinfo.x25->fraglen > 0) { /* End of fragment */ 59 int len = sk->protinfo.x25->fraglen + skb->len; 66 skb_queue_tail(&sk->protinfo.x25->fragment_queue, skb); 70 skbo = skb_dequeue(&sk->protinfo.x25->fragment_queue); 74 while ((skbo = skb_dequeue(&sk->protinfo.x25->fragment_queue)) != NULL) { 75 skb_pull(skbo, (sk 96 x25_state1_machine(struct sock *sk, struct sk_buff *skb, int frametype) argument 145 x25_state2_machine(struct sock *sk, struct sk_buff *skb, int frametype) argument 170 x25_state3_machine(struct sock *sk, struct sk_buff *skb, int frametype, int ns, int nr, int q, int d, int m) argument 302 x25_state4_machine(struct sock *sk, struct sk_buff *skb, int frametype) argument 332 x25_process_rx_frame(struct sock *sk, struct sk_buff *skb) argument 361 x25_backlog_rcv(struct sock *sk, struct sk_buff *skb) argument [all...] |
H A D | x25_timer.c | 45 void x25_start_heartbeat(struct sock *sk) argument 47 del_timer(&sk->timer); 49 sk->timer.data = (unsigned long)sk; 50 sk->timer.function = &x25_heartbeat_expiry; 51 sk->timer.expires = jiffies + 5 * HZ; 53 add_timer(&sk->timer); 56 void x25_stop_heartbeat(struct sock *sk) argument 58 del_timer(&sk->timer); 61 void x25_start_t2timer(struct sock *sk) argument 72 x25_start_t21timer(struct sock *sk) argument 83 x25_start_t22timer(struct sock *sk) argument 94 x25_start_t23timer(struct sock *sk) argument 105 x25_stop_timer(struct sock *sk) argument 110 x25_display_timer(struct sock *sk) argument 120 struct sock *sk = (struct sock *)param; local 155 x25_do_timer_expiry(struct sock * sk) argument 181 struct sock *sk = (struct sock *)param; local [all...] |
H A D | x25_subr.c | 47 void x25_clear_queues(struct sock *sk) argument 49 skb_queue_purge(&sk->write_queue); 50 skb_queue_purge(&sk->protinfo.x25->ack_queue); 51 skb_queue_purge(&sk->protinfo.x25->interrupt_in_queue); 52 skb_queue_purge(&sk->protinfo.x25->interrupt_out_queue); 53 skb_queue_purge(&sk->protinfo.x25->fragment_queue); 62 void x25_frames_acked(struct sock *sk, unsigned short nr) argument 65 int modulus = sk->protinfo.x25->neighbour->extended ? X25_EMODULUS : 71 if (sk->protinfo.x25->va != nr) 72 while (skb_peek(&sk 81 x25_requeue_frames(struct sock *sk) argument 103 x25_validate_nr(struct sock *sk, unsigned short nr) argument 121 x25_write_internal(struct sock *sk, int frametype) argument 254 x25_decode(struct sock *sk, struct sk_buff *skb, int *ns, int *nr, int *q, int *d, int *m) argument 320 x25_disconnect(struct sock *sk, int reason, unsigned char cause, unsigned char diagnostic) argument 346 x25_check_rbuf(struct sock *sk) argument [all...] |
H A D | x25_out.c | 64 int x25_output(struct sock *sk, struct sk_buff *skb) argument 71 header_len = (sk->protinfo.x25->neighbour->extended) ? X25_EXT_MIN_LEN : X25_STD_MIN_LEN; 72 max_len = x25_pacsize_to_bytes(sk->protinfo.x25->facilities.pacsize_out); 82 if ((skbn = sock_alloc_send_skb(sk, frontlen + max_len, noblock, &err)) == NULL){ 87 SOCK_DEBUG(sk, "x25_output: fragment allocation failed, err=%d, %d bytes sent\n", err, sent); 104 if (sk->protinfo.x25->neighbour->extended) 110 skb_queue_tail(&sk->write_queue, skbn); 116 skb_queue_tail(&sk->write_queue, skb); 126 static void x25_send_iframe(struct sock *sk, struct sk_buff *skb) argument 131 if (sk 144 x25_kick(struct sock *sk) argument 218 x25_enquiry_response(struct sock *sk) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv4/ |
H A D | tcp_timer.c | 46 void tcp_init_xmit_timers(struct sock *sk) argument 48 struct tcp_opt *tp = &sk->tp_pinfo.af_tcp; 52 tp->retransmit_timer.data = (unsigned long) sk; 57 tp->delack_timer.data = (unsigned long) sk; 60 init_timer(&sk->timer); 61 sk->timer.function=&tcp_keepalive_timer; 62 sk->timer.data = (unsigned long) sk; 65 void tcp_clear_xmit_timers(struct sock *sk) argument 67 struct tcp_opt *tp = &sk 84 tcp_write_err(struct sock *sk) argument 104 tcp_out_of_resources(struct sock *sk, int do_reset) argument 140 tcp_orphan_retries(struct sock *sk, int alive) argument 157 tcp_write_timeout(struct sock *sk) argument 212 struct sock *sk = (struct sock*)data; local 272 tcp_probe_timer(struct sock *sk) argument 305 tcp_retransmit_timer(struct sock *sk) argument 402 struct sock *sk = (struct sock*)data; local 447 tcp_synack_timer(struct sock *sk) argument 535 tcp_delete_keepalive_timer(struct sock *sk) argument 541 tcp_reset_keepalive_timer(struct sock *sk, unsigned long len) argument 547 tcp_set_keepalive(struct sock *sk, int val) argument 561 struct sock *sk = (struct sock *) data; local [all...] |
H A D | tcp.c | 26 * sk->inuse=1 and was trying to connect 52 * Alan Cox : sk->keepopen now seems to work 54 * Alan Cox : Fixed assorted sk->rqueue->next errors 114 * Alan Cox : Changed the semantics of sk->socket to 167 * Marc Tamsky : Various sk->prot->retransmits and 168 * sk->retransmits misupdating fixed. 287 int tcp_mem_schedule(struct sock *sk, int size, int kind) argument 291 sk->forward_alloc += amt*TCP_MEM_QUANTUM; 312 if (atomic_read(&sk->rmem_alloc) < sysctl_tcp_rmem[0]) 315 if (sk 343 __tcp_mem_reclaim(struct sock *sk) argument 356 struct sock *sk = skb->sk; local 365 tcp_listen_poll(struct sock *sk, poll_table *wait) argument 380 struct sock *sk = sock->sk; local 464 tcp_write_space(struct sock *sk) argument 479 tcp_ioctl(struct sock *sk, int cmd, unsigned long arg) argument 526 tcp_listen_start(struct sock *sk) argument 578 tcp_listen_stop(struct sock *sk) argument 649 wait_for_tcp_connect(struct sock * sk, int flags, long *timeo_p) argument 680 tcp_memory_free(struct sock *sk) argument 688 wait_for_tcp_memory(struct sock * sk, long *timeo) argument 783 skb_entail(struct sock *sk, struct tcp_opt *tp, struct sk_buff *skb) argument 807 tcp_push(struct sock *sk, struct tcp_opt *tp, int flags, int mss_now, int nonagle) argument 818 tcp_error(struct sock *sk, int flags, int err) argument 827 do_tcp_sendpages(struct sock *sk, struct page **pages, int poffset, size_t psize, int flags) argument 936 struct sock *sk = sock->sk; local 958 tcp_copy_to_page(struct sock *sk, char *from, struct sk_buff *skb, struct page *page, int off, int copy) argument 996 select_size(struct sock *sk, struct tcp_opt *tp) argument 1009 tcp_sendmsg(struct sock *sk, struct msghdr *msg, int size) argument 1217 tcp_recv_urg(struct sock * sk, long timeo, struct msghdr *msg, int len, int flags, int *addr_len) argument 1268 tcp_eat_skb(struct sock *sk, struct sk_buff * skb) argument 1280 cleanup_rbuf(struct sock *sk, int copied) argument 1343 tcp_data_wait(struct sock *sk, long timeo) argument 1365 tcp_prequeue_process(struct sock *sk) argument 1383 tcp_recv_skb(struct sock *sk, u32 seq, u32 *off) argument 1411 tcp_read_sock(struct sock *sk, read_descriptor_t *desc, sk_read_actor_t recv_actor) argument 1468 tcp_recvmsg(struct sock *sk, struct msghdr *msg, int len, int nonblock, int flags, int *addr_len) argument 1792 tcp_close_state(struct sock *sk) argument 1807 tcp_shutdown(struct sock *sk, int how) argument 1830 closing(struct sock * sk) argument 1835 tcp_kill_sk_queues(struct sock *sk) argument 1864 tcp_destroy_sock(struct sock *sk) argument 1897 tcp_close(struct sock *sk, long timeout) argument 2072 tcp_disconnect(struct sock *sk, int flags) argument 2141 wait_for_connect(struct sock * sk, long timeo) argument 2189 tcp_accept(struct sock *sk, int flags, int *err) argument 2240 tcp_setsockopt(struct sock *sk, int level, int optname, char *optval, int optlen) argument 2399 tcp_getsockopt(struct sock *sk, int level, int optname, char *optval, int *optlen) argument [all...] |
H A D | af_inet.c | 132 extern void ip_mc_drop_socket(struct sock *sk); 157 void inet_sock_destruct(struct sock *sk) argument 159 __skb_queue_purge(&sk->receive_queue); 160 __skb_queue_purge(&sk->error_queue); 162 if (sk->type == SOCK_STREAM && sk->state != TCP_CLOSE) { 164 sk->state, 165 sk); 168 if (!sk->dead) { 169 printk("Attempt to release alive inet socket %p\n", sk); 187 inet_sock_release(struct sock *sk) argument 239 struct sock *sk=sock->sk; local 255 struct sock *sk=sock->sk; local 264 inet_autobind(struct sock *sk) argument 285 struct sock *sk = sock->sk; local 321 struct sock *sk; local 446 struct sock *sk = sock->sk; local 476 struct sock *sk=sock->sk; local 552 struct sock *sk=sock->sk; local 562 inet_wait_for_connect(struct sock *sk, long timeo) argument 595 struct sock *sk=sock->sk; local 709 struct sock *sk = sock->sk; local 736 struct sock *sk = sock->sk; local 751 struct sock *sk = sock->sk; local 762 struct sock *sk = sock->sk; local 825 struct sock *sk = sock->sk; local [all...] |
H A D | raw.c | 20 * Alan Cox : Checks sk->broadcast. 71 static void raw_v4_hash(struct sock *sk) argument 73 struct sock **skp = &raw_v4_htable[sk->num & (RAWV4_HTABLE_SIZE - 1)]; 76 if ((sk->next = *skp) != NULL) 77 (*skp)->pprev = &sk->next; 78 *skp = sk; 79 sk->pprev = skp; 80 sock_prot_inc_use(sk->prot); 81 sock_hold(sk); 85 static void raw_v4_unhash(struct sock *sk) argument 99 __raw_v4_lookup(struct sock *sk, unsigned short num, unsigned long raddr, unsigned long laddr, int dif) argument 119 icmp_filter(struct sock *sk, struct sk_buff *skb) argument 143 struct sock *sk; local 177 raw_err(struct sock *sk, struct sk_buff *skb, u32 info) argument 231 raw_rcv_skb(struct sock * sk, struct sk_buff * skb) argument 245 raw_rcv(struct sock *sk, struct sk_buff *skb) argument 305 raw_sendmsg(struct sock *sk, struct msghdr *msg, int len) argument 447 raw_close(struct sock *sk, long timeout) argument 458 raw_bind(struct sock *sk, struct sockaddr *uaddr, int addr_len) argument 484 raw_recvmsg(struct sock *sk, struct msghdr *msg, int len, int noblock, int flags, int *addr_len) argument 532 raw_init(struct sock *sk) argument 540 raw_seticmpfilter(struct sock *sk, char *optval, int optlen) argument 549 raw_geticmpfilter(struct sock *sk, char *optval, int *optlen) argument 568 raw_setsockopt(struct sock *sk, int level, int optname, char *optval, int optlen) argument 583 raw_getsockopt(struct sock *sk, int level, int optname, char *optval, int *optlen) argument 598 raw_ioctl(struct sock *sk, int cmd, unsigned long arg) argument 657 struct sock *sk; local [all...] |
H A D | udp.c | 33 * Fred Van Kempen : Net2e support for sk->broadcast. 109 static int udp_v4_get_port(struct sock *sk, unsigned short snum) argument 121 struct sock *sk; local 124 sk = udp_hash[result & (UDP_HTABLE_SIZE - 1)]; 125 if (!sk) { 136 } while ((sk = sk->next) != NULL); 161 sk2 != sk && 162 sk2->bound_dev_if == sk->bound_dev_if && 164 !sk 188 udp_v4_hash(struct sock *sk) argument 193 udp_v4_unhash(struct sock *sk) argument 213 struct sock *sk, *result = NULL; local 254 struct sock *sk; local 264 udp_v4_mcast_next(struct sock *sk, u16 loc_port, u32 loc_addr, u16 rmt_port, u32 rmt_addr, int dif) argument 300 struct sock *sk; local 416 udp_sendmsg(struct sock *sk, struct msghdr *msg, int len) argument 575 udp_ioctl(struct sock *sk, int cmd, unsigned long arg) argument 627 udp_recvmsg(struct sock *sk, struct msghdr *msg, int len, int noblock, int flags, int *addr_len) argument 711 udp_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len) argument 757 udp_disconnect(struct sock *sk, int flags) argument 783 udp_close(struct sock *sk, long timeout) argument 788 udp_queue_rcv_skb(struct sock * sk, struct sk_buff *skb) argument 891 struct sock *sk; local 950 struct sock *sk; local 1068 struct sock *sk; local 1094 udp_setsockopt(struct sock *sk, int level, int optname, char *optval, int optlen) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/decnet/ |
H A D | dn_timer.c | 14 * Steve Whitehouse : Added checks for sk->sock_readers 38 void dn_start_slow_timer(struct sock *sk) argument 40 sk->timer.expires = jiffies + SLOW_INTERVAL; 41 sk->timer.function = dn_slow_timer; 42 sk->timer.data = (unsigned long)sk; 44 add_timer(&sk->timer); 47 void dn_stop_slow_timer(struct sock *sk) argument 49 del_timer(&sk->timer); 54 struct sock *sk local 114 struct sock *sk = (struct sock *)arg; local 132 dn_start_fast_timer(struct sock *sk) argument 146 dn_stop_fast_timer(struct sock *sk) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/bluetooth/ |
H A D | af_bluetooth.c | 106 void bluez_sock_init(struct socket *sock, struct sock *sk) argument 108 sock_init_data(sock, sk); 109 INIT_LIST_HEAD(&bluez_pi(sk)->accept_q); 112 void bluez_sock_link(struct bluez_sock_list *l, struct sock *sk) argument 115 sk->next = l->head; 116 l->head = sk; 117 sock_hold(sk); 121 void bluez_sock_unlink(struct bluez_sock_list *l, struct sock *sk) argument 127 if (*skp == sk) { 128 *skp = sk 136 bluez_accept_enqueue(struct sock *parent, struct sock *sk) argument 146 bluez_accept_unlink(struct sock *sk) argument 160 struct sock *sk; local 190 struct sock *sk = sock->sk; local 223 struct sock *sk = sock->sk; local 256 bluez_sock_w4_connect(struct sock *sk, int flags) argument [all...] |
H A D | l2cap.c | 73 static inline void l2cap_chan_add(struct l2cap_conn *conn, struct sock *sk, struct sock *parent); 74 static void l2cap_chan_del(struct sock *sk, int err); 75 static int l2cap_chan_send(struct sock *sk, struct msghdr *msg, int len); 77 static void __l2cap_sock_close(struct sock *sk, int reason); 78 static void l2cap_sock_close(struct sock *sk); 79 static void l2cap_sock_kill(struct sock *sk); 87 struct sock *sk = (struct sock *) arg; local 89 BT_DBG("sock %p state %d", sk, sk->state); 91 bh_lock_sock(sk); 99 l2cap_sock_set_timer(struct sock *sk, long timeout) argument 107 l2cap_sock_clear_timer(struct sock *sk) argument 115 l2cap_sock_init_timer(struct sock *sk) argument 156 struct sock *sk; local 181 l2cap_connect(struct sock *sk) argument 240 struct sock *sk; local 254 struct sock *sk, *sk1 = NULL; local 285 l2cap_sock_destruct(struct sock *sk) argument 297 struct sock *sk; local 312 l2cap_sock_kill(struct sock *sk) argument 327 __l2cap_sock_close(struct sock *sk, int reason) argument 366 l2cap_sock_close(struct sock *sk) argument 377 l2cap_sock_init(struct sock *sk, struct sock *parent) argument 401 struct sock *sk; local 426 struct sock *sk; local 447 struct sock *sk = sock->sk; local 482 struct sock *sk = sock->sk; local 537 struct sock *sk = sock->sk; local 566 struct sock *sk = sock->sk, *nsk; local 622 struct sock *sk = sock->sk; local 640 struct sock *sk = sock->sk; local 668 struct sock *sk = sock->sk; local 708 struct sock *sk = sock->sk; local 760 struct sock *sk = sock->sk; local 778 struct sock *sk = sock->sk; local 834 __l2cap_chan_link(struct l2cap_chan_list *l, struct sock *sk) argument 846 l2cap_chan_unlink(struct l2cap_chan_list *l, struct sock *sk) argument 863 __l2cap_chan_add(struct l2cap_conn *conn, struct sock *sk, struct sock *parent) argument 892 l2cap_chan_add(struct l2cap_conn *conn, struct sock *sk, struct sock *parent) argument 902 l2cap_chan_del(struct sock *sk, int err) argument 931 struct sock *sk; local 957 l2cap_chan_ready(struct sock *sk) argument 985 struct sock * sk; local 1007 l2cap_chan_send(struct sock *sk, struct msghdr *msg, int len) argument 1211 l2cap_parse_conf_req(struct sock *sk, void *data, int len) argument 1276 l2cap_build_conf_req(struct sock *sk, void *data) argument 1296 l2cap_conf_output(struct sock *sk, void **ptr) argument 1315 l2cap_build_conf_rsp(struct sock *sk, void *data, int *result) argument 1337 struct sock *sk, *parent; local 1423 struct sock *sk; local 1462 struct sock *sk; local 1507 struct sock *sk; local 1555 struct sock *sk; local 1582 struct sock *sk; local 1681 struct sock *sk; local 1715 struct sock *sk; local 1773 register struct sock *sk; local 1832 struct sock *sk; local 1880 struct sock *sk; local 2000 struct sock *sk; local [all...] |
H A D | sco.c | 70 static inline int sco_chan_add(struct sco_conn *conn, struct sock *sk, struct sock *parent); 71 static void sco_chan_del(struct sock *sk, int err); 76 static void sco_sock_close(struct sock *sk); 77 static void sco_sock_kill(struct sock *sk); 82 struct sock *sk = (struct sock *) arg; local 84 BT_DBG("sock %p state %d", sk, sk->state); 86 bh_lock_sock(sk); 87 sk->err = ETIMEDOUT; 88 sk 95 sco_sock_set_timer(struct sock *sk, long timeout) argument 103 sco_sock_clear_timer(struct sock *sk) argument 111 sco_sock_init_timer(struct sock *sk) argument 156 struct sock *sk; local 179 sco_connect(struct sock *sk) argument 227 sco_send_frame(struct sock *sk, struct msghdr *msg, int len) argument 260 struct sock *sk = sco_chan_get(conn); local 281 struct sock *sk; local 296 struct sock *sk, *sk1 = NULL; local 318 sco_sock_destruct(struct sock *sk) argument 330 struct sock *sk; local 345 sco_sock_kill(struct sock *sk) argument 361 sco_sock_close(struct sock *sk) argument 395 sco_sock_init(struct sock *sk, struct sock *parent) argument 405 struct sock *sk; local 430 struct sock *sk; local 451 struct sock *sk = sock->sk; local 488 struct sock *sk = sock->sk; local 520 struct sock *sk = sock->sk; local 544 struct sock *sk = sock->sk, *ch; local 600 struct sock *sk = sock->sk; local 617 struct sock *sk = sock->sk; local 641 struct sock *sk = sock->sk; local 660 struct sock *sk = sock->sk; local 714 struct sock *sk = sock->sk; local 727 __sco_chan_add(struct sco_conn *conn, struct sock *sk, struct sock *parent) argument 738 sco_chan_add(struct sco_conn *conn, struct sock *sk, struct sock *parent) argument 754 struct sock *sk = NULL; local 763 sco_chan_del(struct sock *sk, int err) argument 788 struct sock *parent, *sk; local 895 struct sock *sk; local [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/wanrouter/ |
H A D | af_wanpipe.c | 93 * Each packet is enqueud into sk->write_queue transmit 98 * from the sk->write_queue transmit queue and sends it 108 * into sk->write_queue. Counter is decremented each 179 static void wanpipe_link_driver (netdevice_t *,struct sock *sk); 180 static void wanpipe_wakeup_driver(struct sock *sk); 218 static int wanpipe_rcv(struct sk_buff *skb, netdevice_t *dev, struct sock *sk) argument 249 if (sock_queue_rcv_skb(sk,skb)<0){ 254 sk->state = chan->state; 259 sk->data_ready(sk,sk 311 wanpipe_listen_rcv(struct sk_buff *skb, struct sock *sk) argument 444 struct sock *sk; local 481 struct sock *sk; local 529 struct sock *sk = sock->sk; local 668 struct sock *sk=(struct sock *)data; local 759 execute_command(struct sock *sk, unsigned char cmd, unsigned int flags) argument 831 struct sock *sk=(struct sock *)data; local 871 wanpipe_unlink_driver(struct sock *sk) argument 913 wanpipe_link_driver(netdevice_t *dev, struct sock *sk) argument 961 struct sock *sk = sock->sk; local 1076 check_write_queue(struct sock *sk) argument 1098 release_driver(struct sock *sk) argument 1139 start_cleanup_timer(struct sock *sk) argument 1160 struct sock *sk = (struct sock *)data; local 1251 wanpipe_kill_sock_accept(struct sock *sk) argument 1296 wanpipe_kill_sock_irq(struct sock *sk) argument 1334 wanpipe_do_bind(struct sock *sk, netdevice_t *dev, int protocol) argument 1403 struct sock *sk=sock->sk; local 1576 struct sock *sk; local 1627 struct sock *sk = sock->sk; local 1715 wanpipe_wakeup_driver(struct sock *sk) argument 1752 struct sock *sk = sock->sk; local 1777 struct sock *sk; local 1822 struct sock *sk = sock->sk; local 1956 struct sock *sk=NULL; local 2045 get_ioctl_cmd(struct sock *sk, void *arg) argument 2092 set_ioctl_cmd(struct sock *sk, void *arg) argument 2159 struct sock *sk = sock->sk; local 2225 struct sock *sk = sock->sk; local 2250 wanpipe_link_card(struct sock *sk) argument 2277 wanpipe_unlink_card(struct sock *sk) argument 2297 wanpipe_exec_cmd(struct sock *sk, int cmd, unsigned int flags) argument 2448 check_driver_busy(struct sock *sk) argument 2475 struct sock *sk; local 2582 struct sock *sk = sock->sk; local [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/core/ |
H A D | sock.c | 53 * Anonymous : inet_create tidied up (sk->reuse setting) 54 * Alan Cox : inet sockets don't set sk->type! 165 struct sock *sk=sock->sk; local 182 sk->linger=0; 195 lock_sock(sk); 205 sk->debug=valbool; 208 sk->reuse = valbool; 215 sk->localroute=valbool; 218 sk 419 struct sock *sk = sock->sk; local 584 struct sock *sk = kmem_cache_alloc(sk_cachep, priority); local 595 sk_free(struct sock *sk) argument 646 struct sock *sk = skb->sk; local 660 struct sock *sk = skb->sk; local 668 sock_wmalloc(struct sock *sk, unsigned long size, int force, int priority) argument 683 sock_rmalloc(struct sock *sk, unsigned long size, int force, int priority) argument 698 sock_kmalloc(struct sock *sk, int size, int priority) argument 718 sock_kfree_s(struct sock *sk, void *mem, int size) argument 727 sock_wait_for_wmem(struct sock * sk, long timeo) argument 758 sock_alloc_send_pskb(struct sock *sk, unsigned long header_len, unsigned long data_len, int noblock, int *errcode) argument 834 sock_alloc_send_skb(struct sock *sk, unsigned long size, int noblock, int *errcode) argument 840 __lock_sock(struct sock *sk) argument 857 __release_sock(struct sock *sk) argument 887 sklist_remove_socket(struct sock **list, struct sock *sk) argument 906 sklist_insert_socket(struct sock **list, struct sock *sk) argument 930 struct sock *sk=(struct sock *)data; local 939 sklist_destroy_socket(struct sock **list,struct sock *sk) argument 1042 struct sock *sk = sock->sk; local 1116 sock_def_wakeup(struct sock *sk) argument 1124 sock_def_error_report(struct sock *sk) argument 1133 sock_def_readable(struct sock *sk, int len) argument 1142 sock_def_write_space(struct sock *sk) argument 1161 sock_def_destruct(struct sock *sk) argument 1167 sock_init_data(struct socket *sock, struct sock *sk) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/netlink/ |
H A D | af_netlink.c | 63 void (*data_ready)(struct sock *sk, int bytes); 74 static int netlink_dump(struct sock *sk); 84 static void netlink_sock_destruct(struct sock *sk) argument 86 skb_queue_purge(&sk->receive_queue); 88 if (!sk->dead) { 89 printk("Freeing alive netlink socket %p\n", sk); 92 BUG_TRAP(atomic_read(&sk->rmem_alloc)==0); 93 BUG_TRAP(atomic_read(&sk->wmem_alloc)==0); 94 BUG_TRAP(sk->protinfo.af_netlink->cb==NULL); 96 kfree(sk 157 struct sock *sk; local 174 netlink_insert(struct sock *sk, u32 pid) argument 198 netlink_remove(struct sock *sk) argument 215 struct sock *sk; local 251 struct sock *sk = sock->sk; local 288 struct sock *sk = sock->sk; local 321 struct sock *sk = sock->sk; local 356 struct sock *sk = sock->sk; local 384 struct sock *sk = sock->sk; local 400 netlink_overrun(struct sock *sk) argument 410 struct sock *sk; local 473 netlink_broadcast_deliver(struct sock *sk, struct sk_buff *skb) argument 496 struct sock *sk; local 547 struct sock *sk; local 568 struct sock *sk = sock->sk; local 636 struct sock *sk = sock->sk; local 687 netlink_data_ready(struct sock *sk, int len) argument 707 netlink_kernel_create(int unit, void (*input)(struct sock *sk, int len)) argument 710 struct sock *sk; local 751 netlink_dump(struct sock *sk) argument 801 struct sock *sk; local 869 struct sock *sk = netlink_kernel_create(unit, NULL); local 898 struct sock *sk = sock->sk; local [all...] |
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/net/ |
H A D | udp.h | 41 struct sock *sk = udp_hash[num & (UDP_HTABLE_SIZE - 1)]; local 43 for(; sk != NULL; sk = sk->next) { 44 if(sk->num == num) 63 extern int udp_connect(struct sock *sk, 66 extern int udp_sendmsg(struct sock *sk, struct msghdr *msg, int len); 69 extern int udp_ioctl(struct sock *sk, int cmd, unsigned long arg); 70 extern int udp_disconnect(struct sock *sk, int flags);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/net/ |
H A D | udp.h | 41 struct sock *sk = udp_hash[num & (UDP_HTABLE_SIZE - 1)]; local 43 for(; sk != NULL; sk = sk->next) { 44 if(sk->num == num) 63 extern int udp_connect(struct sock *sk, 66 extern int udp_sendmsg(struct sock *sk, struct msghdr *msg, int len); 69 extern int udp_ioctl(struct sock *sk, int cmd, unsigned long arg); 70 extern int udp_disconnect(struct sock *sk, int flags);
|