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 | 220 | drivers/net/ppp.c | int subid, void *saddr, void *daddr, void *opt); |
opt | 1444 | drivers/net/ppp.c | u_char *opt = dp + CCP_HDRLEN; |
opt | 1471 | drivers/net/ppp.c | if (slen < (CCP_OPT_LENGTH (opt) + CCP_HDRLEN)) |
opt | 1482 | drivers/net/ppp.c | opt, |
opt | 1498 | drivers/net/ppp.c | opt, |
opt | 3239 | drivers/net/ppp.c | int subid, void *saddr, void *daddr, void *opt) |
opt | 203 | fs/isofs/inode.c | struct iso9660_options opt; |
opt | 207 | fs/isofs/inode.c | if (!parse_options((char *) data,&opt)) { |
opt | 214 | fs/isofs/inode.c | printk("map = %c\n", opt.map); |
opt | 215 | fs/isofs/inode.c | printk("rock = %c\n", opt.rock); |
opt | 216 | fs/isofs/inode.c | printk("cruft = %c\n", opt.cruft); |
opt | 217 | fs/isofs/inode.c | printk("unhide = %c\n", opt.unhide); |
opt | 218 | fs/isofs/inode.c | printk("conversion = %c\n", opt.conversion); |
opt | 219 | fs/isofs/inode.c | printk("blocksize = %d\n", opt.blocksize); |
opt | 220 | fs/isofs/inode.c | printk("gid = %d\n", opt.gid); |
opt | 221 | fs/isofs/inode.c | printk("uid = %d\n", opt.uid); |
opt | 226 | fs/isofs/inode.c | int i = opt.blocksize; |
opt | 232 | fs/isofs/inode.c | set_blocksize(dev, opt.blocksize); |
opt | 244 | fs/isofs/inode.c | if (!(bh = bread(dev, iso_blknum << (ISOFS_BLOCK_BITS-blocksize_bits), opt.blocksize))) { |
opt | 266 | fs/isofs/inode.c | opt.rock = 'n'; |
opt | 354 | fs/isofs/inode.c | s->u.isofs_sb.s_mapping = opt.map; |
opt | 355 | fs/isofs/inode.c | s->u.isofs_sb.s_rock = (opt.rock == 'y' ? 1 : 0); |
opt | 356 | fs/isofs/inode.c | s->u.isofs_sb.s_conversion = opt.conversion; |
opt | 357 | fs/isofs/inode.c | s->u.isofs_sb.s_cruft = opt.cruft; |
opt | 358 | fs/isofs/inode.c | s->u.isofs_sb.s_unhide = opt.unhide; |
opt | 359 | fs/isofs/inode.c | s->u.isofs_sb.s_uid = opt.uid; |
opt | 360 | fs/isofs/inode.c | s->u.isofs_sb.s_gid = opt.gid; |
opt | 365 | fs/isofs/inode.c | s->u.isofs_sb.s_mode = opt.mode & 0777; |
opt | 366 | 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 | 96 | include/net/sock.h | struct options *opt; |
opt | 288 | include/net/sock.h | struct options *opt, int len, |
opt | 300 | 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 | 696 | net/ax25/af_ax25.c | int err, opt; |
opt | 712 | net/ax25/af_ax25.c | opt = get_fs_long((unsigned long *)optval); |
opt | 717 | net/ax25/af_ax25.c | if (opt < 1 || opt > 7) |
opt | 720 | net/ax25/af_ax25.c | if (opt < 1 || opt > 63) |
opt | 723 | net/ax25/af_ax25.c | sk->ax25->window = opt; |
opt | 727 | net/ax25/af_ax25.c | if (opt < 1) |
opt | 729 | net/ax25/af_ax25.c | sk->ax25->rtt = (opt * PR_SLOWHZ) / 2; |
opt | 733 | net/ax25/af_ax25.c | if (opt < 1) |
opt | 735 | net/ax25/af_ax25.c | sk->ax25->t2 = opt * PR_SLOWHZ; |
opt | 739 | net/ax25/af_ax25.c | if (opt < 1 || opt > 31) |
opt | 741 | net/ax25/af_ax25.c | sk->ax25->n2 = opt; |
opt | 745 | net/ax25/af_ax25.c | if (opt < 1) |
opt | 747 | net/ax25/af_ax25.c | sk->ax25->t3 = opt * PR_SLOWHZ; |
opt | 751 | net/ax25/af_ax25.c | sk->ax25->backoff = opt ? 1 : 0; |
opt | 755 | net/ax25/af_ax25.c | sk->ax25->modulus = opt ? EMODULUS : MODULUS; |
opt | 759 | net/ax25/af_ax25.c | sk->ax25->hdrincl = opt ? 1 : 0; |
opt | 403 | net/ipv4/af_inet.c | if(sk->opt) |
opt | 404 | net/ipv4/af_inet.c | kfree(sk->opt); |
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 | 29 | net/ipv4/ip_options.c | void ip_options_build(struct sk_buff * skb, struct options * opt, |
opt | 35 | net/ipv4/ip_options.c | memcpy(skb->proto_priv, opt, sizeof(struct options)); |
opt | 36 | net/ipv4/ip_options.c | memcpy(iph+sizeof(struct iphdr), opt->__data, opt->optlen); |
opt | 37 | net/ipv4/ip_options.c | opt = (struct options*)skb->proto_priv; |
opt | 38 | net/ipv4/ip_options.c | opt->is_data = 0; |
opt | 40 | net/ipv4/ip_options.c | if (opt->srr) |
opt | 41 | net/ipv4/ip_options.c | memcpy(iph+opt->srr+iph[opt->srr+1]-4, &daddr, 4); |
opt | 45 | net/ipv4/ip_options.c | if (opt->rr_needaddr) |
opt | 46 | net/ipv4/ip_options.c | memcpy(iph+opt->rr+iph[opt->rr+2]-5, &saddr, 4); |
opt | 47 | net/ipv4/ip_options.c | if (opt->ts_needaddr) |
opt | 48 | net/ipv4/ip_options.c | memcpy(iph+opt->ts+iph[opt->ts+2]-9, &saddr, 4); |
opt | 49 | net/ipv4/ip_options.c | if (opt->ts_needtime) |
opt | 55 | net/ipv4/ip_options.c | memcpy(iph+opt->ts+iph[opt->ts+2]-5, &midtime, 4); |
opt | 59 | net/ipv4/ip_options.c | if (opt->rr) |
opt | 61 | net/ipv4/ip_options.c | memset(iph+opt->rr, IPOPT_NOP, iph[opt->rr+1]); |
opt | 62 | net/ipv4/ip_options.c | opt->rr = 0; |
opt | 63 | net/ipv4/ip_options.c | opt->rr_needaddr = 0; |
opt | 65 | net/ipv4/ip_options.c | if (opt->ts) |
opt | 67 | net/ipv4/ip_options.c | memset(iph+opt->ts, IPOPT_NOP, iph[opt->ts+1]); |
opt | 68 | net/ipv4/ip_options.c | opt->ts = 0; |
opt | 69 | net/ipv4/ip_options.c | opt->ts_needaddr = opt->ts_needtime = 0; |
opt | 197 | net/ipv4/ip_options.c | struct options * opt = (struct options*)skb->proto_priv; |
opt | 198 | net/ipv4/ip_options.c | int l = opt->optlen; |
opt | 220 | net/ipv4/ip_options.c | opt->ts = 0; |
opt | 221 | net/ipv4/ip_options.c | opt->rr = 0; |
opt | 222 | net/ipv4/ip_options.c | opt->rr_needaddr = 0; |
opt | 223 | net/ipv4/ip_options.c | opt->ts_needaddr = 0; |
opt | 224 | net/ipv4/ip_options.c | opt->ts_needtime = 0; |
opt | 234 | net/ipv4/ip_options.c | int ip_options_compile(struct options * opt, struct sk_buff * skb) |
opt | 242 | net/ipv4/ip_options.c | if (!opt) |
opt | 244 | net/ipv4/ip_options.c | opt = (struct options*)skb->proto_priv; |
opt | 245 | net/ipv4/ip_options.c | memset(opt, 0, sizeof(struct options)); |
opt | 247 | net/ipv4/ip_options.c | opt->optlen = ((struct iphdr *)iph)->ihl*4 - sizeof(struct iphdr); |
opt | 249 | net/ipv4/ip_options.c | opt->is_data = 0; |
opt | 253 | net/ipv4/ip_options.c | optptr = opt->is_data ? opt->__data : (unsigned char*)&skb->ip_hdr[1]; |
opt | 257 | net/ipv4/ip_options.c | for (l = opt->optlen; l > 0; ) |
opt | 267 | net/ipv4/ip_options.c | opt->is_changed = 1; |
opt | 297 | net/ipv4/ip_options.c | if (opt->srr) |
opt | 309 | net/ipv4/ip_options.c | memcpy(&opt->faddr, &optptr[3], 4); |
opt | 313 | net/ipv4/ip_options.c | opt->is_strictroute = (optptr[0] == IPOPT_SSRR); |
opt | 314 | net/ipv4/ip_options.c | opt->srr = optptr - iph; |
opt | 317 | net/ipv4/ip_options.c | if (opt->rr) |
opt | 342 | net/ipv4/ip_options.c | opt->is_changed = 1; |
opt | 345 | net/ipv4/ip_options.c | opt->rr_needaddr = 1; |
opt | 347 | net/ipv4/ip_options.c | opt->rr = optptr - iph; |
opt | 350 | net/ipv4/ip_options.c | if (opt->ts) |
opt | 377 | net/ipv4/ip_options.c | opt->ts = optptr - iph; |
opt | 381 | net/ipv4/ip_options.c | opt->is_changed = 1; |
opt | 391 | net/ipv4/ip_options.c | opt->ts = optptr - iph; |
opt | 397 | net/ipv4/ip_options.c | opt->ts_needaddr = 1; |
opt | 398 | net/ipv4/ip_options.c | opt->ts_needtime = 1; |
opt | 407 | net/ipv4/ip_options.c | opt->ts = optptr - iph; |
opt | 416 | net/ipv4/ip_options.c | opt->ts_needaddr = 1; |
opt | 417 | net/ipv4/ip_options.c | opt->ts_needtime = 1; |
opt | 431 | net/ipv4/ip_options.c | opt->is_changed = 1; |
opt | 442 | net/ipv4/ip_options.c | opt->ts = optptr - iph; |
opt | 446 | 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 | 52 | net/ipv4/ipip.c | int ipip_rcv(struct sk_buff *skb, struct device *dev, struct options *opt, |
opt | 228 | 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 | 234 | 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 | 1556 | net/ipv4/tcp.c | IPPROTO_TCP, sk->opt, MAX_ACK_SIZE,sk->ip_tos,sk->ip_ttl); |
opt | 1925 | net/ipv4/tcp.c | IPPROTO_TCP, sk->opt, skb->truesize,sk->ip_tos,sk->ip_ttl); |
opt | 2041 | net/ipv4/tcp.c | IPPROTO_TCP, sk->opt, MAX_ACK_SIZE,sk->ip_tos,sk->ip_ttl); |
opt | 2562 | net/ipv4/tcp.c | IPPROTO_TCP, sk->opt, |
opt | 2686 | net/ipv4/tcp.c | struct proto *prot, struct options *opt, struct device *dev, int tos, int ttl) |
opt | 2717 | net/ipv4/tcp.c | tmp = prot->build_header(buff, saddr, daddr, &ndev, IPPROTO_TCP, opt, |
opt | 2863 | net/ipv4/tcp.c | struct options *opt, struct device *dev, u32 seq) |
opt | 2885 | net/ipv4/tcp.c | tcp_reset(daddr, saddr, th, sk->prot, opt, dev, sk->ip_tos,sk->ip_ttl); |
opt | 2921 | net/ipv4/tcp.c | newsk->opt = NULL; |
opt | 2922 | net/ipv4/tcp.c | if (opt && opt->optlen) { |
opt | 2923 | net/ipv4/tcp.c | sk->opt = (struct options*)kmalloc(sizeof(struct options)+opt->optlen, GFP_ATOMIC); |
opt | 2924 | net/ipv4/tcp.c | if (!sk->opt) { |
opt | 2930 | net/ipv4/tcp.c | if (ip_options_echo(sk->opt, opt, daddr, saddr, skb)) { |
opt | 2931 | net/ipv4/tcp.c | kfree_s(sk->opt, sizeof(struct options)+opt->optlen); |
opt | 4639 | net/ipv4/tcp.c | struct options *opt, unsigned long saddr, struct device *dev) |
opt | 4727 | net/ipv4/tcp.c | int tcp_rcv(struct sk_buff *skb, struct device *dev, struct options *opt, |
opt | 4809 | net/ipv4/tcp.c | tcp_reset(daddr, saddr, th, &tcp_prot, opt,dev,skb->ip_hdr->tos,255); |
opt | 4839 | net/ipv4/tcp.c | tcp_reset(daddr, saddr, th, &tcp_prot, opt,dev,skb->ip_hdr->tos,255); |
opt | 4878 | net/ipv4/tcp.c | tcp_reset(daddr,saddr,th,sk->prot,opt,dev,sk->ip_tos, sk->ip_ttl); |
opt | 4898 | net/ipv4/tcp.c | tcp_conn_request(sk, skb, daddr, saddr, opt, dev, tcp_init_seq()); |
opt | 4938 | net/ipv4/tcp.c | sk->prot, opt,dev,sk->ip_tos,sk->ip_ttl); |
opt | 5035 | net/ipv4/tcp.c | tcp_conn_request(sk, skb, daddr, saddr,opt, dev,seq+128000); |
opt | 5051 | net/ipv4/tcp.c | if(!tcp_sequence(sk,th,len,opt,saddr,dev)) |
opt | 5067 | net/ipv4/tcp.c | tcp_reset(daddr,saddr,th, &tcp_prot, opt, dev, skb->ip_hdr->tos, 255); |
opt | 5084 | net/ipv4/tcp.c | tcp_reset(daddr, saddr, th,sk->prot, opt, dev,sk->ip_tos,sk->ip_ttl); |
opt | 5224 | net/ipv4/tcp.c | IPPROTO_TCP, sk->opt, buff->truesize, |
opt | 5324 | 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 | 590 | 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 | 300 | net/netrom/af_netrom.c | int err, opt; |
opt | 316 | net/netrom/af_netrom.c | opt = get_fs_long((unsigned long *)optval); |
opt | 320 | net/netrom/af_netrom.c | if (opt < 1) |
opt | 322 | net/netrom/af_netrom.c | sk->nr->rtt = (opt * PR_SLOWHZ) / 2; |
opt | 326 | net/netrom/af_netrom.c | if (opt < 1) |
opt | 328 | net/netrom/af_netrom.c | sk->nr->t2 = opt * PR_SLOWHZ; |
opt | 332 | net/netrom/af_netrom.c | if (opt < 1 || opt > 31) |
opt | 334 | net/netrom/af_netrom.c | sk->nr->n2 = opt; |
opt | 338 | 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; |