Home
last modified time | relevance | path

Searched refs:optptr (Results 1 – 1 of 1) sorted by relevance

/linux-2.4.37.9/net/ipv4/
Dip_options.c209 unsigned char * optptr = skb->nh.raw; in ip_options_fragment() local
215 switch (*optptr) { in ip_options_fragment()
220 optptr++; in ip_options_fragment()
223 optlen = optptr[1]; in ip_options_fragment()
226 if (!IPOPT_COPIED(*optptr)) in ip_options_fragment()
227 memset(optptr, IPOPT_NOOP, optlen); in ip_options_fragment()
229 optptr += optlen; in ip_options_fragment()
249 unsigned char * optptr; in ip_options_compile() local
259 optptr = iph + sizeof(struct iphdr); in ip_options_compile()
262 optptr = opt->is_data ? opt->__data : (unsigned char*)&(skb->nh.iph[1]); in ip_options_compile()
[all …]