/Zephyr-Core-2.7.6/samples/net/sockets/echo_server/src/ |
D | vlan.c | 46 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/ |
D | vlan.c | 46 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/ |
D | main.c | 56 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/ |
D | main.c | 69 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/ |
D | vlan.c | 46 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/ |
D | socks_internal.h | 71 struct socks5_ipv4_addr ipv4_addr; member 86 struct socks5_ipv4_addr ipv4_addr; member
|
D | socks.c | 131 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/ |
D | main.c | 236 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/ |
D | main.c | 69 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/ |
D | ethernet.c | 48 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/ |
D | ethernet.h | 690 void net_eth_ipv4_mcast_to_mac_addr(const struct in_addr *ipv4_addr,
|