Home
last modified time | relevance | path

Searched refs:cfg_saddr4 (Results 1 – 1 of 1) sorted by relevance

/linux/tools/testing/selftests/net/lib/
H A Dcsum.c120 static struct sockaddr_in cfg_saddr4 = {.sin_family = AF_INET}; variable
197 iph->saddr = cfg_saddr4.sin_addr.s_addr; in build_packet_ipv4()
363 cfg_saddr4.sin_port = htons(cfg_port_src); in open_inet()
365 if (bind(fd, (void *)&cfg_saddr4, sizeof(cfg_saddr4))) in open_inet()
899 cfg_saddr4.sin_port = htons(cfg_port_src); in parse_args()
904 if (inet_pton(cfg_family, saddr, &cfg_saddr4.sin_addr) != 1) in parse_args()