Lines Matching defs:isk
80 struct inet_sock *isk, *isk2;
84 isk = inet_sk(sk);
127 isk->inet_num = ident;
153 struct inet_sock *isk = inet_sk(sk);
155 pr_debug("ping_unhash(isk=%p,isk->num=%u)\n", isk, isk->inet_num);
158 isk->inet_num = 0;
159 isk->inet_sport = 0;
171 struct inet_sock *isk;
191 isk = inet_sk(sk);
194 if (isk->inet_num != ident)
200 (int) isk->inet_num, &isk->inet_rcv_saddr,
203 if (isk->inet_rcv_saddr &&
204 isk->inet_rcv_saddr != ip_hdr(skb)->daddr)
211 (int) isk->inet_num,
288 pr_debug("isk->refcnt = %d\n", refcount_read(&sk->sk_refcnt));
308 static int ping_check_bind_addr(struct sock *sk, struct inet_sock *isk,
337 !inet_can_nonlocal_bind(net, isk)))
382 if (!(ipv6_can_nonlocal_bind(net, isk) || has_addr ||
398 struct inet_sock *isk = inet_sk(sk);
400 isk->inet_rcv_saddr = isk->inet_saddr = addr->sin_addr.s_addr;
417 struct inet_sock *isk = inet_sk(sk);
422 err = ping_check_bind_addr(sk, isk, uaddr, addr_len);
429 if (isk->inet_num != 0)
442 isk->inet_num,
446 if (sk->sk_family == AF_INET && isk->inet_rcv_saddr)
455 isk->inet_sport = htons(isk->inet_num);
456 isk->inet_daddr = 0;
457 isk->inet_dport = 0;
854 struct inet_sock *isk = inet_sk(sk);
859 pr_debug("ping_recvmsg(sk=%p,sk->num=%u)\n", isk, isk->inet_num);
897 if (inet_cmsg_flags(isk))
924 inet_cmsg_flags(isk))