Home
last modified time | relevance | path

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

/linux/arch/mips/mti-malta/
H A Dmalta-setup.c141 char *optptr, *argptr = fw_getcmdline(); in pci_clock_check() local
146 optptr = strstr(argptr, "pci_clock="); in pci_clock_check()
147 if (optptr && (optptr == argptr || optptr[-1] == ' ')) in pci_clock_check()
/linux/net/ipv4/
H A Dah4.c79 unsigned char *optptr = (unsigned char *)(iph+1); in ip_clear_mutable_options() local
84 switch (*optptr) { in ip_clear_mutable_options()
89 optptr++; in ip_clear_mutable_options()
92 optlen = optptr[1]; in ip_clear_mutable_options()
95 switch (*optptr) { in ip_clear_mutable_options()
106 memcpy(daddr, optptr+optlen-4, 4); in ip_clear_mutable_options()
109 memset(optptr, 0, optlen); in ip_clear_mutable_options()
112 optptr += optlen; in ip_clear_mutable_options()
H A Dcipso_ipv4.c1500 unsigned char *optptr = (unsigned char *)&(ip_hdr(skb)[1]); in cipso_v4_optptr() local
1505 switch (optptr[0]) { in cipso_v4_optptr()
1512 taglen = optptr[1]; in cipso_v4_optptr()
1516 if (optptr[0] == IPOPT_CIPSO) in cipso_v4_optptr()
1517 return optptr; in cipso_v4_optptr()
1520 optptr += taglen; in cipso_v4_optptr()