Searched refs:IPOPT_OFFSET (Results 1 - 3 of 3) sorted by relevance

/darwin-on-arm/xnu/bsd/netinet/
H A Dip.h191 #define IPOPT_OFFSET 2 /* offset within option */ macro
H A Dip_input.c335 char srcopt[IPOPT_OFFSET + 1]; /* OPTVAL, OLEN and OFFSET */
1876 if (optlen < IPOPT_OFFSET + sizeof(*cp)) {
1880 if ((off = cp[IPOPT_OFFSET]) < IPOPT_MINOFF) {
1881 code = &cp[IPOPT_OFFSET] - (u_char *)ip;
1969 cp[IPOPT_OFFSET] += sizeof(struct in_addr);
1977 if (optlen < IPOPT_OFFSET + sizeof(*cp)) {
1978 code = &cp[IPOPT_OFFSET] - (u_char *)ip;
1981 if ((off = cp[IPOPT_OFFSET]) < IPOPT_MINOFF) {
1982 code = &cp[IPOPT_OFFSET] - (u_char *)ip;
2011 cp[IPOPT_OFFSET]
[all...]
H A Dip_output.c2824 bcopy((caddr_t)&cp[IPOPT_OFFSET+1], mtod(m, caddr_t),
2830 ovbcopy((caddr_t)(&cp[IPOPT_OFFSET+1] +
2832 (caddr_t)&cp[IPOPT_OFFSET+1],

Completed in 103 milliseconds