- t2ex
- bsd_source/t2ex/network/net/src_bsd/compat/common/uipc_syscalls_43.c - 16.4KB - 597 lines
273: /* convert from sockaddr sa_family to osockaddr one here */
274: mtod(from, struct osockaddr *)->sa_family =
275: mtod(from, struct sockaddr *)->sa_family;
- More results from uipc_syscalls_43.c
- bsd_source/t2ex/network/net/src_bsd/kern/uipc_mbuf.c - 57.8KB - 1,910 lines
655: return (NULL);
656: memset(mtod(m, void *), 0, MLEN);
657: return (m);
- More results from uipc_mbuf.c
- bsd_source/t2ex/network/net/src_bsd/kern/uipc_mbuf2.c - 12.9KB - 420 lines
174: !sharedcluster) {
175: m_copydata(n->m_next, 0, tlen, mtod(n, char *) + n->m_len);
176: n->m_len += tlen;
- More results from uipc_mbuf2.c
- bsd_source/t2ex/network/net/src_bsd/kern/uipc_socket.c - 76.4KB - 2,408 lines
1034: }
1035: error = uiomove(mtod(m, void *), (int)len, uio);
1036: #ifndef T2EX /* not support loan */
- More results from uipc_socket.c
- bsd_source/t2ex/network/net/src_bsd/kern/uipc_socket2.c - 45.7KB - 1,544 lines
1038: m->m_len = asa->sa_len;
1039: memcpy(mtod(m, void *), asa, asa->sa_len);
1040: if (n)
- More results from uipc_socket2.c
- bsd_source/t2ex/network/net/src_bsd/kern/uipc_syscalls.c - 40.9KB - 1,442 lines
812: : (m->m_len - CMSG_SPACE(sizeof(int))) / sizeof(int) + 1;
813: fdv = (int *) CMSG_DATA(mtod(m,struct cmsghdr *));
814: for (i = 0; i < nfd; i++) {
- More results from uipc_syscalls.c
- bsd_source/t2ex/network/net/src_bsd/net/bpf.c - 56.1KB - 2,015 lines
305:
306: error = uiomove(mtod(m, void *), len, uio);
307: if (error)
- More results from bpf.c
- bsd_source/t2ex/network/net/src_bsd/net/bpf_filter.c - 21.1KB - 639 lines
83: MINDEX(len, m, k);
84: cp = mtod(m, u_char *) + k;
85: if (len >= k + 4) {
- More results from bpf_filter.c
- bsd_source/t2ex/network/net/src_bsd/net/if.h - 41.3KB - 977 lines
770: (pattr)->pattr_af = (af); \
771: (pattr)->pattr_hdr = mtod((m), void *); \
772: } \
- bsd_source/t2ex/network/net/src_bsd/net/if_ethersubr.c - 51.3KB - 1,589 lines
306: case AF_ARP:
307: ah = mtod(m, struct arphdr *);
308: if (m->m_flags & M_BCAST)
- More results from if_ethersubr.c