Searched refs:optptr (Results 1 – 4 of 4) sorted by relevance
197 unsigned char *optptr = skb_network_header(skb) + sizeof(struct iphdr); in ip_options_fragment() local203 switch (*optptr) { in ip_options_fragment()208 optptr++; in ip_options_fragment()211 optlen = optptr[1]; in ip_options_fragment()214 if (!IPOPT_COPIED(*optptr)) in ip_options_fragment()215 memset(optptr, IPOPT_NOOP, optlen); in ip_options_fragment()217 optptr += optlen; in ip_options_fragment()248 unsigned char *optptr; in __ip_options_compile() local254 optptr = (unsigned char *)&(ip_hdr(skb)[1]); in __ip_options_compile()256 optptr = opt->__data; in __ip_options_compile()[all …]
82 unsigned char *optptr = (unsigned char *)(iph+1); in ip_clear_mutable_options() local87 switch (*optptr) { in ip_clear_mutable_options()92 optptr++; in ip_clear_mutable_options()95 optlen = optptr[1]; in ip_clear_mutable_options()98 switch (*optptr) { in ip_clear_mutable_options()109 memcpy(daddr, optptr+optlen-4, 4); in ip_clear_mutable_options()112 memset(optptr, 0, optlen); in ip_clear_mutable_options()115 optptr += optlen; in ip_clear_mutable_options()
1503 unsigned char *optptr = (unsigned char *)&(ip_hdr(skb)[1]); in cipso_v4_optptr() local1508 switch (optptr[0]) { in cipso_v4_optptr()1515 taglen = optptr[1]; in cipso_v4_optptr()1519 if (optptr[0] == IPOPT_CIPSO) in cipso_v4_optptr()1520 return optptr; in cipso_v4_optptr()1523 optptr += taglen; in cipso_v4_optptr()
141 char *optptr, *argptr = fw_getcmdline(); in pci_clock_check() local146 optptr = strstr(argptr, "pci_clock="); in pci_clock_check()147 if (optptr && (optptr == argptr || optptr[-1] == ' ')) in pci_clock_check()