Home
last modified time | relevance | path

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

123456789

/Zephyr-Core-3.6.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.6.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.6.0/soc/arm/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.6.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.6.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.6.0/samples/net/dhcpv4_client/src/
Dmain.c53 if (iface->config.ip.ipv4->unicast[i].addr_type != in handler()
60 &iface->config.ip.ipv4->unicast[i].address.in_addr, in handler()
64 &iface->config.ip.ipv4->netmask, in handler()
68 &iface->config.ip.ipv4->gw, in handler()
/Zephyr-Core-3.6.0/subsys/net/lib/capture/
Dcapture.c578 struct net_pkt *ip; in capture_send() local
597 ip = net_pkt_alloc_from_slab(ctx->context->tx_slab(), PKT_ALLOC_TIME); in capture_send()
598 if (!ip) { in capture_send()
602 net_pkt_set_context(ip, ctx->context); in capture_send()
603 net_pkt_set_family(ip, ctx->local.sa_family); in capture_send()
604 net_pkt_set_iface(ip, ctx->tunnel_iface); in capture_send()
606 ret = net_pkt_alloc_buffer(ip, len, IPPROTO_UDP, PKT_ALLOC_TIME); in capture_send()
608 net_pkt_unref(ip); in capture_send()
613 net_pkt_set_ipv4_ttl(ip, in capture_send()
616 ret = net_ipv4_create(ip, &net_sin(&ctx->local)->sin_addr, in capture_send()
[all …]
DCMakeLists.txt4 zephyr_include_directories(${ZEPHYR_BASE}/subsys/net/ip)
/Zephyr-Core-3.6.0/tests/net/ip-addr/
DCMakeLists.txt5 project(ip-addr)
7 target_include_directories(app PRIVATE ${ZEPHYR_BASE}/subsys/net/ip)
/Zephyr-Core-3.6.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.6.0/subsys/net/
DCMakeLists.txt16 zephyr_library_sources(ip/net_pkt.c)
18 add_subdirectory(ip)
/Zephyr-Core-3.6.0/subsys/net/lib/dns/
DCMakeLists.txt13 zephyr_library_include_directories(${ZEPHYR_BASE}/subsys/net/ip)
18 zephyr_library_include_directories(${ZEPHYR_BASE}/subsys/net/ip)
/Zephyr-Core-3.6.0/arch/arm/core/cortex_m/
Dswap_helper.S83 mrs ip, PSP
93 mov r7, ip
97 stmia r0, {v1-v8, ip}
251 mov ip, r7
314 ldmia r0, {v1-v8, ip}
319 msr PSP, ip
504 ldr ip, =K_SYSCALL_LIMIT
505 cmp r6, ip
522 mov ip, r2
529 mov r2, ip
/Zephyr-Core-3.6.0/samples/net/ipv4_autoconf/src/
Dmain.c44 if (cfg->ip.ipv4->unicast[i].addr_type != NET_ADDR_AUTOCONF) { in handler()
50 &cfg->ip.ipv4->unicast[i].address.in_addr, in handler()
/Zephyr-Core-3.6.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.6.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.6.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.6.0/tests/net/shell/src/
Dmain.c115 if (iface->config.ip.ipv4->unicast[i].is_used && in if_get_addr()
116 iface->config.ip.ipv4->unicast[i].address.family == in if_get_addr()
118 iface->config.ip.ipv4->unicast[i].addr_state == in if_get_addr()
121 &iface->config.ip.ipv4->unicast[i].address.in_addr; in if_get_addr()
/Zephyr-Core-3.6.0/tests/net/socket/reuseaddr_reuseport/src/
Dmain.c35 static void test_add_local_ip_address(sa_family_t family, const char *ip) in test_add_local_ip_address() argument
40 zsock_inet_pton(AF_INET, ip, &addr.sin_addr); in test_add_local_ip_address()
46 "Cannot add IPv4 address %s", ip); in test_add_local_ip_address()
50 zsock_inet_pton(AF_INET6, ip, &addr.sin6_addr); in test_add_local_ip_address()
56 "Cannot add IPv6 address %s", ip); in test_add_local_ip_address()
71 static inline void prepare_sock_tcp(sa_family_t family, const char *ip, uint16_t port, in prepare_sock_tcp() argument
75 prepare_sock_tcp_v4(ip, in prepare_sock_tcp()
80 prepare_sock_tcp_v6(ip, in prepare_sock_tcp()
87 static inline void prepare_sock_udp(sa_family_t family, const char *ip, uint16_t port, in prepare_sock_udp() argument
91 prepare_sock_udp_v4(ip, in prepare_sock_udp()
[all …]
/Zephyr-Core-3.6.0/subsys/net/lib/mqtt_sn/
Dmqtt_sn_transport_udp.c59 char ip[30], *out; in tp_udp_init() local
61 out = get_ip_str((struct sockaddr *)&udp->gwaddr, ip, sizeof(ip)); in tp_udp_init()
/Zephyr-Core-3.6.0/subsys/net/ip/
Dnet_if.c1023 if (iface->config.ip.ipv6) { in net_if_config_ipv6_get()
1025 *ipv6 = iface->config.ip.ipv6; in net_if_config_ipv6_get()
1038 iface->config.ip.ipv6 = &ipv6_addresses[i].ipv6; in net_if_config_ipv6_get()
1070 if (!iface->config.ip.ipv6) { in net_if_config_ipv6_put()
1082 iface->config.ip.ipv6 = NULL; in net_if_config_ipv6_put()
1131 struct net_if_ipv6 *ipv6 = iface->config.ip.ipv6; in leave_mcast_all()
1411 if (tmp->config.ip.ipv6 == ipv6) { in rs_timeout()
1439 ipv6 = iface->config.ip.ipv6; in net_if_start_rs()
1469 ipv6 = iface->config.ip.ipv6; in net_if_stop_rs()
1507 ipv6 = iface->config.ip.ipv6; in net_if_ipv6_addr_lookup()
[all …]
/Zephyr-Core-3.6.0/subsys/net/l2/ethernet/lldp/
DCMakeLists.txt4 zephyr_library_include_directories(. ${ZEPHYR_BASE}/subsys/net/ip)
/Zephyr-Core-3.6.0/subsys/net/l2/virtual/ipip/
DCMakeLists.txt4 zephyr_library_include_directories(. ${ZEPHYR_BASE}/subsys/net/ip)
/Zephyr-Core-3.6.0/subsys/net/l2/canbus/
DCMakeLists.txt4 zephyr_library_include_directories(. ${ZEPHYR_BASE}/subsys/net/ip)

123456789