Lines Matching refs:sa
221 if (lsa->u.sa.sa_family == AF_INET6) in create_icmp_socket()
264 xsendto(pingsock, G.packet, DEFDATALEN + ICMP_MINLEN, &lsa->u.sa, lsa->len); in ping4()
309 xsendto(pingsock, G.packet, DEFDATALEN + sizeof(struct icmp6_hdr), &lsa->u.sa, lsa->len); in ping6()
383 if (lsa->u.sa.sa_family == AF_INET6) in common_ping_main()
442 struct sockaddr sa; member
528 sz = xsendto(pingsock, G.snd_packet, size_pkt, &pingaddr.sa, sizeof(pingaddr)); in sendping_tail()
770 &source_lsa->u.sa, source_lsa->len)) in ping4()
772 xbind(pingsock, &source_lsa->u.sa, source_lsa->len); in ping4()
827 xbind(pingsock, &source_lsa->u.sa, source_lsa->len); in ping6()
914 xmalloc_sockaddr2dotted_noport(&source_lsa->u.sa)); in ping()
926 if (lsa->u.sa.sa_family == AF_INET6) { in ping()
995 if (source_lsa && source_lsa->u.sa.sa_family != lsa->u.sa.sa_family) in common_ping_main()
999 dotted = xmalloc_sockaddr2dotted_noport(&lsa->u.sa); in common_ping_main()