tag | line | file | source code |
opt | 143 | drivers/char/tty_ioctl.c | static int set_termios(struct tty_struct * tty, unsigned long arg, int opt) |
opt | 152 | drivers/char/tty_ioctl.c | if (opt & TERMIOS_TERMIO) { |
opt | 169 | drivers/char/tty_ioctl.c | if ((opt & TERMIOS_FLUSH) && tty->ldisc.flush_buffer) |
opt | 172 | drivers/char/tty_ioctl.c | if (opt & TERMIOS_WAIT) |
opt | 379 | drivers/char/tty_ioctl.c | int opt = 0; |
opt | 417 | drivers/char/tty_ioctl.c | opt |= TERMIOS_FLUSH; |
opt | 419 | drivers/char/tty_ioctl.c | opt |= TERMIOS_WAIT; |
opt | 421 | drivers/char/tty_ioctl.c | return set_termios(real_tty, arg, opt); |
opt | 425 | drivers/char/tty_ioctl.c | opt |= TERMIOS_FLUSH; |
opt | 427 | drivers/char/tty_ioctl.c | opt |= TERMIOS_WAIT; |
opt | 429 | drivers/char/tty_ioctl.c | return set_termios(real_tty, arg, opt|TERMIOS_TERMIO); |
opt | 226 | drivers/net/ppp.c | int subid, void *saddr, void *daddr, void *opt); |
opt | 1451 | drivers/net/ppp.c | u_char *opt = dp + CCP_HDRLEN; |
opt | 1478 | drivers/net/ppp.c | if (slen < (CCP_OPT_LENGTH (opt) + CCP_HDRLEN)) |
opt | 1489 | drivers/net/ppp.c | opt, |
opt | 1505 | drivers/net/ppp.c | opt, |
opt | 3246 | drivers/net/ppp.c | int subid, void *saddr, void *daddr, void *opt) |
opt | 209 | fs/isofs/inode.c | struct iso9660_options opt; |
opt | 213 | fs/isofs/inode.c | if (!parse_options((char *) data,&opt)) { |
opt | 220 | fs/isofs/inode.c | printk("map = %c\n", opt.map); |
opt | 221 | fs/isofs/inode.c | printk("rock = %c\n", opt.rock); |
opt | 222 | fs/isofs/inode.c | printk("cruft = %c\n", opt.cruft); |
opt | 223 | fs/isofs/inode.c | printk("unhide = %c\n", opt.unhide); |
opt | 224 | fs/isofs/inode.c | printk("conversion = %c\n", opt.conversion); |
opt | 225 | fs/isofs/inode.c | printk("blocksize = %d\n", opt.blocksize); |
opt | 226 | fs/isofs/inode.c | printk("gid = %d\n", opt.gid); |
opt | 227 | fs/isofs/inode.c | printk("uid = %d\n", opt.uid); |
opt | 232 | fs/isofs/inode.c | int i = opt.blocksize; |
opt | 238 | fs/isofs/inode.c | set_blocksize(dev, opt.blocksize); |
opt | 250 | fs/isofs/inode.c | if (!(bh = bread(dev, iso_blknum << (ISOFS_BLOCK_BITS-blocksize_bits), opt.blocksize))) { |
opt | 272 | fs/isofs/inode.c | opt.rock = 'n'; |
opt | 360 | fs/isofs/inode.c | s->u.isofs_sb.s_mapping = opt.map; |
opt | 361 | fs/isofs/inode.c | s->u.isofs_sb.s_rock = (opt.rock == 'y' ? 1 : 0); |
opt | 362 | fs/isofs/inode.c | s->u.isofs_sb.s_conversion = opt.conversion; |
opt | 363 | fs/isofs/inode.c | s->u.isofs_sb.s_cruft = opt.cruft; |
opt | 364 | fs/isofs/inode.c | s->u.isofs_sb.s_unhide = opt.unhide; |
opt | 365 | fs/isofs/inode.c | s->u.isofs_sb.s_uid = opt.uid; |
opt | 366 | fs/isofs/inode.c | s->u.isofs_sb.s_gid = opt.gid; |
opt | 371 | fs/isofs/inode.c | s->u.isofs_sb.s_mode = opt.mode & 0777; |
opt | 372 | fs/isofs/inode.c | s->s_blocksize = opt.blocksize; |
opt | 290 | include/linux/ext2_fs.h | #define clear_opt(o, opt) o &= ~EXT2_MOUNT_##opt |
opt | 291 | include/linux/ext2_fs.h | #define set_opt(o, opt) o |= EXT2_MOUNT_##opt |
opt | 292 | include/linux/ext2_fs.h | #define test_opt(sb, opt) ((sb)->u.ext2_sb.s_mount_opt & \ |
opt | 293 | include/linux/ext2_fs.h | EXT2_MOUNT_##opt) |
opt | 29 | include/net/icmp.h | struct options *opt, __u32 daddr, |
opt | 92 | include/net/ip.h | struct options *opt, int len, |
opt | 99 | include/net/ip.h | extern int ip_options_compile(struct options * opt, struct sk_buff * skb); |
opt | 116 | include/net/ip.h | struct options * opt, |
opt | 140 | include/net/ip.h | extern void ip_options_build(struct sk_buff *skb, struct options *opt, __u32 daddr, __u32 saddr, int is_frag); |
opt | 143 | include/net/ip.h | extern int ip_options_compile(struct options *opt, struct sk_buff *skb); |
opt | 1 | include/net/ipip.h | extern int ipip_rcv(struct sk_buff *skb, struct device *dev, struct options *opt, |
opt | 33 | include/net/protocol.h | struct options *opt, __u32 daddr, |
opt | 49 | include/net/route.h | extern struct rtable *ip_rt_route(__u32 daddr, struct options *opt, __u32 *src_addr); |
opt | 50 | include/net/route.h | extern struct rtable *ip_rt_local(__u32 daddr, struct options *opt, __u32 *src_addr); |
opt | 82 | include/net/sock.h | struct options *opt; |
opt | 283 | include/net/sock.h | struct options *opt, int len, |
opt | 295 | include/net/sock.h | struct options *opt, __u32 daddr, |
opt | 130 | include/net/tcp.h | struct options *opt, __u32 daddr, |
opt | 46 | include/net/udp.h | struct options *opt, __u32 daddr, |
opt | 969 | net/appletalk/ddp.c | int err,opt; |
opt | 979 | net/appletalk/ddp.c | opt=get_fs_long((unsigned long *)optval); |
opt | 694 | net/ax25/af_ax25.c | int err, opt; |
opt | 710 | net/ax25/af_ax25.c | opt = get_fs_long((unsigned long *)optval); |
opt | 715 | net/ax25/af_ax25.c | if (opt < 1 || opt > 7) |
opt | 718 | net/ax25/af_ax25.c | if (opt < 1 || opt > 63) |
opt | 721 | net/ax25/af_ax25.c | sk->ax25->window = opt; |
opt | 725 | net/ax25/af_ax25.c | if (opt < 1) |
opt | 727 | net/ax25/af_ax25.c | sk->ax25->rtt = (opt * PR_SLOWHZ) / 2; |
opt | 731 | net/ax25/af_ax25.c | if (opt < 1) |
opt | 733 | net/ax25/af_ax25.c | sk->ax25->t2 = opt * PR_SLOWHZ; |
opt | 737 | net/ax25/af_ax25.c | if (opt < 1 || opt > 31) |
opt | 739 | net/ax25/af_ax25.c | sk->ax25->n2 = opt; |
opt | 743 | net/ax25/af_ax25.c | if (opt < 1) |
opt | 745 | net/ax25/af_ax25.c | sk->ax25->t3 = opt * PR_SLOWHZ; |
opt | 749 | net/ax25/af_ax25.c | sk->ax25->backoff = opt ? 1 : 0; |
opt | 753 | net/ax25/af_ax25.c | sk->ax25->modulus = opt ? EMODULUS : MODULUS; |
opt | 757 | net/ax25/af_ax25.c | sk->ax25->hdrincl = opt ? 1 : 0; |
opt | 402 | net/ipv4/af_inet.c | if(sk->opt) |
opt | 403 | net/ipv4/af_inet.c | kfree(sk->opt); |
opt | 665 | net/ipv4/af_inet.c | sk->opt = NULL; |
opt | 605 | net/ipv4/icmp.c | int icmp_rcv(struct sk_buff *skb, struct device *dev, struct options *opt, |
opt | 213 | net/ipv4/igmp.c | int igmp_rcv(struct sk_buff *skb, struct device *dev, struct options *opt, |
opt | 92 | net/ipv4/ip_forward.c | struct options * opt = (struct options*)skb->proto_priv; |
opt | 190 | net/ipv4/ip_forward.c | if (opt->is_strictroute) |
opt | 216 | net/ipv4/ip_forward.c | (rt->rt_flags&RTF_MODIFIED) && !opt->srr) |
opt | 334 | net/ipv4/ip_forward.c | if (opt->optlen) |
opt | 337 | net/ipv4/ip_forward.c | if (opt->rr_needaddr) |
opt | 339 | net/ipv4/ip_forward.c | optptr = (unsigned char *)iph + opt->rr; |
opt | 341 | net/ipv4/ip_forward.c | opt->is_changed = 1; |
opt | 343 | net/ipv4/ip_forward.c | if (opt->srr_is_hit) |
opt | 347 | net/ipv4/ip_forward.c | optptr = (unsigned char *)iph + opt->srr; |
opt | 361 | net/ipv4/ip_forward.c | opt->is_changed = 1; |
opt | 369 | net/ipv4/ip_forward.c | if (opt->ts_needaddr) |
opt | 371 | net/ipv4/ip_forward.c | optptr = (unsigned char *)iph + opt->ts; |
opt | 373 | net/ipv4/ip_forward.c | opt->is_changed = 1; |
opt | 375 | net/ipv4/ip_forward.c | if (opt->is_changed) |
opt | 377 | net/ipv4/ip_forward.c | opt->is_changed = 0; |
opt | 189 | net/ipv4/ip_fw.c | int ip_fw_chk(struct iphdr *ip, struct device *rif, struct ip_fw *chain, int policy, int opt) |
opt | 237 | net/ipv4/ip_fw.c | if (offset!=0 && (opt != 1) && (ip->protocol == IPPROTO_TCP || |
opt | 428 | net/ipv4/ip_fw.c | if(opt != 1) { |
opt | 460 | net/ipv4/ip_fw.c | if (opt != 2) { |
opt | 464 | net/ipv4/ip_fw.c | if (opt != 1) |
opt | 468 | net/ipv4/ip_fw.c | if(opt == 1) |
opt | 202 | net/ipv4/ip_input.c | struct options * opt = NULL; |
opt | 262 | net/ipv4/ip_input.c | opt = (struct options*)skb->proto_priv; |
opt | 264 | net/ipv4/ip_input.c | if (opt->srr) |
opt | 318 | net/ipv4/ip_input.c | if (opt && opt->srr) |
opt | 322 | net/ipv4/ip_input.c | unsigned char * optptr = ((unsigned char *)iph) + opt->srr; |
opt | 338 | net/ipv4/ip_input.c | icmp_send(skb, ICMP_PARAMETERPROB, 0, opt->srr+2, |
opt | 360 | net/ipv4/ip_input.c | opt->srr_is_hit = 1; |
opt | 361 | net/ipv4/ip_input.c | opt->is_changed = 1; |
opt | 529 | net/ipv4/ip_input.c | ipprot->handler(skb2, dev, opt, iph->daddr, |
opt | 596 | net/ipv4/ip_input.c | if (opt && opt->is_strictroute) |
opt | 30 | net/ipv4/ip_options.c | void ip_options_build(struct sk_buff * skb, struct options * opt, |
opt | 36 | net/ipv4/ip_options.c | memcpy(skb->proto_priv, opt, sizeof(struct options)); |
opt | 37 | net/ipv4/ip_options.c | memcpy(iph+sizeof(struct iphdr), opt->__data, opt->optlen); |
opt | 38 | net/ipv4/ip_options.c | opt = (struct options*)skb->proto_priv; |
opt | 39 | net/ipv4/ip_options.c | opt->is_data = 0; |
opt | 41 | net/ipv4/ip_options.c | if (opt->srr) |
opt | 42 | net/ipv4/ip_options.c | memcpy(iph+opt->srr+iph[opt->srr+1]-4, &daddr, 4); |
opt | 46 | net/ipv4/ip_options.c | if (opt->rr_needaddr) |
opt | 47 | net/ipv4/ip_options.c | memcpy(iph+opt->rr+iph[opt->rr+2]-5, &saddr, 4); |
opt | 48 | net/ipv4/ip_options.c | if (opt->ts_needaddr) |
opt | 49 | net/ipv4/ip_options.c | memcpy(iph+opt->ts+iph[opt->ts+2]-9, &saddr, 4); |
opt | 50 | net/ipv4/ip_options.c | if (opt->ts_needtime) |
opt | 56 | net/ipv4/ip_options.c | memcpy(iph+opt->ts+iph[opt->ts+2]-5, &midtime, 4); |
opt | 60 | net/ipv4/ip_options.c | if (opt->rr) |
opt | 62 | net/ipv4/ip_options.c | memset(iph+opt->rr, IPOPT_NOP, iph[opt->rr+1]); |
opt | 63 | net/ipv4/ip_options.c | opt->rr = 0; |
opt | 64 | net/ipv4/ip_options.c | opt->rr_needaddr = 0; |
opt | 66 | net/ipv4/ip_options.c | if (opt->ts) |
opt | 68 | net/ipv4/ip_options.c | memset(iph+opt->ts, IPOPT_NOP, iph[opt->ts+1]); |
opt | 69 | net/ipv4/ip_options.c | opt->ts = 0; |
opt | 70 | net/ipv4/ip_options.c | opt->ts_needaddr = opt->ts_needtime = 0; |
opt | 198 | net/ipv4/ip_options.c | struct options * opt = (struct options*)skb->proto_priv; |
opt | 199 | net/ipv4/ip_options.c | int l = opt->optlen; |
opt | 221 | net/ipv4/ip_options.c | opt->ts = 0; |
opt | 222 | net/ipv4/ip_options.c | opt->rr = 0; |
opt | 223 | net/ipv4/ip_options.c | opt->rr_needaddr = 0; |
opt | 224 | net/ipv4/ip_options.c | opt->ts_needaddr = 0; |
opt | 225 | net/ipv4/ip_options.c | opt->ts_needtime = 0; |
opt | 235 | net/ipv4/ip_options.c | int ip_options_compile(struct options * opt, struct sk_buff * skb) |
opt | 243 | net/ipv4/ip_options.c | if (!opt) |
opt | 245 | net/ipv4/ip_options.c | opt = (struct options*)skb->proto_priv; |
opt | 246 | net/ipv4/ip_options.c | memset(opt, 0, sizeof(struct options)); |
opt | 248 | net/ipv4/ip_options.c | opt->optlen = ((struct iphdr *)iph)->ihl*4 - sizeof(struct iphdr); |
opt | 250 | net/ipv4/ip_options.c | opt->is_data = 0; |
opt | 254 | net/ipv4/ip_options.c | optptr = opt->is_data ? opt->__data : (unsigned char*)&skb->ip_hdr[1]; |
opt | 258 | net/ipv4/ip_options.c | for (l = opt->optlen; l > 0; ) |
opt | 268 | net/ipv4/ip_options.c | opt->is_changed = 1; |
opt | 298 | net/ipv4/ip_options.c | if (opt->srr) |
opt | 310 | net/ipv4/ip_options.c | memcpy(&opt->faddr, &optptr[3], 4); |
opt | 314 | net/ipv4/ip_options.c | opt->is_strictroute = (optptr[0] == IPOPT_SSRR); |
opt | 315 | net/ipv4/ip_options.c | opt->srr = optptr - iph; |
opt | 318 | net/ipv4/ip_options.c | if (opt->rr) |
opt | 343 | net/ipv4/ip_options.c | opt->is_changed = 1; |
opt | 346 | net/ipv4/ip_options.c | opt->rr_needaddr = 1; |
opt | 348 | net/ipv4/ip_options.c | opt->rr = optptr - iph; |
opt | 351 | net/ipv4/ip_options.c | if (opt->ts) |
opt | 378 | net/ipv4/ip_options.c | opt->ts = optptr - iph; |
opt | 382 | net/ipv4/ip_options.c | opt->is_changed = 1; |
opt | 392 | net/ipv4/ip_options.c | opt->ts = optptr - iph; |
opt | 398 | net/ipv4/ip_options.c | opt->ts_needaddr = 1; |
opt | 399 | net/ipv4/ip_options.c | opt->ts_needtime = 1; |
opt | 408 | net/ipv4/ip_options.c | opt->ts = optptr - iph; |
opt | 417 | net/ipv4/ip_options.c | opt->ts_needaddr = 1; |
opt | 418 | net/ipv4/ip_options.c | opt->ts_needtime = 1; |
opt | 432 | net/ipv4/ip_options.c | opt->is_changed = 1; |
opt | 443 | net/ipv4/ip_options.c | opt->ts = optptr - iph; |
opt | 447 | net/ipv4/ip_options.c | opt->is_changed = 1; |
opt | 166 | net/ipv4/ip_output.c | struct device **dev, int type, struct options *opt, int len, int tos, int ttl) |
opt | 175 | net/ipv4/ip_output.c | if (opt && opt->srr) |
opt | 176 | net/ipv4/ip_output.c | daddr = opt->faddr; |
opt | 271 | net/ipv4/ip_output.c | if (opt) |
opt | 272 | net/ipv4/ip_output.c | iph=(struct iphdr *)skb_put(skb,sizeof(struct iphdr) + opt->optlen); |
opt | 286 | net/ipv4/ip_output.c | if (!opt || !opt->optlen) |
opt | 288 | net/ipv4/ip_output.c | if (opt->is_strictroute && rt && rt->rt_gateway) |
opt | 293 | net/ipv4/ip_output.c | iph->ihl += opt->optlen>>2; |
opt | 294 | net/ipv4/ip_output.c | ip_options_build(skb, opt, final_daddr, (*dev)->pa_addr, 0); |
opt | 555 | net/ipv4/ip_output.c | struct options * opt, |
opt | 571 | net/ipv4/ip_output.c | if (opt && opt->srr && !sk->ip_hdrincl) |
opt | 572 | net/ipv4/ip_output.c | daddr = opt->faddr; |
opt | 666 | net/ipv4/ip_output.c | if (!sk->ip_hdrincl && opt) |
opt | 668 | net/ipv4/ip_output.c | length += opt->optlen; |
opt | 669 | net/ipv4/ip_output.c | if (opt->is_strictroute && rt && rt->rt_gateway) |
opt | 718 | net/ipv4/ip_output.c | if (opt) |
opt | 720 | net/ipv4/ip_output.c | iph->ihl += opt->optlen>>2; |
opt | 721 | net/ipv4/ip_output.c | ip_options_build(skb, opt, |
opt | 751 | net/ipv4/ip_output.c | if (sk && !sk->ip_hdrincl && opt) |
opt | 753 | net/ipv4/ip_output.c | length -= opt->optlen; |
opt | 754 | net/ipv4/ip_output.c | fragheaderlen = dev->hard_header_len + sizeof(struct iphdr) + opt->optlen; |
opt | 755 | net/ipv4/ip_output.c | maxfraglen = ((dev->mtu-sizeof(struct iphdr)-opt->optlen) & ~7) + fragheaderlen; |
opt | 888 | net/ipv4/ip_output.c | if (opt) { |
opt | 889 | net/ipv4/ip_output.c | iph->ihl += opt->optlen>>2; |
opt | 890 | net/ipv4/ip_output.c | ip_options_build(skb, opt, |
opt | 145 | net/ipv4/ip_sockglue.c | struct options * opt = NULL; |
opt | 152 | net/ipv4/ip_sockglue.c | opt = kmalloc(sizeof(struct options)+((optlen+3)&~3), GFP_KERNEL); |
opt | 153 | net/ipv4/ip_sockglue.c | if (!opt) |
opt | 155 | net/ipv4/ip_sockglue.c | memset(opt, 0, sizeof(struct options)); |
opt | 157 | net/ipv4/ip_sockglue.c | memcpy_fromfs(opt->__data, optval, optlen); |
opt | 159 | net/ipv4/ip_sockglue.c | opt->__data[optlen++] = IPOPT_END; |
opt | 160 | net/ipv4/ip_sockglue.c | opt->optlen = optlen; |
opt | 161 | net/ipv4/ip_sockglue.c | opt->is_data = 1; |
opt | 162 | net/ipv4/ip_sockglue.c | opt->is_setbyuser = 1; |
opt | 163 | net/ipv4/ip_sockglue.c | if (optlen && ip_options_compile(opt, NULL)) |
opt | 165 | net/ipv4/ip_sockglue.c | kfree_s(opt, sizeof(struct options) + optlen); |
opt | 173 | net/ipv4/ip_sockglue.c | old_opt = sk->opt; |
opt | 174 | net/ipv4/ip_sockglue.c | sk->opt = opt; |
opt | 438 | net/ipv4/ip_sockglue.c | struct options * opt = (struct options*)optbuf; |
opt | 443 | net/ipv4/ip_sockglue.c | opt->optlen = 0; |
opt | 444 | net/ipv4/ip_sockglue.c | if (sk->opt) |
opt | 445 | net/ipv4/ip_sockglue.c | memcpy(optbuf, sk->opt, sizeof(struct options)+sk->opt->optlen); |
opt | 447 | net/ipv4/ip_sockglue.c | if (opt->optlen == 0) |
opt | 452 | net/ipv4/ip_sockglue.c | err = verify_area(VERIFY_WRITE, optval, opt->optlen); |
opt | 458 | net/ipv4/ip_sockglue.c | if (opt->srr) |
opt | 460 | net/ipv4/ip_sockglue.c | unsigned char * optptr = opt->__data+opt->srr-sizeof(struct iphdr); |
opt | 462 | net/ipv4/ip_sockglue.c | memcpy(optptr+3, &opt->faddr, 4); |
opt | 464 | net/ipv4/ip_sockglue.c | if (opt->rr_needaddr) |
opt | 466 | net/ipv4/ip_sockglue.c | unsigned char * optptr = opt->__data+opt->rr-sizeof(struct iphdr); |
opt | 470 | net/ipv4/ip_sockglue.c | if (opt->ts) |
opt | 472 | net/ipv4/ip_sockglue.c | unsigned char * optptr = opt->__data+opt->ts-sizeof(struct iphdr); |
opt | 473 | net/ipv4/ip_sockglue.c | if (opt->ts_needtime) |
opt | 478 | net/ipv4/ip_sockglue.c | if (opt->ts_needaddr) |
opt | 484 | net/ipv4/ip_sockglue.c | put_fs_long(opt->optlen, (unsigned long *) optlen); |
opt | 485 | net/ipv4/ip_sockglue.c | memcpy_tofs(optval, opt->__data, opt->optlen); |
opt | 62 | net/ipv4/ipip.c | int ipip_rcv(struct sk_buff *skb, struct device *dev, struct options *opt, |
opt | 226 | net/ipv4/raw.c | err=ip_build_xmit(sk, raw_getrawfrag, from, len, sin.sin_addr.s_addr, 0, sk->opt, flags, sin.sin_port, noblock); |
opt | 232 | net/ipv4/raw.c | err=ip_build_xmit(sk, raw_getfrag, from, len, sin.sin_addr.s_addr, 0, sk->opt, flags, sin.sin_port, noblock); |
opt | 634 | net/ipv4/route.c | struct rtable * ip_rt_route(__u32 daddr, struct options *opt, __u32 *src_addr) |
opt | 668 | net/ipv4/route.c | struct rtable * ip_rt_local(__u32 daddr, struct options *opt, __u32 *src_addr) |
opt | 1555 | net/ipv4/tcp.c | IPPROTO_TCP, sk->opt, MAX_ACK_SIZE,sk->ip_tos,sk->ip_ttl); |
opt | 1932 | net/ipv4/tcp.c | IPPROTO_TCP, sk->opt, skb->truesize,sk->ip_tos,sk->ip_ttl); |
opt | 2072 | net/ipv4/tcp.c | IPPROTO_TCP, sk->opt, MAX_ACK_SIZE,sk->ip_tos,sk->ip_ttl); |
opt | 2624 | net/ipv4/tcp.c | IPPROTO_TCP, sk->opt, |
opt | 2748 | net/ipv4/tcp.c | struct proto *prot, struct options *opt, struct device *dev, int tos, int ttl) |
opt | 2779 | net/ipv4/tcp.c | tmp = prot->build_header(buff, saddr, daddr, &ndev, IPPROTO_TCP, opt, |
opt | 2925 | net/ipv4/tcp.c | struct options *opt, struct device *dev, u32 seq) |
opt | 2947 | net/ipv4/tcp.c | tcp_reset(daddr, saddr, th, sk->prot, opt, dev, sk->ip_tos,sk->ip_ttl); |
opt | 2983 | net/ipv4/tcp.c | newsk->opt = NULL; |
opt | 2984 | net/ipv4/tcp.c | if (opt && opt->optlen) { |
opt | 2985 | net/ipv4/tcp.c | sk->opt = (struct options*)kmalloc(sizeof(struct options)+opt->optlen, GFP_ATOMIC); |
opt | 2986 | net/ipv4/tcp.c | if (!sk->opt) { |
opt | 2992 | net/ipv4/tcp.c | if (ip_options_echo(sk->opt, opt, daddr, saddr, skb)) { |
opt | 2993 | net/ipv4/tcp.c | kfree_s(sk->opt, sizeof(struct options)+opt->optlen); |
opt | 4692 | net/ipv4/tcp.c | struct options *opt, unsigned long saddr, struct device *dev) |
opt | 4780 | net/ipv4/tcp.c | int tcp_rcv(struct sk_buff *skb, struct device *dev, struct options *opt, |
opt | 4862 | net/ipv4/tcp.c | tcp_reset(daddr, saddr, th, &tcp_prot, opt,dev,skb->ip_hdr->tos,255); |
opt | 4893 | net/ipv4/tcp.c | tcp_reset(daddr, saddr, th, &tcp_prot, opt,dev,skb->ip_hdr->tos,255); |
opt | 4939 | net/ipv4/tcp.c | tcp_reset(daddr,saddr,th,sk->prot,opt,dev,sk->ip_tos, sk->ip_ttl); |
opt | 4959 | net/ipv4/tcp.c | tcp_conn_request(sk, skb, daddr, saddr, opt, dev, tcp_init_seq()); |
opt | 4999 | net/ipv4/tcp.c | sk->prot, opt,dev,sk->ip_tos,sk->ip_ttl); |
opt | 5096 | net/ipv4/tcp.c | tcp_conn_request(sk, skb, daddr, saddr,opt, dev,seq+128000); |
opt | 5112 | net/ipv4/tcp.c | if(!tcp_sequence(sk,th,len,opt,saddr,dev)) |
opt | 5128 | net/ipv4/tcp.c | tcp_reset(daddr,saddr,th, &tcp_prot, opt, dev, skb->ip_hdr->tos, 255); |
opt | 5145 | net/ipv4/tcp.c | tcp_reset(daddr, saddr, th,sk->prot, opt, dev,sk->ip_tos,sk->ip_ttl); |
opt | 5272 | net/ipv4/tcp.c | IPPROTO_TCP, sk->opt, buff->truesize, |
opt | 5372 | net/ipv4/tcp.c | IPPROTO_TCP, sk->opt, MAX_ACK_SIZE,sk->ip_tos,sk->ip_ttl); |
opt | 321 | net/ipv4/udp.c | sin->sin_addr.s_addr, saddr, sk->opt, rt, IPPROTO_UDP, noblock); |
opt | 324 | net/ipv4/udp.c | sin->sin_addr.s_addr, saddr, sk->opt, rt, IPPROTO_UDP, noblock); |
opt | 598 | net/ipv4/udp.c | int udp_rcv(struct sk_buff *skb, struct device *dev, struct options *opt, |
opt | 1329 | net/ipx/af_ipx.c | int err,opt; |
opt | 1339 | net/ipx/af_ipx.c | opt=get_fs_long((unsigned long *)optval); |
opt | 1347 | net/ipx/af_ipx.c | sk->ipx_type=opt; |
opt | 298 | net/netrom/af_netrom.c | int err, opt; |
opt | 314 | net/netrom/af_netrom.c | opt = get_fs_long((unsigned long *)optval); |
opt | 318 | net/netrom/af_netrom.c | if (opt < 1) |
opt | 320 | net/netrom/af_netrom.c | sk->nr->rtt = (opt * PR_SLOWHZ) / 2; |
opt | 324 | net/netrom/af_netrom.c | if (opt < 1) |
opt | 326 | net/netrom/af_netrom.c | sk->nr->t2 = opt * PR_SLOWHZ; |
opt | 330 | net/netrom/af_netrom.c | if (opt < 1 || opt > 31) |
opt | 332 | net/netrom/af_netrom.c | sk->nr->n2 = opt; |
opt | 336 | net/netrom/af_netrom.c | sk->nr->hdrincl = opt ? 1 : 0; |
opt | 570 | net/netrom/nr_route.c | long opt = 0; |
opt | 617 | net/netrom/nr_route.c | opt = get_fs_long((void *)arg); |
opt | 618 | net/netrom/nr_route.c | nr_route_on = opt ? 1 : 0; |