Searched refs:isk (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/net/ipv4/
H A Dping.c86 struct inet_sock *isk, *isk2; ping_get_port() local
89 isk = inet_sk(sk); ping_get_port()
132 isk->inet_num = ident;
156 struct inet_sock *isk = inet_sk(sk); ping_unhash() local
157 pr_debug("ping_unhash(isk=%p,isk->num=%u)\n", isk, isk->inet_num); ping_unhash()
163 isk->inet_num = 0; ping_unhash()
164 isk->inet_sport = 0; ping_unhash()
175 struct inet_sock *isk; ping_lookup() local
192 isk = inet_sk(sk); ping_portaddr_for_each_entry()
195 if (isk->inet_num != ident) ping_portaddr_for_each_entry()
201 (int) isk->inet_num, &isk->inet_rcv_saddr, ping_portaddr_for_each_entry()
204 if (isk->inet_rcv_saddr && ping_portaddr_for_each_entry()
205 isk->inet_rcv_saddr != ip_hdr(skb)->daddr) ping_portaddr_for_each_entry()
212 (int) isk->inet_num, ping_portaddr_for_each_entry()
295 pr_debug("isk->refcnt = %d\n", sk->sk_refcnt.counter); ping_close()
302 static int ping_check_bind_addr(struct sock *sk, struct inet_sock *isk, ping_check_bind_addr() argument
326 isk->freebind == 0 && isk->transparent == 0 && ping_check_bind_addr()
366 if (!(isk->freebind || isk->transparent || has_addr || ping_check_bind_addr()
382 struct inet_sock *isk = inet_sk(sk); ping_set_saddr() local
384 isk->inet_rcv_saddr = isk->inet_saddr = addr->sin_addr.s_addr; ping_set_saddr()
398 struct inet_sock *isk = inet_sk(sk); ping_clear_saddr() local
399 isk->inet_rcv_saddr = isk->inet_saddr = 0; ping_clear_saddr()
415 struct inet_sock *isk = inet_sk(sk); ping_bind() local
420 err = ping_check_bind_addr(sk, isk, uaddr, addr_len); ping_bind()
427 if (isk->inet_num != 0) ping_bind()
439 (int)isk->inet_num, ping_bind()
443 if (sk->sk_family == AF_INET && isk->inet_rcv_saddr) ping_bind()
452 isk->inet_sport = htons(isk->inet_num); ping_bind()
453 isk->inet_daddr = 0; ping_bind()
454 isk->inet_dport = 0; ping_bind()
857 struct inet_sock *isk = inet_sk(sk); ping_recvmsg() local
862 pr_debug("ping_recvmsg(sk=%p,sk->num=%u)\n", isk, isk->inet_num); ping_recvmsg()
900 if (isk->cmsg_flags) ping_recvmsg()
927 else if (skb->protocol == htons(ETH_P_IP) && isk->cmsg_flags) ping_recvmsg()
/linux-4.1.27/net/iucv/
H A Daf_iucv.c656 struct iucv_sock *isk, *n; iucv_accept_dequeue() local
659 list_for_each_entry_safe(isk, n, &iucv_sk(parent)->accept_q, accept_q) { iucv_accept_dequeue()
660 sk = (struct sock *) isk; iucv_accept_dequeue()
1443 struct iucv_sock *isk, *n; iucv_accept_poll() local
1446 list_for_each_entry_safe(isk, n, &iucv_sk(parent)->accept_q, accept_q) { iucv_accept_poll()
1447 sk = (struct sock *) isk; iucv_accept_poll()
2221 struct sock *isk = skb->sk; afiucv_hs_callback_txnotify() local
2231 if (sk == isk) { afiucv_hs_callback_txnotify()

Completed in 149 milliseconds