Searched refs:set_sockaddr (Results 1 – 1 of 1) sorted by relevance
/Linux-v5.10/net/ipv4/ |
D | ipconfig.c | 332 set_sockaddr(struct sockaddr_in *sin, __be32 addr, __be16 port) in set_sockaddr() function 351 set_sockaddr(sin, ic_myaddr, 0); in ic_setup_if() 357 set_sockaddr(sin, ic_netmask, 0); in ic_setup_if() 363 set_sockaddr(sin, ic_myaddr | ~ic_netmask, 0); in ic_setup_if() 396 set_sockaddr((struct sockaddr_in *) &rm.rt_dst, 0, 0); in ic_setup_routes() 397 set_sockaddr((struct sockaddr_in *) &rm.rt_genmask, 0, 0); in ic_setup_routes() 398 set_sockaddr((struct sockaddr_in *) &rm.rt_gateway, ic_gateway, 0); in ic_setup_routes()
|