Searched refs:optptr (Results 1 – 4 of 4) sorted by relevance
210 unsigned char *optptr = skb_network_header(skb) + sizeof(struct iphdr); in ip_options_fragment() local216 switch (*optptr) { in ip_options_fragment()221 optptr++; in ip_options_fragment()224 optlen = optptr[1]; in ip_options_fragment()227 if (!IPOPT_COPIED(*optptr)) in ip_options_fragment()228 memset(optptr, IPOPT_NOOP, optlen); in ip_options_fragment()230 optptr += optlen; in ip_options_fragment()260 unsigned char *optptr; in ip_options_compile() local266 optptr = (unsigned char *)&(ip_hdr(skb)[1]); in ip_options_compile()268 optptr = opt->__data; in ip_options_compile()[all …]
81 unsigned char *optptr = (unsigned char *)(iph+1); in ip_clear_mutable_options() local86 switch (*optptr) { in ip_clear_mutable_options()91 optptr++; in ip_clear_mutable_options()94 optlen = optptr[1]; in ip_clear_mutable_options()97 switch (*optptr) { in ip_clear_mutable_options()108 memcpy(daddr, optptr+optlen-4, 4); in ip_clear_mutable_options()111 memset(optptr, 0, optlen); in ip_clear_mutable_options()114 optptr += optlen; in ip_clear_mutable_options()
1521 unsigned char *optptr = (unsigned char *)&(ip_hdr(skb)[1]); in cipso_v4_optptr() local1526 switch (optptr[0]) { in cipso_v4_optptr()1528 return optptr; in cipso_v4_optptr()1535 taglen = optptr[1]; in cipso_v4_optptr()1538 optptr += taglen; in cipso_v4_optptr()
170 char *optptr, *argptr = fw_getcmdline(); in pci_clock_check() local175 optptr = strstr(argptr, "pci_clock="); in pci_clock_check()176 if (optptr && (optptr == argptr || optptr[-1] == ' ')) in pci_clock_check()