Home | History | Annotate | Download | only in netipsec

Lines Matching defs:ipo

328 	struct ip *ipo;
367 ipo = mtod(m, struct ip *);
368 ipo->ip_v = IPVERSION;
369 ipo->ip_hl = 5;
370 ipo->ip_len = htons(m->m_pkthdr.len);
371 ipo->ip_ttl = ip_defttl;
372 ipo->ip_sum = 0;
373 ipo->ip_src = saidx->src.sin.sin_addr;
374 ipo->ip_dst = saidx->dst.sin.sin_addr;
375 ipo->ip_id = ip_newid();
384 ipo->ip_p = IPPROTO_IPIP;
392 sizeof(uint16_t), &ipo->ip_off);
393 ipo->ip_off &= ~ htons(IP_DF | IP_MF | IP_OFFMASK);
404 ipo->ip_p = IPPROTO_IPV6;
405 ipo->ip_off = 0;
414 ipo->ip_tos = otos;