tag | line | file | source code |
opt | 237 | net/inet/icmp.c | struct options *opt) |
opt | 257 | net/inet/icmp.c | IPPROTO_ICMP, opt, len); |
opt | 289 | net/inet/icmp.c | struct options *opt) |
opt | 301 | net/inet/icmp.c | struct options *opt) |
opt | 321 | net/inet/icmp.c | IPPROTO_ICMP, opt, len); |
opt | 354 | net/inet/icmp.c | icmp_rcv(struct sk_buff *skb1, struct device *dev, struct options *opt, |
opt | 394 | net/inet/icmp.c | icmp_echo(icmph, skb1, dev, saddr, daddr, len, opt); |
opt | 401 | net/inet/icmp.c | icmp_info(icmph, skb1, dev, saddr, daddr, len, opt); |
opt | 408 | net/inet/icmp.c | icmp_address(icmph, skb1, dev, saddr, daddr, len, opt); |
opt | 29 | net/inet/icmp.h | struct options *opt, unsigned long daddr, |
opt | 128 | net/inet/ip.c | strict_route(struct iphdr *iph, struct options *opt) |
opt | 134 | net/inet/ip.c | loose_route(struct iphdr *iph, struct options *opt) |
opt | 157 | net/inet/ip.c | build_options(struct iphdr *iph, struct options *opt) |
opt | 199 | net/inet/ip.c | struct device **dev, int type, struct options *opt, int len) |
opt | 214 | net/inet/ip.c | skb, saddr, daddr, *dev, type, opt, len)); |
opt | 230 | net/inet/ip.c | opt = &optmem; |
opt | 268 | net/inet/ip.c | build_options(iph, opt); |
opt | 276 | net/inet/ip.c | do_options(struct iphdr *iph, struct options *opt) |
opt | 283 | net/inet/ip.c | opt->record_route.route_size = 0; |
opt | 284 | net/inet/ip.c | opt->loose_route.route_size = 0; |
opt | 285 | net/inet/ip.c | opt->strict_route.route_size = 0; |
opt | 286 | net/inet/ip.c | opt->tstamp.ptr = 0; |
opt | 287 | net/inet/ip.c | opt->security = 0; |
opt | 288 | net/inet/ip.c | opt->compartment = 0; |
opt | 289 | net/inet/ip.c | opt->handling = 0; |
opt | 290 | net/inet/ip.c | opt->stream = 0; |
opt | 291 | net/inet/ip.c | opt->tcc = 0; |
opt | 310 | net/inet/ip.c | opt->security = ntohs(*(unsigned short *)buff); |
opt | 312 | net/inet/ip.c | opt->compartment = ntohs(*(unsigned short *)buff); |
opt | 314 | net/inet/ip.c | opt->handling = ntohs(*(unsigned short *)buff); |
opt | 316 | net/inet/ip.c | opt->tcc = ((*buff) << 16) + ntohs(*(unsigned short *)(buff+1)); |
opt | 324 | net/inet/ip.c | opt->loose_route.route_size = (*buff -3)/4; |
opt | 327 | net/inet/ip.c | opt->loose_route.pointer = *buff/4 - 1; |
opt | 330 | net/inet/ip.c | for (i = 0; i < opt->loose_route.route_size; i++) { |
opt | 333 | net/inet/ip.c | opt->loose_route.route[i] = *(unsigned long *)buff; |
opt | 341 | net/inet/ip.c | opt->strict_route.route_size = (*buff -3)/4; |
opt | 344 | net/inet/ip.c | opt->strict_route.pointer = *buff/4 - 1; |
opt | 347 | net/inet/ip.c | for (i = 0; i < opt->strict_route.route_size; i++) { |
opt | 350 | net/inet/ip.c | opt->strict_route.route[i] = *(unsigned long *)buff; |
opt | 358 | net/inet/ip.c | opt->record_route.route_size = (*buff -3)/4; |
opt | 361 | net/inet/ip.c | opt->record_route.pointer = *buff/4 - 1; |
opt | 364 | net/inet/ip.c | for (i = 0; i < opt->record_route.route_size; i++) { |
opt | 367 | net/inet/ip.c | opt->record_route.route[i] = *(unsigned long *)buff; |
opt | 374 | net/inet/ip.c | opt->stream = *(unsigned short *)buff; |
opt | 381 | net/inet/ip.c | opt->tstamp.len = *buff / 4 - 1; |
opt | 384 | net/inet/ip.c | opt->tstamp.ptr = (*buff-1)/4; |
opt | 386 | net/inet/ip.c | opt->tstamp.x.full_char = *buff; |
opt | 388 | net/inet/ip.c | for (i = 0; i < opt->tstamp.len; i++) { |
opt | 389 | net/inet/ip.c | opt->tstamp.data[i] = *(unsigned long *)buff; |
opt | 397 | net/inet/ip.c | if (opt->record_route.route_size == 0) { |
opt | 398 | net/inet/ip.c | if (opt->strict_route.route_size != 0) { |
opt | 399 | net/inet/ip.c | memcpy(&(opt->record_route), &(opt->strict_route), |
opt | 400 | net/inet/ip.c | sizeof(opt->record_route)); |
opt | 401 | net/inet/ip.c | } else if (opt->loose_route.route_size != 0) { |
opt | 402 | net/inet/ip.c | memcpy(&(opt->record_route), &(opt->loose_route), |
opt | 403 | net/inet/ip.c | sizeof(opt->record_route)); |
opt | 407 | net/inet/ip.c | if (opt->strict_route.route_size != 0 && |
opt | 408 | net/inet/ip.c | opt->strict_route.route_size != opt->strict_route.pointer) { |
opt | 409 | net/inet/ip.c | strict_route(iph, opt); |
opt | 413 | net/inet/ip.c | if (opt->loose_route.route_size != 0 && |
opt | 414 | net/inet/ip.c | opt->loose_route.route_size != opt->loose_route.pointer) { |
opt | 415 | net/inet/ip.c | loose_route(iph, opt); |
opt | 1186 | net/inet/ip.c | static struct options opt; /* since we don't use these yet, and they |
opt | 1205 | net/inet/ip.c | memset((char *) &opt, 0, sizeof(opt)); |
opt | 1206 | net/inet/ip.c | if (do_options(iph, &opt) != 0) |
opt | 1303 | net/inet/ip.c | ipprot->handler(skb2, dev, opts_p ? &opt : 0, iph->daddr, |
opt | 72 | net/inet/ip.h | struct options *opt, int len); |
opt | 32 | net/inet/protocol.h | struct options *opt, unsigned long daddr, |
opt | 36 | net/inet/protocol.h | struct options *opt, unsigned long daddr, |
opt | 89 | net/inet/raw.c | raw_rcv(struct sk_buff *skb, struct device *dev, struct options *opt, |
opt | 97 | net/inet/raw.c | skb, dev, opt, daddr, len, saddr, redo, protocol)); |
opt | 216 | net/inet/raw.c | sk->protocol, sk->opt, skb->mem_len); |
opt | 27 | net/inet/raw.h | struct options *opt, unsigned long daddr, |
opt | 315 | net/inet/route.c | rt_route(unsigned long daddr, struct options *opt) |
opt | 41 | net/inet/route.h | extern struct rtable *rt_route(unsigned long daddr, struct options *opt); |
opt | 780 | net/inet/sock.c | sk->opt = NULL; |
opt | 1677 | net/inet/sock.c | if (sk->prot->rcv) sk->prot->rcv(skb, skb->dev, sk->opt, |
opt | 49 | net/inet/sock.h | struct options *opt; |
opt | 158 | net/inet/sock.h | struct options *opt, int len); |
opt | 169 | net/inet/sock.h | struct options *opt, unsigned long daddr, |
opt | 625 | net/inet/tcp.c | IPPROTO_TCP, sk->opt, MAX_ACK_SIZE); |
opt | 890 | net/inet/tcp.c | IPPROTO_TCP, sk->opt, skb->mem_len); |
opt | 1011 | net/inet/tcp.c | IPPROTO_TCP, sk->opt, MAX_ACK_SIZE); |
opt | 1486 | net/inet/tcp.c | IPPROTO_TCP, sk->opt, |
opt | 1572 | net/inet/tcp.c | struct proto *prot, struct options *opt, struct device *dev) |
opt | 1596 | net/inet/tcp.c | tmp = prot->build_header(buff, saddr, daddr, &dev, IPPROTO_TCP, opt, |
opt | 1700 | net/inet/tcp.c | struct options *opt, struct device *dev) |
opt | 1711 | net/inet/tcp.c | sk, skb, daddr, saddr, opt, dev)); |
opt | 1720 | net/inet/tcp.c | tcp_reset(daddr, saddr, th, sk->prot, opt, dev); |
opt | 2001 | net/inet/tcp.c | IPPROTO_TCP, sk->opt, |
opt | 2865 | net/inet/tcp.c | struct options *opt, unsigned long saddr) |
opt | 2874 | net/inet/tcp.c | sk, th, len, opt, saddr)); |
opt | 2912 | net/inet/tcp.c | tcp_rcv(struct sk_buff *skb, struct device *dev, struct options *opt, |
opt | 2929 | net/inet/tcp.c | if (!opt) { /* FIXME: it's ok for opt to be NULL */ |
opt | 2972 | net/inet/tcp.c | tcp_reset(daddr, saddr, th, &tcp_prot, opt,dev); |
opt | 3057 | net/inet/tcp.c | if (!tcp_sequence(sk, th, len, opt, saddr)) { |
opt | 3093 | net/inet/tcp.c | if (opt && (opt->security != 0 || |
opt | 3094 | net/inet/tcp.c | opt->compartment != 0 || th->syn)) { |
opt | 3098 | net/inet/tcp.c | tcp_reset(daddr, saddr, th, sk->prot, opt,dev); |
opt | 3148 | net/inet/tcp.c | tcp_reset(daddr, saddr, th, sk->prot, opt,dev); |
opt | 3161 | net/inet/tcp.c | tcp_reset(daddr, saddr, th, sk->prot, opt,dev); |
opt | 3169 | net/inet/tcp.c | if (opt->security != 0 || opt->compartment != 0) { |
opt | 3170 | net/inet/tcp.c | tcp_reset(daddr, saddr, th, prot, opt,dev); |
opt | 3182 | net/inet/tcp.c | tcp_conn_request(sk, skb, daddr, saddr, opt, dev); |
opt | 3192 | net/inet/tcp.c | if (!tcp_sequence(sk, th, len, opt, saddr)) { |
opt | 3212 | net/inet/tcp.c | if (opt->security != 0 || opt->compartment != 0) { |
opt | 3216 | net/inet/tcp.c | tcp_reset(daddr, saddr, th, sk->prot, opt, dev); |
opt | 3239 | net/inet/tcp.c | sk->prot, opt,dev); |
opt | 3264 | net/inet/tcp.c | sk->prot, opt, dev); |
opt | 3357 | net/inet/tcp.c | IPPROTO_TCP, sk->opt, MAX_ACK_SIZE); |
opt | 141 | net/inet/tcp.h | struct options *opt, unsigned long daddr, |
opt | 252 | net/inet/udp.c | &dev, IPPROTO_UDP, sk->opt, skb->mem_len); |
opt | 546 | net/inet/udp.c | udp_rcv(struct sk_buff *skb, struct device *dev, struct options *opt, |
opt | 44 | net/inet/udp.h | struct options *opt, unsigned long daddr, |