Searched refs:reass (Results 1 – 6 of 6) sorted by relevance
/Zephyr-latest/subsys/net/ip/ |
D | ipv4_fragment.c | 114 static void reassembly_info(char *str, struct net_ipv4_reassembly *reass) in reassembly_info() argument 116 LOG_DBG("%s id 0x%x src %s dst %s remain %d ms", str, reass->id, in reassembly_info() 117 net_sprint_ipv4_addr(&reass->src), in reassembly_info() 118 net_sprint_ipv4_addr(&reass->dst), in reassembly_info() 120 k_work_delayable_remaining_get(&reass->timer))); in reassembly_info() 126 struct net_ipv4_reassembly *reass = in reassembly_timeout() local 129 reassembly_info("Reassembly cancelled", reass); in reassembly_timeout() 132 if (reass->pkt[0] && net_pkt_ipv4_fragment_offset(reass->pkt[0]) == 0) { in reassembly_timeout() 133 net_icmpv4_send_error(reass->pkt[0], NET_ICMPV4_TIME_EXCEEDED, in reassembly_timeout() 137 reassembly_cancel(reass->id, &reass->src, &reass->dst); in reassembly_timeout() [all …]
|
D | ipv6_fragment.c | 205 static void reassembly_info(char *str, struct net_ipv6_reassembly *reass) in reassembly_info() argument 207 NET_DBG("%s id 0x%x src %s dst %s remain %d ms", str, reass->id, in reassembly_info() 208 net_sprint_ipv6_addr(&reass->src), in reassembly_info() 209 net_sprint_ipv6_addr(&reass->dst), in reassembly_info() 211 k_work_delayable_remaining_get(&reass->timer))); in reassembly_info() 217 struct net_ipv6_reassembly *reass = in reassembly_timeout() local 220 reassembly_info("Reassembly cancelled", reass); in reassembly_timeout() 223 if (reass->pkt[0] && net_pkt_ipv6_fragment_offset(reass->pkt[0]) == 0) { in reassembly_timeout() 224 net_icmpv6_send_error(reass->pkt[0], NET_ICMPV6_TIME_EXCEEDED, 1, 0); in reassembly_timeout() 227 reassembly_cancel(reass->id, &reass->src, &reass->dst); in reassembly_timeout() [all …]
|
D | ipv4.h | 350 typedef void (*net_ipv4_frag_cb_t)(struct net_ipv4_reassembly *reass, void *user_data);
|
D | ipv6.h | 456 typedef void (*net_ipv6_frag_cb_t)(struct net_ipv6_reassembly *reass,
|
/Zephyr-latest/subsys/net/lib/shell/ |
D | ipv6.c | 17 void ipv6_frag_cb(struct net_ipv6_reassembly *reass, void *user_data) in ipv6_frag_cb() argument 30 snprintk(src, ADDR_LEN, "%s", net_sprint_ipv6_addr(&reass->src)); in ipv6_frag_cb() 32 PR("%p 0x%08x %5d %16s\t%16s\n", reass, reass->id, in ipv6_frag_cb() 33 k_ticks_to_ms_ceil32(k_work_delayable_remaining_get(&reass->timer)), in ipv6_frag_cb() 34 src, net_sprint_ipv6_addr(&reass->dst)); in ipv6_frag_cb() 37 if (reass->pkt[i]) { in ipv6_frag_cb() 38 struct net_buf *frag = reass->pkt[i]->frags; in ipv6_frag_cb() 40 PR("[%d] pkt %p->", i, reass->pkt[i]); in ipv6_frag_cb()
|
D | net_shell_private.h | 92 void ipv6_frag_cb(struct net_ipv6_reassembly *reass, void *user_data);
|