Home
last modified time | relevance | path

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

/Zephyr-Core-2.7.6/samples/net/sockets/echo_server/src/
Dvlan.c46 const char *ipv4_addr, const char *netmask, in setup_iface() argument
75 if (net_addr_pton(AF_INET, ipv4_addr, &addr4)) { in setup_iface()
76 LOG_ERR("Invalid address: %s", ipv4_addr); in setup_iface()
84 ipv4_addr, iface); in setup_iface()
90 LOG_ERR("Invalid netmask: %s", ipv4_addr); in setup_iface()
/Zephyr-Core-2.7.6/samples/net/sockets/echo_client/src/
Dvlan.c46 const char *ipv4_addr, uint16_t vlan_tag) in setup_iface() argument
69 if (net_addr_pton(AF_INET, ipv4_addr, &addr4)) { in setup_iface()
70 LOG_ERR("Invalid address: %s", ipv4_addr); in setup_iface()
76 LOG_ERR("Cannot add %s to interface %p", ipv4_addr, iface); in setup_iface()
/Zephyr-Core-2.7.6/samples/net/gptp/src/
Dmain.c56 const char *ipv4_addr, uint16_t vlan_tag) in setup_iface() argument
79 if (net_addr_pton(AF_INET, ipv4_addr, &addr4)) { in setup_iface()
80 LOG_ERR("Invalid address: %s", ipv4_addr); in setup_iface()
86 LOG_ERR("Cannot add %s to interface %p", ipv4_addr, iface); in setup_iface()
/Zephyr-Core-2.7.6/samples/net/lldp/src/
Dmain.c69 const char *ipv4_addr, uint16_t vlan_tag) in setup_iface() argument
92 if (net_addr_pton(AF_INET, ipv4_addr, &addr4)) { in setup_iface()
93 LOG_ERR("Invalid address: %s", ipv4_addr); in setup_iface()
99 LOG_ERR("Cannot add %s to interface %p", ipv4_addr, iface); in setup_iface()
/Zephyr-Core-2.7.6/samples/net/sockets/txtime/src/
Dvlan.c46 const char *ipv4_addr, uint16_t vlan_tag) in setup_iface() argument
79 if (net_addr_pton(AF_INET, ipv4_addr, &addr4)) { in setup_iface()
88 ipv4_addr, iface); in setup_iface()
/Zephyr-Core-2.7.6/subsys/net/lib/socks/
Dsocks_internal.h71 struct socks5_ipv4_addr ipv4_addr; member
86 struct socks5_ipv4_addr ipv4_addr; member
Dsocks.c131 memcpy(&cmd_req.ipv4_addr.addr, in socks5_tcp_connect()
133 sizeof(cmd_req.ipv4_addr.addr)); in socks5_tcp_connect()
135 cmd_req.ipv4_addr.port = d4->sin_port; in socks5_tcp_connect()
/Zephyr-Core-2.7.6/samples/net/virtual/src/
Dmain.c236 const char *ipv4_addr, in setup_iface() argument
301 if (net_addr_pton(AF_INET, ipv4_addr, &addr4)) { in setup_iface()
302 LOG_ERR("Invalid address: %s", ipv4_addr); in setup_iface()
310 ipv4_addr, iface); in setup_iface()
/Zephyr-Core-2.7.6/tests/net/socket/misc/src/
Dmain.c69 struct in_addr *ipv4_addr; member
75 .ipv4_addr = &my_ipv4_addr1
80 .ipv4_addr = &my_ipv4_addr2
126 ifaddr = net_if_ipv4_addr_add(net_if_lookup_by_dev(dev), ctx->ipv4_addr, in dummy_iface_init()
/Zephyr-Core-2.7.6/subsys/net/l2/ethernet/
Dethernet.c48 void net_eth_ipv4_mcast_to_mac_addr(const struct in_addr *ipv4_addr, in net_eth_ipv4_mcast_to_mac_addr() argument
60 mac_addr->addr[3] = ipv4_addr->s4_addr[1]; in net_eth_ipv4_mcast_to_mac_addr()
61 mac_addr->addr[4] = ipv4_addr->s4_addr[2]; in net_eth_ipv4_mcast_to_mac_addr()
62 mac_addr->addr[5] = ipv4_addr->s4_addr[3]; in net_eth_ipv4_mcast_to_mac_addr()
/Zephyr-Core-2.7.6/include/net/
Dethernet.h690 void net_eth_ipv4_mcast_to_mac_addr(const struct in_addr *ipv4_addr,