Lines Matching refs:start
276 uchar_t *start = (uchar_t *)dh4->options;
279 while (start < end) {
280 if (*start == CD_PAD) {
281 start++;
284 if (*start == CD_END)
287 otype = *start++;
288 olen = *start++;
290 *opt = start;
294 start += olen;
300 * Locate the start of a DHCPv4 header.
799 * Locate the start of a DHCPv6 header.
1610 * Get the start/end pointers of an L3 packet and also do pullup if needed.
1614 get_l3_info(mblk_t *mp, size_t hdrsize, uchar_t **start, uchar_t **end,
1648 *start = s;
1658 uchar_t *start, *end;
1670 err = get_l3_info(mp, mhi.mhi_hdrsize, &start, &end, &nmp);
1680 ipha_t *ipha = (ipha_t *)start;
1682 if (start + sizeof (ipha_t) > end)
1693 ip6_t *ip6h = (ip6_t *)start;
1695 if (start + sizeof (ip6_t) > end)
1935 uchar_t *start, *end;
1939 err = get_l3_info(mp, hdrsize, &start, &end, &nmp);
1949 ipha_t *ipha = (ipha_t *)start;
1951 if (start + sizeof (ipha_t) > end)
1962 arh_t *arh = (arh_t *)start;
1967 if (start + sizeof (arh_t) > end)
1978 if (start + arplen > end)
1981 shaddr = start + sizeof (arh_t);
1992 ip6_t *ip6h = (ip6_t *)start;
1994 if (start + sizeof (ip6_t) > end)
2122 uchar_t *start, *end;
2126 err = get_l3_info(mp, hdrsize, &start, &end, &nmp);
2136 ipha_t *ipha = (ipha_t *)start;
2138 if (start + sizeof (ipha_t) > end)
2147 ip6_t *ip6h = (ip6_t *)start;
2149 if (start + sizeof (ip6_t) > end)