Lines Matching defs:ip6e
1448 struct ip6_ext *ip6e = NULL;
1469 if (off + sizeof(*ip6e) > m->m_len)
1471 ip6e = (struct ip6_ext *)(mtod(m, caddr_t) + off);
1473 elen = (ip6e->ip6e_len + 2) << 2;
1475 elen = (ip6e->ip6e_len + 1) << 3;
1484 ip6e = mtod(ext, struct ip6_ext *);
1486 elen = (ip6e->ip6e_len + 2) << 2;
1488 elen = (ip6e->ip6e_len + 1) << 3;
1501 *mp = sbcreatecontrol((caddr_t)ip6e, elen,
1511 *mp = sbcreatecontrol((caddr_t)ip6e, elen,
1537 nxt = ip6e->ip6e_nxt;
1538 ip6e = NULL;
1561 struct ip6_ext ip6e;
1577 m_copydata(m, off, sizeof(ip6e), (caddr_t)&ip6e);
1579 elen = (ip6e.ip6e_len + 2) << 2;
1581 elen = (ip6e.ip6e_len + 1) << 3;
1629 struct ip6_ext *ip6e = NULL;
1634 ip6e = (struct ip6_ext *)(mtod(m, caddr_t) + len);
1641 len += (ip6e->ip6e_len + 2) << 2;
1644 len += (ip6e->ip6e_len + 1) << 3;
1647 nxt = ip6e->ip6e_nxt;
1649 if (ip6e)
1650 return((char *) &ip6e->ip6e_nxt);
1667 struct ip6_ext ip6e;
1703 if (m->m_pkthdr.len < off + sizeof(ip6e))
1705 m_copydata(m, off, sizeof(ip6e), (caddr_t)&ip6e);
1707 *nxtp = ip6e.ip6e_nxt;
1708 off += (ip6e.ip6e_len + 2) << 2;
1714 if (m->m_pkthdr.len < off + sizeof(ip6e))
1716 m_copydata(m, off, sizeof(ip6e), (caddr_t)&ip6e);
1718 *nxtp = ip6e.ip6e_nxt;
1719 off += (ip6e.ip6e_len + 1) << 3;