Searched refs:sintocsa (Results 1 – 5 of 5) sorted by relevance
/netbsd/sys/netinet/ |
H A D | ip_output.c | 326 ifa = ifa_ifwithladdr_psref(sintocsa(dst), &psref_ia); in ip_output() 727 sa = (m->m_flags & M_MCAST) ? sintocsa(rdst) : sintocsa(dst); in ip_output() 799 sintocsa(rdst) : sintocsa(dst), rt); in ip_output() 2163 (void)looutput(ifp, copym, sintocsa(dst), NULL); in ip_mloopback()
|
H A D | in.h | 466 #define sintocsa(sin) ((const struct sockaddr *)(sin)) macro
|
H A D | in.c | 592 ifreq_setaddr(cmd, ifr, sintocsa(&ia->ia_addr)); in in_control0() 600 ifreq_setdstaddr(cmd, ifr, sintocsa(&ia->ia_broadaddr)); in in_control0() 608 ifreq_setdstaddr(cmd, ifr, sintocsa(&ia->ia_dstaddr)); in in_control0()
|
H A D | if_arp.c | 1201 sa = sintocsa(&sin); in arplookup() 1222 sa = sintocsa(&sin); in arpcreate()
|
/netbsd/sys/nfs/ |
H A D | nfs_boot.c | 373 ifreq_setaddr(SIOCDIFADDR, &ifr, sintocsa(&sin)); in nfs_boot_deladdress()
|