Searched refs:optptr (Results 1 – 4 of 4) sorted by relevance
/linux/net/ipv4/ |
A D | ip_options.c | 275 for (optptr++, l--; l > 0; optptr++, l--) { in __ip_options_compile() 319 memmove(&optptr[3], &optptr[7], optlen-7); in __ip_options_compile() 374 timeptr = &optptr[optptr[2]-1]; in __ip_options_compile() 386 timeptr = &optptr[optptr[2]+3]; in __ip_options_compile() 399 memcpy(&addr, &optptr[optptr[2]-1], 4); in __ip_options_compile() 403 timeptr = &optptr[optptr[2]+3]; in __ip_options_compile() 440 if (optptr[2] == 0 && optptr[3] == 0) in __ip_options_compile() 500 memmove(optptr + 7, optptr + 3, optptr[1] - 7); in ip_options_undo() 507 memset(&optptr[optptr[2] - 1], 0, 4); in ip_options_undo() 514 memset(&optptr[optptr[2] - 1], 0, 4); in ip_options_undo() [all …]
|
A D | ah4.c | 82 unsigned char *optptr = (unsigned char *)(iph+1); in ip_clear_mutable_options() local 87 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()
|
A D | cipso_ipv4.c | 1501 unsigned char *optptr = (unsigned char *)&(ip_hdr(skb)[1]); in cipso_v4_optptr() local 1506 switch (optptr[0]) { in cipso_v4_optptr() 1513 taglen = optptr[1]; in cipso_v4_optptr() 1517 if (optptr[0] == IPOPT_CIPSO) in cipso_v4_optptr() 1518 return optptr; in cipso_v4_optptr() 1521 optptr += taglen; in cipso_v4_optptr()
|
/linux/arch/mips/mti-malta/ |
A D | malta-setup.c | 141 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()
|
Completed in 10 milliseconds