Searched refs:sk2 (Results 1 – 8 of 8) sorted by relevance
/linux-2.4.37.9/net/ipv6/ |
D | udp.c | 105 struct sock *sk2; in udp_v6_get_port() local 108 for (sk2 = udp_hash[snum & (UDP_HTABLE_SIZE - 1)]; in udp_v6_get_port() 109 sk2 != NULL; in udp_v6_get_port() 110 sk2 = sk2->next) { in udp_v6_get_port() 111 if (sk2->num == snum && in udp_v6_get_port() 112 sk2 != sk && in udp_v6_get_port() 113 (!sk2->bound_dev_if || in udp_v6_get_port() 115 sk2->bound_dev_if == sk->bound_dev_if) && in udp_v6_get_port() 116 ((!sk2->rcv_saddr && !ipv6_only_sock(sk)) || in udp_v6_get_port() 117 (sk2->family == AF_INET6 && in udp_v6_get_port() [all …]
|
D | tcp_ipv6.c | 142 struct sock *sk2 = tb->owners; in tcp_v6_get_port() local 147 for( ; sk2 != NULL; sk2 = sk2->bind_next) { in tcp_v6_get_port() 148 if (sk != sk2 && in tcp_v6_get_port() 150 !sk2->bound_dev_if || in tcp_v6_get_port() 151 sk->bound_dev_if == sk2->bound_dev_if)) { in tcp_v6_get_port() 153 !sk2->reuse || in tcp_v6_get_port() 154 sk2->state == TCP_LISTEN) { in tcp_v6_get_port() 156 if ((!sk2->rcv_saddr && !ipv6_only_sock(sk)) || in tcp_v6_get_port() 157 (sk2->family == AF_INET6 && in tcp_v6_get_port() 158 ipv6_addr_any(&sk2->net_pinfo.af_inet6.rcv_saddr) && in tcp_v6_get_port() [all …]
|
D | raw.c | 141 struct sock *sk, *sk2; in ipv6_raw_deliver() local 163 sk2 = sk; in ipv6_raw_deliver() 165 while ((sk2 = __raw_v6_lookup(sk2->next, nexthdr, daddr, saddr))) { in ipv6_raw_deliver() 169 icmpv6_filter(sk2, skb)) in ipv6_raw_deliver() 174 rawv6_rcv(sk2, buff); in ipv6_raw_deliver()
|
/linux-2.4.37.9/drivers/isdn/ |
D | isdn_audio.c | 461 sk2; in isdn_audio_goertzel() local 476 sk = sk1 = sk2 = 0; in isdn_audio_goertzel() 478 sk = sample[n] + ((cos2pik[k] * sk1) >> 15) - sk2; in isdn_audio_goertzel() 479 sk2 = sk1; in isdn_audio_goertzel() 484 sk2 >>= 1; in isdn_audio_goertzel() 491 if (sk2 < -32768 || sk2 > 32767) in isdn_audio_goertzel() 493 "isdn_audio: dtmf goertzel overflow, sk2=%d\n", sk2); in isdn_audio_goertzel() 496 ((((cos2pik[k] * sk) >> 15) * sk2) >> AMP_BITS) + in isdn_audio_goertzel() 497 ((sk2 * sk2) >> AMP_BITS); in isdn_audio_goertzel()
|
/linux-2.4.37.9/net/ipv4/ |
D | udp.c | 159 struct sock *sk2; in udp_v4_get_port() local 161 for (sk2 = udp_hash[snum & (UDP_HTABLE_SIZE - 1)]; in udp_v4_get_port() 162 sk2 != NULL; in udp_v4_get_port() 163 sk2 = sk2->next) { in udp_v4_get_port() 164 if (sk2->num == snum && in udp_v4_get_port() 165 sk2 != sk && in udp_v4_get_port() 166 !ipv6_only_sock(sk2) && in udp_v4_get_port() 167 (!sk2->bound_dev_if || in udp_v4_get_port() 169 sk2->bound_dev_if == sk->bound_dev_if) && in udp_v4_get_port() 170 (!sk2->rcv_saddr || in udp_v4_get_port() [all …]
|
D | tcp_ipv4.c | 185 struct sock *sk2 = tb->owners; in tcp_bind_conflict() local 188 for( ; sk2 != NULL; sk2 = sk2->bind_next) { in tcp_bind_conflict() 189 if (sk != sk2 && in tcp_bind_conflict() 190 sk2->reuse <= 1 && in tcp_bind_conflict() 191 !ipv6_only_sock(sk2) && in tcp_bind_conflict() 193 !sk2->bound_dev_if || in tcp_bind_conflict() 194 sk->bound_dev_if == sk2->bound_dev_if)) { in tcp_bind_conflict() 196 !sk2->reuse || in tcp_bind_conflict() 197 sk2->state == TCP_LISTEN) { in tcp_bind_conflict() 198 if (!sk2->rcv_saddr || in tcp_bind_conflict() [all …]
|
D | af_inet.c | 681 struct sock *sk2; in inet_accept() local 684 if((sk2 = sk1->prot->accept(sk1,flags,&err)) == NULL) in inet_accept() 687 lock_sock(sk2); in inet_accept() 689 BUG_TRAP((1<<sk2->state)&(TCPF_ESTABLISHED|TCPF_CLOSE_WAIT|TCPF_CLOSE)); in inet_accept() 691 sock_graft(sk2, newsock); in inet_accept() 694 release_sock(sk2); in inet_accept()
|
/linux-2.4.37.9/net/sctp/ |
D | socket.c | 3782 struct sock *sk2 = pp->sk; in sctp_get_port_local() local 3799 for ( ; sk2 != NULL; sk2 = sk2->bind_next) { in sctp_get_port_local() 3801 ep2 = sctp_sk(sk2)->ep; in sctp_get_port_local() 3803 if (sk == sk2 || in sctp_get_port_local() 3804 (reuse && sk2->reuse && in sctp_get_port_local() 3805 sk2->state != SCTP_SS_LISTENING)) in sctp_get_port_local() 3815 if (sk2 != NULL) { in sctp_get_port_local() 3816 ret = (long) sk2; in sctp_get_port_local()
|