mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-10 09:35:22 +00:00
net_app_ctx maintains multiple net contexts(net_ctx). But when http api's wants to reply or send some data, its always choose the first net_context in the array, which is not correct always. net_app_get_net_pkt_with_dst() api will select proper context based on destination address. So with the help of new api in net_app, http can select proper context and send packets. To achieve this, desination address is provided in http_recv_cb_t and http_connect_cb_t callbacks. Also chaged relevant API's to provide destination address in http message preparation methods. Signed-off-by: Ravi kumar Veeramally <ravikumar.veeramally@linux.intel.com> |
||
---|---|---|
.. | ||
arch | ||
bluetooth | ||
crypto | ||
debug | ||
dfu | ||
display | ||
drivers | ||
dt-bindings | ||
fs | ||
linker | ||
logging | ||
mgmt | ||
misc | ||
net | ||
posix | ||
random | ||
shell | ||
toolchain | ||
usb | ||
zephyr | ||
adc.h | ||
aio_comparator.h | ||
atomic.h | ||
cache.h | ||
clock_control.h | ||
console.h | ||
counter.h | ||
crc8.h | ||
crc16.h | ||
device.h | ||
disk_access.h | ||
dma.h | ||
entropy.h | ||
eth.h | ||
fcb.h | ||
flash_map.h | ||
flash.h | ||
fs.h | ||
gpio.h | ||
i2c.h | ||
i2s.h | ||
init.h | ||
ipm.h | ||
irq_offload.h | ||
irq.h | ||
json.h | ||
kernel_version.h | ||
kernel.h | ||
led_strip.h | ||
pinmux.h | ||
power.h | ||
pwm.h | ||
ring_buffer.h | ||
rtc.h | ||
sensor.h | ||
shared_irq.h | ||
spi_legacy.h | ||
spi.h | ||
spinlock.h | ||
stats.h | ||
sw_isr_table.h | ||
sys_clock.h | ||
sys_io.h | ||
syscall.h | ||
toolchain.h | ||
uart.h | ||
watchdog.h | ||
zephyr.h |