Home
last modified time | relevance | path

Searched refs:ipr (Results 51 – 75 of 1466) sorted by relevance

12345678910>>...59

/dports/sysutils/u-boot-pandaboard/u-boot-2021.07/drivers/net/
H A Dsandbox.c122 struct ip_udp_hdr *ipr; in sandbox_eth_ping_req_to_reply() local
149 ipr->ip_sum = 0; in sandbox_eth_ping_req_to_reply()
150 ipr->ip_off = 0; in sandbox_eth_ping_req_to_reply()
153 ipr->ip_sum = compute_ip_checksum(ipr, IP_HDR_SIZE); in sandbox_eth_ping_req_to_reply()
217 struct ip_udp_hdr *ipr; in sandbox_eth_recv_ping_req() local
232 ipr->ip_hl_v = 0x45; in sandbox_eth_recv_ping_req()
234 ipr->ip_off = htons(IP_FLAGS_DFRAG); in sandbox_eth_recv_ping_req()
235 ipr->ip_p = IPPROTO_ICMP; in sandbox_eth_recv_ping_req()
236 ipr->ip_sum = 0; in sandbox_eth_recv_ping_req()
238 net_write_ip(&ipr->ip_dst, net_ip); in sandbox_eth_recv_ping_req()
[all …]
/dports/sysutils/u-boot-pine64/u-boot-2021.07/drivers/net/
H A Dsandbox.c122 struct ip_udp_hdr *ipr; in sandbox_eth_ping_req_to_reply() local
149 ipr->ip_sum = 0; in sandbox_eth_ping_req_to_reply()
150 ipr->ip_off = 0; in sandbox_eth_ping_req_to_reply()
153 ipr->ip_sum = compute_ip_checksum(ipr, IP_HDR_SIZE); in sandbox_eth_ping_req_to_reply()
217 struct ip_udp_hdr *ipr; in sandbox_eth_recv_ping_req() local
232 ipr->ip_hl_v = 0x45; in sandbox_eth_recv_ping_req()
234 ipr->ip_off = htons(IP_FLAGS_DFRAG); in sandbox_eth_recv_ping_req()
235 ipr->ip_p = IPPROTO_ICMP; in sandbox_eth_recv_ping_req()
236 ipr->ip_sum = 0; in sandbox_eth_recv_ping_req()
238 net_write_ip(&ipr->ip_dst, net_ip); in sandbox_eth_recv_ping_req()
[all …]
/dports/sysutils/u-boot-pine-h64/u-boot-2021.07/drivers/net/
H A Dsandbox.c122 struct ip_udp_hdr *ipr;
149 ipr->ip_sum = 0;
150 ipr->ip_off = 0;
153 ipr->ip_sum = compute_ip_checksum(ipr, IP_HDR_SIZE); in sb_eth_raw_of_to_plat()
217 struct ip_udp_hdr *ipr;
232 ipr->ip_hl_v = 0x45;
234 ipr->ip_off = htons(IP_FLAGS_DFRAG);
235 ipr->ip_p = IPPROTO_ICMP;
236 ipr->ip_sum = 0;
238 net_write_ip(&ipr->ip_dst, net_ip);
[all …]
/dports/sysutils/u-boot-pcduino3/u-boot-2021.07/drivers/net/
H A Dsandbox.c122 struct ip_udp_hdr *ipr; in sandbox_eth_ping_req_to_reply() local
149 ipr->ip_sum = 0; in sandbox_eth_ping_req_to_reply()
150 ipr->ip_off = 0; in sandbox_eth_ping_req_to_reply()
153 ipr->ip_sum = compute_ip_checksum(ipr, IP_HDR_SIZE); in sandbox_eth_ping_req_to_reply()
217 struct ip_udp_hdr *ipr; in sandbox_eth_recv_ping_req() local
232 ipr->ip_hl_v = 0x45; in sandbox_eth_recv_ping_req()
234 ipr->ip_off = htons(IP_FLAGS_DFRAG); in sandbox_eth_recv_ping_req()
235 ipr->ip_p = IPPROTO_ICMP; in sandbox_eth_recv_ping_req()
236 ipr->ip_sum = 0; in sandbox_eth_recv_ping_req()
238 net_write_ip(&ipr->ip_dst, net_ip); in sandbox_eth_recv_ping_req()
[all …]
/dports/sysutils/u-boot-pinebook/u-boot-2021.07/drivers/net/
H A Dsandbox.c122 struct ip_udp_hdr *ipr; in sandbox_eth_ping_req_to_reply() local
149 ipr->ip_sum = 0; in sandbox_eth_ping_req_to_reply()
150 ipr->ip_off = 0; in sandbox_eth_ping_req_to_reply()
153 ipr->ip_sum = compute_ip_checksum(ipr, IP_HDR_SIZE); in sandbox_eth_ping_req_to_reply()
217 struct ip_udp_hdr *ipr; in sandbox_eth_recv_ping_req() local
232 ipr->ip_hl_v = 0x45; in sandbox_eth_recv_ping_req()
234 ipr->ip_off = htons(IP_FLAGS_DFRAG); in sandbox_eth_recv_ping_req()
235 ipr->ip_p = IPPROTO_ICMP; in sandbox_eth_recv_ping_req()
236 ipr->ip_sum = 0; in sandbox_eth_recv_ping_req()
238 net_write_ip(&ipr->ip_dst, net_ip); in sandbox_eth_recv_ping_req()
[all …]
/dports/sysutils/u-boot-pinebookpro/u-boot-2021.07/drivers/net/
H A Dsandbox.c122 struct ip_udp_hdr *ipr; in sandbox_eth_ping_req_to_reply() local
149 ipr->ip_sum = 0; in sandbox_eth_ping_req_to_reply()
150 ipr->ip_off = 0; in sandbox_eth_ping_req_to_reply()
153 ipr->ip_sum = compute_ip_checksum(ipr, IP_HDR_SIZE); in sandbox_eth_ping_req_to_reply()
217 struct ip_udp_hdr *ipr; in sandbox_eth_recv_ping_req() local
232 ipr->ip_hl_v = 0x45; in sandbox_eth_recv_ping_req()
234 ipr->ip_off = htons(IP_FLAGS_DFRAG); in sandbox_eth_recv_ping_req()
235 ipr->ip_p = IPPROTO_ICMP; in sandbox_eth_recv_ping_req()
236 ipr->ip_sum = 0; in sandbox_eth_recv_ping_req()
238 net_write_ip(&ipr->ip_dst, net_ip); in sandbox_eth_recv_ping_req()
[all …]
/dports/sysutils/u-boot-pine64-lts/u-boot-2021.07/drivers/net/
H A Dsandbox.c122 struct ip_udp_hdr *ipr; in sandbox_eth_ping_req_to_reply() local
149 ipr->ip_sum = 0; in sandbox_eth_ping_req_to_reply()
150 ipr->ip_off = 0; in sandbox_eth_ping_req_to_reply()
153 ipr->ip_sum = compute_ip_checksum(ipr, IP_HDR_SIZE); in sandbox_eth_ping_req_to_reply()
217 struct ip_udp_hdr *ipr; in sandbox_eth_recv_ping_req() local
232 ipr->ip_hl_v = 0x45; in sandbox_eth_recv_ping_req()
234 ipr->ip_off = htons(IP_FLAGS_DFRAG); in sandbox_eth_recv_ping_req()
235 ipr->ip_p = IPPROTO_ICMP; in sandbox_eth_recv_ping_req()
236 ipr->ip_sum = 0; in sandbox_eth_recv_ping_req()
238 net_write_ip(&ipr->ip_dst, net_ip); in sandbox_eth_recv_ping_req()
[all …]
/dports/sysutils/u-boot-nanopi-neo/u-boot-2021.07/drivers/net/
H A Dsandbox.c122 struct ip_udp_hdr *ipr; in sandbox_eth_ping_req_to_reply() local
149 ipr->ip_sum = 0; in sandbox_eth_ping_req_to_reply()
150 ipr->ip_off = 0; in sandbox_eth_ping_req_to_reply()
153 ipr->ip_sum = compute_ip_checksum(ipr, IP_HDR_SIZE); in sandbox_eth_ping_req_to_reply()
217 struct ip_udp_hdr *ipr; in sandbox_eth_recv_ping_req() local
232 ipr->ip_hl_v = 0x45; in sandbox_eth_recv_ping_req()
234 ipr->ip_off = htons(IP_FLAGS_DFRAG); in sandbox_eth_recv_ping_req()
235 ipr->ip_p = IPPROTO_ICMP; in sandbox_eth_recv_ping_req()
236 ipr->ip_sum = 0; in sandbox_eth_recv_ping_req()
238 net_write_ip(&ipr->ip_dst, net_ip); in sandbox_eth_recv_ping_req()
[all …]
/dports/sysutils/u-boot-nanopi-neo-air/u-boot-2021.07/drivers/net/
H A Dsandbox.c122 struct ip_udp_hdr *ipr; in sandbox_eth_ping_req_to_reply() local
149 ipr->ip_sum = 0; in sandbox_eth_ping_req_to_reply()
150 ipr->ip_off = 0; in sandbox_eth_ping_req_to_reply()
153 ipr->ip_sum = compute_ip_checksum(ipr, IP_HDR_SIZE); in sandbox_eth_ping_req_to_reply()
217 struct ip_udp_hdr *ipr; in sandbox_eth_recv_ping_req() local
232 ipr->ip_hl_v = 0x45; in sandbox_eth_recv_ping_req()
234 ipr->ip_off = htons(IP_FLAGS_DFRAG); in sandbox_eth_recv_ping_req()
235 ipr->ip_p = IPPROTO_ICMP; in sandbox_eth_recv_ping_req()
236 ipr->ip_sum = 0; in sandbox_eth_recv_ping_req()
238 net_write_ip(&ipr->ip_dst, net_ip); in sandbox_eth_recv_ping_req()
[all …]
/dports/sysutils/u-boot-nanopi-a64/u-boot-2021.07/drivers/net/
H A Dsandbox.c122 struct ip_udp_hdr *ipr; in sandbox_eth_ping_req_to_reply() local
149 ipr->ip_sum = 0; in sandbox_eth_ping_req_to_reply()
150 ipr->ip_off = 0; in sandbox_eth_ping_req_to_reply()
153 ipr->ip_sum = compute_ip_checksum(ipr, IP_HDR_SIZE); in sandbox_eth_ping_req_to_reply()
217 struct ip_udp_hdr *ipr; in sandbox_eth_recv_ping_req() local
232 ipr->ip_hl_v = 0x45; in sandbox_eth_recv_ping_req()
234 ipr->ip_off = htons(IP_FLAGS_DFRAG); in sandbox_eth_recv_ping_req()
235 ipr->ip_p = IPPROTO_ICMP; in sandbox_eth_recv_ping_req()
236 ipr->ip_sum = 0; in sandbox_eth_recv_ping_req()
238 net_write_ip(&ipr->ip_dst, net_ip); in sandbox_eth_recv_ping_req()
[all …]
/dports/sysutils/u-boot-nanopi-neo2/u-boot-2021.07/drivers/net/
H A Dsandbox.c122 struct ip_udp_hdr *ipr; in sandbox_eth_ping_req_to_reply() local
149 ipr->ip_sum = 0; in sandbox_eth_ping_req_to_reply()
150 ipr->ip_off = 0; in sandbox_eth_ping_req_to_reply()
153 ipr->ip_sum = compute_ip_checksum(ipr, IP_HDR_SIZE); in sandbox_eth_ping_req_to_reply()
217 struct ip_udp_hdr *ipr; in sandbox_eth_recv_ping_req() local
232 ipr->ip_hl_v = 0x45; in sandbox_eth_recv_ping_req()
234 ipr->ip_off = htons(IP_FLAGS_DFRAG); in sandbox_eth_recv_ping_req()
235 ipr->ip_p = IPPROTO_ICMP; in sandbox_eth_recv_ping_req()
236 ipr->ip_sum = 0; in sandbox_eth_recv_ping_req()
238 net_write_ip(&ipr->ip_dst, net_ip); in sandbox_eth_recv_ping_req()
[all …]
/dports/emulators/qemu/qemu-6.2.0/roms/u-boot/drivers/net/
H A Dsandbox.c122 struct ip_udp_hdr *ipr; in sandbox_eth_ping_req_to_reply() local
149 ipr->ip_sum = 0; in sandbox_eth_ping_req_to_reply()
150 ipr->ip_off = 0; in sandbox_eth_ping_req_to_reply()
153 ipr->ip_sum = compute_ip_checksum(ipr, IP_HDR_SIZE); in sandbox_eth_ping_req_to_reply()
217 struct ip_udp_hdr *ipr; in sandbox_eth_recv_ping_req() local
232 ipr->ip_hl_v = 0x45; in sandbox_eth_recv_ping_req()
234 ipr->ip_off = htons(IP_FLAGS_DFRAG); in sandbox_eth_recv_ping_req()
235 ipr->ip_p = IPPROTO_ICMP; in sandbox_eth_recv_ping_req()
236 ipr->ip_sum = 0; in sandbox_eth_recv_ping_req()
238 net_write_ip(&ipr->ip_dst, net_ip); in sandbox_eth_recv_ping_req()
[all …]
/dports/sysutils/u-boot-orangepi-pc2/u-boot-2021.07/drivers/net/
H A Dsandbox.c122 struct ip_udp_hdr *ipr; in sandbox_eth_ping_req_to_reply() local
149 ipr->ip_sum = 0; in sandbox_eth_ping_req_to_reply()
150 ipr->ip_off = 0; in sandbox_eth_ping_req_to_reply()
153 ipr->ip_sum = compute_ip_checksum(ipr, IP_HDR_SIZE); in sandbox_eth_ping_req_to_reply()
217 struct ip_udp_hdr *ipr; in sandbox_eth_recv_ping_req() local
232 ipr->ip_hl_v = 0x45; in sandbox_eth_recv_ping_req()
234 ipr->ip_off = htons(IP_FLAGS_DFRAG); in sandbox_eth_recv_ping_req()
235 ipr->ip_p = IPPROTO_ICMP; in sandbox_eth_recv_ping_req()
236 ipr->ip_sum = 0; in sandbox_eth_recv_ping_req()
238 net_write_ip(&ipr->ip_dst, net_ip); in sandbox_eth_recv_ping_req()
[all …]
/dports/sysutils/u-boot-orangepi-pc/u-boot-2021.07/drivers/net/
H A Dsandbox.c122 struct ip_udp_hdr *ipr; in sandbox_eth_ping_req_to_reply() local
149 ipr->ip_sum = 0; in sandbox_eth_ping_req_to_reply()
150 ipr->ip_off = 0; in sandbox_eth_ping_req_to_reply()
153 ipr->ip_sum = compute_ip_checksum(ipr, IP_HDR_SIZE); in sandbox_eth_ping_req_to_reply()
217 struct ip_udp_hdr *ipr; in sandbox_eth_recv_ping_req() local
232 ipr->ip_hl_v = 0x45; in sandbox_eth_recv_ping_req()
234 ipr->ip_off = htons(IP_FLAGS_DFRAG); in sandbox_eth_recv_ping_req()
235 ipr->ip_p = IPPROTO_ICMP; in sandbox_eth_recv_ping_req()
236 ipr->ip_sum = 0; in sandbox_eth_recv_ping_req()
238 net_write_ip(&ipr->ip_dst, net_ip); in sandbox_eth_recv_ping_req()
[all …]
/dports/sysutils/u-boot-olinuxino-lime2-emmc/u-boot-2021.07/drivers/net/
H A Dsandbox.c122 struct ip_udp_hdr *ipr; in sandbox_eth_ping_req_to_reply() local
149 ipr->ip_sum = 0; in sandbox_eth_ping_req_to_reply()
150 ipr->ip_off = 0; in sandbox_eth_ping_req_to_reply()
153 ipr->ip_sum = compute_ip_checksum(ipr, IP_HDR_SIZE); in sandbox_eth_ping_req_to_reply()
217 struct ip_udp_hdr *ipr; in sandbox_eth_recv_ping_req() local
232 ipr->ip_hl_v = 0x45; in sandbox_eth_recv_ping_req()
234 ipr->ip_off = htons(IP_FLAGS_DFRAG); in sandbox_eth_recv_ping_req()
235 ipr->ip_p = IPPROTO_ICMP; in sandbox_eth_recv_ping_req()
236 ipr->ip_sum = 0; in sandbox_eth_recv_ping_req()
238 net_write_ip(&ipr->ip_dst, net_ip); in sandbox_eth_recv_ping_req()
[all …]
/dports/sysutils/u-boot-orangepi-one/u-boot-2021.07/drivers/net/
H A Dsandbox.c122 struct ip_udp_hdr *ipr; in sandbox_eth_ping_req_to_reply() local
149 ipr->ip_sum = 0; in sandbox_eth_ping_req_to_reply()
150 ipr->ip_off = 0; in sandbox_eth_ping_req_to_reply()
153 ipr->ip_sum = compute_ip_checksum(ipr, IP_HDR_SIZE); in sandbox_eth_ping_req_to_reply()
217 struct ip_udp_hdr *ipr; in sandbox_eth_recv_ping_req() local
232 ipr->ip_hl_v = 0x45; in sandbox_eth_recv_ping_req()
234 ipr->ip_off = htons(IP_FLAGS_DFRAG); in sandbox_eth_recv_ping_req()
235 ipr->ip_p = IPPROTO_ICMP; in sandbox_eth_recv_ping_req()
236 ipr->ip_sum = 0; in sandbox_eth_recv_ping_req()
238 net_write_ip(&ipr->ip_dst, net_ip); in sandbox_eth_recv_ping_req()
[all …]
/dports/sysutils/u-boot-orangepi-pc-plus/u-boot-2021.07/drivers/net/
H A Dsandbox.c122 struct ip_udp_hdr *ipr; in sandbox_eth_ping_req_to_reply() local
149 ipr->ip_sum = 0; in sandbox_eth_ping_req_to_reply()
150 ipr->ip_off = 0; in sandbox_eth_ping_req_to_reply()
153 ipr->ip_sum = compute_ip_checksum(ipr, IP_HDR_SIZE); in sandbox_eth_ping_req_to_reply()
217 struct ip_udp_hdr *ipr; in sandbox_eth_recv_ping_req() local
232 ipr->ip_hl_v = 0x45; in sandbox_eth_recv_ping_req()
234 ipr->ip_off = htons(IP_FLAGS_DFRAG); in sandbox_eth_recv_ping_req()
235 ipr->ip_p = IPPROTO_ICMP; in sandbox_eth_recv_ping_req()
236 ipr->ip_sum = 0; in sandbox_eth_recv_ping_req()
238 net_write_ip(&ipr->ip_dst, net_ip); in sandbox_eth_recv_ping_req()
[all …]
/dports/sysutils/u-boot-bananapi/u-boot-2021.07/drivers/net/
H A Dsandbox.c122 struct ip_udp_hdr *ipr; in sandbox_eth_ping_req_to_reply() local
149 ipr->ip_sum = 0; in sandbox_eth_ping_req_to_reply()
150 ipr->ip_off = 0; in sandbox_eth_ping_req_to_reply()
153 ipr->ip_sum = compute_ip_checksum(ipr, IP_HDR_SIZE); in sandbox_eth_ping_req_to_reply()
217 struct ip_udp_hdr *ipr; in sandbox_eth_recv_ping_req() local
232 ipr->ip_hl_v = 0x45; in sandbox_eth_recv_ping_req()
234 ipr->ip_off = htons(IP_FLAGS_DFRAG); in sandbox_eth_recv_ping_req()
235 ipr->ip_p = IPPROTO_ICMP; in sandbox_eth_recv_ping_req()
236 ipr->ip_sum = 0; in sandbox_eth_recv_ping_req()
238 net_write_ip(&ipr->ip_dst, net_ip); in sandbox_eth_recv_ping_req()
[all …]
/dports/sysutils/u-boot-tools/u-boot-2020.07/drivers/net/
H A Dsandbox.c121 struct ip_udp_hdr *ipr; in sandbox_eth_ping_req_to_reply() local
148 ipr->ip_sum = 0; in sandbox_eth_ping_req_to_reply()
149 ipr->ip_off = 0; in sandbox_eth_ping_req_to_reply()
152 ipr->ip_sum = compute_ip_checksum(ipr, IP_HDR_SIZE); in sandbox_eth_ping_req_to_reply()
216 struct ip_udp_hdr *ipr; in sandbox_eth_recv_ping_req() local
231 ipr->ip_hl_v = 0x45; in sandbox_eth_recv_ping_req()
233 ipr->ip_off = htons(IP_FLAGS_DFRAG); in sandbox_eth_recv_ping_req()
234 ipr->ip_p = IPPROTO_ICMP; in sandbox_eth_recv_ping_req()
235 ipr->ip_sum = 0; in sandbox_eth_recv_ping_req()
237 net_write_ip(&ipr->ip_dst, net_ip); in sandbox_eth_recv_ping_req()
[all …]
/dports/sysutils/u-boot-bananapim2/u-boot-2021.07/drivers/net/
H A Dsandbox.c122 struct ip_udp_hdr *ipr; in sandbox_eth_ping_req_to_reply() local
149 ipr->ip_sum = 0; in sandbox_eth_ping_req_to_reply()
150 ipr->ip_off = 0; in sandbox_eth_ping_req_to_reply()
153 ipr->ip_sum = compute_ip_checksum(ipr, IP_HDR_SIZE); in sandbox_eth_ping_req_to_reply()
217 struct ip_udp_hdr *ipr; in sandbox_eth_recv_ping_req() local
232 ipr->ip_hl_v = 0x45; in sandbox_eth_recv_ping_req()
234 ipr->ip_off = htons(IP_FLAGS_DFRAG); in sandbox_eth_recv_ping_req()
235 ipr->ip_p = IPPROTO_ICMP; in sandbox_eth_recv_ping_req()
236 ipr->ip_sum = 0; in sandbox_eth_recv_ping_req()
238 net_write_ip(&ipr->ip_dst, net_ip); in sandbox_eth_recv_ping_req()
[all …]
/dports/sysutils/u-boot-sopine-spi/u-boot-2021.07/drivers/net/
H A Dsandbox.c122 struct ip_udp_hdr *ipr; in sandbox_eth_ping_req_to_reply() local
149 ipr->ip_sum = 0; in sandbox_eth_ping_req_to_reply()
150 ipr->ip_off = 0; in sandbox_eth_ping_req_to_reply()
153 ipr->ip_sum = compute_ip_checksum(ipr, IP_HDR_SIZE); in sandbox_eth_ping_req_to_reply()
217 struct ip_udp_hdr *ipr; in sandbox_eth_recv_ping_req() local
232 ipr->ip_hl_v = 0x45; in sandbox_eth_recv_ping_req()
234 ipr->ip_off = htons(IP_FLAGS_DFRAG); in sandbox_eth_recv_ping_req()
235 ipr->ip_p = IPPROTO_ICMP; in sandbox_eth_recv_ping_req()
236 ipr->ip_sum = 0; in sandbox_eth_recv_ping_req()
238 net_write_ip(&ipr->ip_dst, net_ip); in sandbox_eth_recv_ping_req()
[all …]
/dports/sysutils/u-boot-a13-olinuxino/u-boot-2021.07/drivers/net/
H A Dsandbox.c122 struct ip_udp_hdr *ipr; in sandbox_eth_ping_req_to_reply() local
149 ipr->ip_sum = 0; in sandbox_eth_ping_req_to_reply()
150 ipr->ip_off = 0; in sandbox_eth_ping_req_to_reply()
153 ipr->ip_sum = compute_ip_checksum(ipr, IP_HDR_SIZE); in sandbox_eth_ping_req_to_reply()
217 struct ip_udp_hdr *ipr; in sandbox_eth_recv_ping_req() local
232 ipr->ip_hl_v = 0x45; in sandbox_eth_recv_ping_req()
234 ipr->ip_off = htons(IP_FLAGS_DFRAG); in sandbox_eth_recv_ping_req()
235 ipr->ip_p = IPPROTO_ICMP; in sandbox_eth_recv_ping_req()
236 ipr->ip_sum = 0; in sandbox_eth_recv_ping_req()
238 net_write_ip(&ipr->ip_dst, net_ip); in sandbox_eth_recv_ping_req()
[all …]
/dports/sysutils/u-boot-wandboard/u-boot-2021.07/drivers/net/
H A Dsandbox.c122 struct ip_udp_hdr *ipr; in sandbox_eth_ping_req_to_reply() local
149 ipr->ip_sum = 0; in sandbox_eth_ping_req_to_reply()
150 ipr->ip_off = 0; in sandbox_eth_ping_req_to_reply()
153 ipr->ip_sum = compute_ip_checksum(ipr, IP_HDR_SIZE); in sandbox_eth_ping_req_to_reply()
217 struct ip_udp_hdr *ipr; in sandbox_eth_recv_ping_req() local
232 ipr->ip_hl_v = 0x45; in sandbox_eth_recv_ping_req()
234 ipr->ip_off = htons(IP_FLAGS_DFRAG); in sandbox_eth_recv_ping_req()
235 ipr->ip_p = IPPROTO_ICMP; in sandbox_eth_recv_ping_req()
236 ipr->ip_sum = 0; in sandbox_eth_recv_ping_req()
238 net_write_ip(&ipr->ip_dst, net_ip); in sandbox_eth_recv_ping_req()
[all …]
/dports/sysutils/u-boot-rock64/u-boot-2021.07/drivers/net/
H A Dsandbox.c122 struct ip_udp_hdr *ipr; in sandbox_eth_ping_req_to_reply() local
149 ipr->ip_sum = 0; in sandbox_eth_ping_req_to_reply()
150 ipr->ip_off = 0; in sandbox_eth_ping_req_to_reply()
153 ipr->ip_sum = compute_ip_checksum(ipr, IP_HDR_SIZE); in sandbox_eth_ping_req_to_reply()
217 struct ip_udp_hdr *ipr; in sandbox_eth_recv_ping_req() local
232 ipr->ip_hl_v = 0x45; in sandbox_eth_recv_ping_req()
234 ipr->ip_off = htons(IP_FLAGS_DFRAG); in sandbox_eth_recv_ping_req()
235 ipr->ip_p = IPPROTO_ICMP; in sandbox_eth_recv_ping_req()
236 ipr->ip_sum = 0; in sandbox_eth_recv_ping_req()
238 net_write_ip(&ipr->ip_dst, net_ip); in sandbox_eth_recv_ping_req()
[all …]
/dports/sysutils/u-boot-rockpro64/u-boot-2021.07/drivers/net/
H A Dsandbox.c122 struct ip_udp_hdr *ipr; in sandbox_eth_ping_req_to_reply() local
149 ipr->ip_sum = 0; in sandbox_eth_ping_req_to_reply()
150 ipr->ip_off = 0; in sandbox_eth_ping_req_to_reply()
153 ipr->ip_sum = compute_ip_checksum(ipr, IP_HDR_SIZE); in sandbox_eth_ping_req_to_reply()
217 struct ip_udp_hdr *ipr; in sandbox_eth_recv_ping_req() local
232 ipr->ip_hl_v = 0x45; in sandbox_eth_recv_ping_req()
234 ipr->ip_off = htons(IP_FLAGS_DFRAG); in sandbox_eth_recv_ping_req()
235 ipr->ip_p = IPPROTO_ICMP; in sandbox_eth_recv_ping_req()
236 ipr->ip_sum = 0; in sandbox_eth_recv_ping_req()
238 net_write_ip(&ipr->ip_dst, net_ip); in sandbox_eth_recv_ping_req()
[all …]

12345678910>>...59