Home
last modified time | relevance | path

Searched refs:ip (Results 1 – 25 of 212) sorted by relevance

123456789

/Zephyr-Core-3.7.0/arch/arm/core/
Duserspace.S55 mov ip, r1
61 mov r1, ip
64 ldr ip, =CONFIG_PRIVILEGED_STACK_SIZE
65 add r0, r0, ip
68 ldr ip, =CONFIG_PRIVILEGED_STACK_SIZE
69 add r0, r0, ip
71 ldr ip, =_kernel
72 ldr ip, [ip, #_kernel_offset_to_current]
73 str r0, [ip, #_thread_offset_to_priv_stack_end] /* priv stack end */
80 mov ip, sp
[all …]
/Zephyr-Core-3.7.0/samples/net/vlan/
Dvlan-setup-linux.sh46 ip link add link ${IFACE} name ${VLAN_NAME_PREFIX}.100 type vlan id 100
47 ip link add link ${IFACE} name ${VLAN_NAME_PREFIX}.200 type vlan id 200
49 ip link set ${VLAN_NAME_PREFIX}.100 up
50 ip link set ${VLAN_NAME_PREFIX}.200 up
52 ip -6 addr add ${PREFIX_1_IPV6}::2 dev ${VLAN_NAME_PREFIX}.100
53 ip -6 route add ${PREFIX_1_IPV6}::/${PREFIXLEN_1_IPV6} \
56 ip -6 addr add ${PREFIX_2_IPV6}::2 dev ${VLAN_NAME_PREFIX}.200
57 ip -6 route add ${PREFIX_2_IPV6}::/${PREFIXLEN_2_IPV6} \
60 ip addr add ${PREFIX_1_IPV4}.2 dev ${VLAN_NAME_PREFIX}.100
61 ip route add ${PREFIX_1_IPV4}/${PREFIXLEN_1_IPV4} dev ${VLAN_NAME_PREFIX}.100
[all …]
/Zephyr-Core-3.7.0/soc/ti/lm3s6965/
Dreboot.S48 ldr ip, =z_interrupt_stacks
49 add.w ip, ip, #(___esf_t_SIZEOF * 2) /* enough for a stack frame */
52 str r2, [ip, #(6 * 4)]
54 str r2, [ip, #(7 * 4)]
57 moveq sp, ip
58 msrne PSP, ip
/Zephyr-Core-3.7.0/subsys/net/lib/zperf/
Dzperf_session.c43 ptr->ip.family == AF_INET && in get_session()
45 net_ipv4_addr_cmp(&ptr->ip.in_addr, &addr4->sin_addr)) { in get_session()
53 ptr->ip.family == AF_INET6 && in get_session()
55 net_ipv6_addr_cmp(&ptr->ip.in6_addr, &addr6->sin6_addr)) { in get_session()
76 active->ip.family = AF_INET; in get_session()
77 net_ipaddr_copy(&active->ip.in_addr, &addr4->sin_addr); in get_session()
81 active->ip.family = AF_INET6; in get_session()
82 net_ipaddr_copy(&active->ip.in6_addr, &addr6->sin6_addr); in get_session()
/Zephyr-Core-3.7.0/arch/arm/core/cortex_a_r/
Dswap_helper.S76 mov ip, #FPEXC_EN
77 vmsr fpexc, ip
94 stm r0, {r3, ip}
101 mov ip, #0
102 vmsr fpexc, ip
271 mov ip, sp
372 ldr r8, [ip, #(FPU_SF_SIZE + ___basic_sf_t_pc_OFFSET)]
375 ldr r1, [ip, #(FPU_SF_SIZE + ___basic_sf_t_xpsr_OFFSET)]
383 str r1, [ip, #(FPU_SF_SIZE + ___basic_sf_t_xpsr_OFFSET)]
390 str r1, [ip, #(FPU_SF_SIZE + ___basic_sf_t_pc_OFFSET)]
[all …]
/Zephyr-Core-3.7.0/samples/net/ipv4_autoconf/src/
Dmain.c44 if (cfg->ip.ipv4->unicast[i].ipv4.addr_type != NET_ADDR_AUTOCONF) { in handler()
50 &cfg->ip.ipv4->unicast[i].ipv4.address.in_addr, in handler()
54 &cfg->ip.ipv4->unicast[i].netmask, in handler()
/Zephyr-Core-3.7.0/arch/arm/core/cortex_m/
Dswap_helper.S84 mrs ip, PSP
94 mov r7, ip
98 stmia r0, {r4-r11, ip}
147 mov ip, r7
183 ldmia r0, {r4-r11, ip}
188 msr PSP, ip
374 ldr ip, =K_SYSCALL_LIMIT
375 cmp r6, ip
392 mov ip, r2
399 mov r2, ip
/Zephyr-Core-3.7.0/samples/net/dhcpv4_client/src/
Dmain.c53 if (iface->config.ip.ipv4->unicast[i].ipv4.addr_type != in handler()
60 &iface->config.ip.ipv4->unicast[i].ipv4.address.in_addr, in handler()
64 &iface->config.ip.ipv4->unicast[i].netmask, in handler()
68 &iface->config.ip.ipv4->gw, in handler()
/Zephyr-Core-3.7.0/tests/net/ip-addr/
DCMakeLists.txt5 project(ip-addr)
7 target_include_directories(app PRIVATE ${ZEPHYR_BASE}/subsys/net/ip)
/Zephyr-Core-3.7.0/doc/connectivity/networking/
Dnetworking_with_multiple_instances.rst63 ip link set dev $INTERFACE up
64 ip link set dev $INTERFACE address $HWADDR
65 ip -6 address add $IPV6_ADDR_1 dev $INTERFACE nodad
66 ip -6 route add $IPV6_ROUTE_1 dev $INTERFACE
67 ip address add $IPV4_ADDR_1 dev $INTERFACE
68 ip route add $IPV4_ROUTE_1 dev $INTERFACE > /dev/null 2>&1
82 ip link set dev $INTERFACE up
83 ip link set dev $INTERFACE address $HWADDR
84 ip -6 address add $IPV6_ADDR_1 dev $INTERFACE nodad
85 ip -6 route add $IPV6_ROUTE_1 dev $INTERFACE
[all …]
Dusbnet_setup.rst79 # ip address add dev enx00005e005301 192.0.2.2
80 # ip link set enx00005e005301 up
81 # ip route add 192.0.2.0/24 dev enx00005e005301
88 # ip address add dev enx00005e005301 2001:db8::2
89 # ip link set enx00005e005301 up
90 # ip -6 route add 2001:db8::/64 dev enx00005e005301
/Zephyr-Core-3.7.0/subsys/net/lib/capture/
Dcapture.c612 struct net_pkt *ip; in capture_send() local
631 ip = net_pkt_alloc_from_slab(ctx->context->tx_slab(), PKT_ALLOC_TIME); in capture_send()
632 if (!ip) { in capture_send()
636 net_pkt_set_context(ip, ctx->context); in capture_send()
637 net_pkt_set_family(ip, ctx->local.sa_family); in capture_send()
638 net_pkt_set_iface(ip, ctx->tunnel_iface); in capture_send()
640 ret = net_pkt_alloc_buffer(ip, len, IPPROTO_UDP, PKT_ALLOC_TIME); in capture_send()
642 net_pkt_unref(ip); in capture_send()
647 net_pkt_set_ipv4_ttl(ip, in capture_send()
650 ret = net_ipv4_create(ip, &net_sin(&ctx->local)->sin_addr, in capture_send()
[all …]
/Zephyr-Core-3.7.0/subsys/net/
DCMakeLists.txt16 zephyr_library_sources(ip/net_pkt.c)
18 add_subdirectory(ip)
/Zephyr-Core-3.7.0/subsys/net/lib/dns/
DCMakeLists.txt15 zephyr_library_include_directories(${ZEPHYR_BASE}/subsys/net/ip)
20 zephyr_library_include_directories(${ZEPHYR_BASE}/subsys/net/ip)
/Zephyr-Core-3.7.0/subsys/net/l2/ppp/
DCMakeLists.txt4 zephyr_library_include_directories(. ${ZEPHYR_BASE}/subsys/net/ip)
9 zephyr_library_include_directories(${ZEPHYR_BASE}/subsys/net/ip)
/Zephyr-Core-3.7.0/samples/subsys/mgmt/updatehub/
Doverlay-prj.conf.example18 #You need set the updatehub-ce ip Address.
19 #This is a example of ip address
/Zephyr-Core-3.7.0/samples/net/telnet/src/
Dtelnet.c36 &iface->config.ip.ipv4->unicast[i]; in ipv4_addr_add_handler()
50 &iface->config.ip.ipv4->netmask, in ipv4_addr_add_handler()
54 &iface->config.ip.ipv4->gw, in ipv4_addr_add_handler()
/Zephyr-Core-3.7.0/tests/net/shell/src/
Dmain.c115 if (iface->config.ip.ipv4->unicast[i].ipv4.is_used && in if_get_addr()
116 iface->config.ip.ipv4->unicast[i].ipv4.address.family == in if_get_addr()
118 iface->config.ip.ipv4->unicast[i].ipv4.addr_state == in if_get_addr()
121 &iface->config.ip.ipv4->unicast[i].ipv4.address.in_addr; in if_get_addr()
/Zephyr-Core-3.7.0/tests/net/socket/reuseaddr_reuseport/src/
Dmain.c36 static void test_add_local_ip_address(sa_family_t family, const char *ip) in test_add_local_ip_address() argument
42 zsock_inet_pton(AF_INET, ip, &addr.sin_addr); in test_add_local_ip_address()
49 "Cannot add IPv4 address %s", ip); in test_add_local_ip_address()
53 zsock_inet_pton(AF_INET6, ip, &addr.sin6_addr); in test_add_local_ip_address()
59 "Cannot add IPv6 address %s", ip); in test_add_local_ip_address()
74 static inline void prepare_sock_tcp(sa_family_t family, const char *ip, uint16_t port, in prepare_sock_tcp() argument
78 prepare_sock_tcp_v4(ip, in prepare_sock_tcp()
83 prepare_sock_tcp_v6(ip, in prepare_sock_tcp()
90 static inline void prepare_sock_udp(sa_family_t family, const char *ip, uint16_t port, in prepare_sock_udp() argument
94 prepare_sock_udp_v4(ip, in prepare_sock_udp()
[all …]
/Zephyr-Core-3.7.0/subsys/net/lib/mqtt_sn/
Dmqtt_sn_transport_udp.c55 char ip[30], *out; in tp_udp_init() local
57 out = get_ip_str((struct sockaddr *)&udp->gwaddr, ip, sizeof(ip)); in tp_udp_init()
/Zephyr-Core-3.7.0/subsys/net/ip/
Dnet_if.c1027 if (iface->config.ip.ipv6) { in net_if_config_ipv6_get()
1029 *ipv6 = iface->config.ip.ipv6; in net_if_config_ipv6_get()
1042 iface->config.ip.ipv6 = &ipv6_addresses[i].ipv6; in net_if_config_ipv6_get()
1074 if (!iface->config.ip.ipv6) { in net_if_config_ipv6_put()
1086 iface->config.ip.ipv6 = NULL; in net_if_config_ipv6_put()
1108 if (iface->config.ip.ipv6 == NULL) { in join_mcast_allnodes()
1128 if (iface->config.ip.ipv6 == NULL) { in join_mcast_solicit_node()
1151 struct net_if_ipv6 *ipv6 = iface->config.ip.ipv6; in leave_mcast_all()
1172 if (iface->config.ip.ipv6 == NULL) { in join_mcast_nodes()
1456 if (tmp->config.ip.ipv6 == ipv6) { in rs_timeout()
[all …]
/Zephyr-Core-3.7.0/subsys/net/l2/ethernet/lldp/
DCMakeLists.txt4 zephyr_library_include_directories(. ${ZEPHYR_BASE}/subsys/net/ip)
/Zephyr-Core-3.7.0/subsys/net/l2/virtual/ipip/
DCMakeLists.txt4 zephyr_library_include_directories(. ${ZEPHYR_BASE}/subsys/net/ip)
/Zephyr-Core-3.7.0/subsys/net/l2/dummy/any/
DCMakeLists.txt4 zephyr_library_include_directories(. ${ZEPHYR_BASE}/subsys/net/ip)
/Zephyr-Core-3.7.0/subsys/net/l2/canbus/
DCMakeLists.txt4 zephyr_library_include_directories(. ${ZEPHYR_BASE}/subsys/net/ip)

123456789