The data in an mbuf buffer is not necessarily at the start of the allocated buffer. (For instance m_adj() allows data to be trimmed from the start by just advancing the pointer and reducing the length.) This means that the allocated buffer size (m->m_size) and the amount of space from the m_data pointer to the end of the buffer (M_ROOM(m)) are not necessarily the same. Commit |
||
|---|---|---|
| .. | ||
| arp_table.c | ||
| bootp.c | ||
| bootp.h | ||
| cksum.c | ||
| COPYRIGHT | ||
| debug.h | ||
| dhcpv6.c | ||
| dhcpv6.h | ||
| dnssearch.c | ||
| if.c | ||
| if.h | ||
| ip.h | ||
| ip6.h | ||
| ip6_icmp.c | ||
| ip6_icmp.h | ||
| ip6_input.c | ||
| ip6_output.c | ||
| ip_icmp.c | ||
| ip_icmp.h | ||
| ip_input.c | ||
| ip_output.c | ||
| libslirp.h | ||
| main.h | ||
| Makefile.objs | ||
| mbuf.c | ||
| mbuf.h | ||
| misc.c | ||
| misc.h | ||
| ncsi-pkt.h | ||
| ncsi.c | ||
| ndp_table.c | ||
| sbuf.c | ||
| sbuf.h | ||
| slirp.c | ||
| slirp.h | ||
| slirp_config.h | ||
| socket.c | ||
| socket.h | ||
| tcp.h | ||
| tcp_input.c | ||
| tcp_output.c | ||
| tcp_subr.c | ||
| tcp_timer.c | ||
| tcp_timer.h | ||
| tcp_var.h | ||
| tcpip.h | ||
| tftp.c | ||
| tftp.h | ||
| udp.c | ||
| udp.h | ||
| udp6.c | ||