- t2ex
- bsd_source/t2ex/network/net/src_bsd/netinet/ip_output.c - 67.3KB - 1,940 lines
1104:
1105: if (m && m->m_len > offsetof(struct ipoption, ipopt_dst))
1106: return (m->m_len - offsetof(struct ipoption, ipopt_dst));
- bsd_source/t2ex/network/net/src_bsd/netinet/tcp_output.c - 62.9KB - 1,704 lines
1447: case AF_INET:
1448: m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum);
1449: if (use_tso) {
- More results from tcp_output.c
- bsd_source/t2ex/network/net/src_bsd/netinet/udp_usrreq.c - 51.8KB - 1,650 lines
1226: m->m_pkthdr.csum_flags = M_CSUM_UDPv4;
1227: m->m_pkthdr.csum_data = offsetof(struct udphdr, uh_sum);
1228: } else
- bsd_source/t2ex/network/net/src_bsd/sys/ktrace.h - 12.8KB - 493 lines
81:
82: #define KTR_SHIMLEN offsetof(struct ktr_header, ktr_pid)
83:
- bsd_source/t2ex/network/net/src_bsd/sys/mbuf.h - 42.4KB - 986 lines
318: /* normal data len */
319: #define MLEN (MSIZE - offsetof(struct _mbuf_dummy, m_dat))
320: /* data len w/pkthdr */
- More results from mbuf.h
- t2ex_source/include/t2ex/dirent.h - 3.2KB - 91 lines
74: #define RECLEN_DIRENT(len) \
75: ( (offsetof(struct dirent, d_name) + (len) + 1 + sizeof(INT) - 1) \
76: / sizeof(INT) * sizeof(INT) )
- t2ex_source/kernel/sysmain/src/network_sample/dhclient.c - 13.2KB - 407 lines
195:
196: udp_len = sizeof p.udphdr + offsetof(struct dhcp_message, options) + state->option_length;
197: p.udphdr.uh_ulen = htons(udp_len);
- t2ex_source/t2ex/fs/fimp/src/fimp_fat.c - 201.0KB - 6,353 lines
159: } LDE_NMPOS[3] = {
160: {offsetof(FAT_DIRENT_LFN, lde_fname1), 10},
161: {offsetof(FAT_DIRENT_LFN, lde_fname2), 12},
- More results from fimp_fat.c
- t2ex_source/t2ex/fs/fimp/src/fimp_fat_local.h - 23.2KB - 504 lines
117: #define PageFromUseque(q) ((DCachePage*)((UW)(q) - \
118: offsetof(DCachePage, dcp_uq)))
119: #define PageFromActque(q) ((DCachePage*)((UW)(q) - \
- More results from fimp_fat_local.h