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 | 212 | fs/isofs/inode.c | struct iso9660_options opt; |
opt | 216 | fs/isofs/inode.c | if (!parse_options((char *) data,&opt)) { |
opt | 223 | fs/isofs/inode.c | printk("map = %c\n", opt.map); |
opt | 224 | fs/isofs/inode.c | printk("rock = %c\n", opt.rock); |
opt | 225 | fs/isofs/inode.c | printk("check = %c\n", opt.check); |
opt | 226 | fs/isofs/inode.c | printk("cruft = %c\n", opt.cruft); |
opt | 227 | fs/isofs/inode.c | printk("unhide = %c\n", opt.unhide); |
opt | 228 | fs/isofs/inode.c | printk("conversion = %c\n", opt.conversion); |
opt | 229 | fs/isofs/inode.c | printk("blocksize = %d\n", opt.blocksize); |
opt | 230 | fs/isofs/inode.c | printk("gid = %d\n", opt.gid); |
opt | 231 | fs/isofs/inode.c | printk("uid = %d\n", opt.uid); |
opt | 236 | fs/isofs/inode.c | int i = opt.blocksize; |
opt | 242 | fs/isofs/inode.c | set_blocksize(dev, opt.blocksize); |
opt | 254 | fs/isofs/inode.c | if (!(bh = bread(dev, iso_blknum << (ISOFS_BLOCK_BITS-blocksize_bits), opt.blocksize))) { |
opt | 276 | fs/isofs/inode.c | opt.rock = 'n'; |
opt | 364 | fs/isofs/inode.c | s->u.isofs_sb.s_mapping = opt.map; |
opt | 365 | fs/isofs/inode.c | s->u.isofs_sb.s_rock = (opt.rock == 'y' ? 1 : 0); |
opt | 366 | fs/isofs/inode.c | s->u.isofs_sb.s_name_check = opt.check; |
opt | 367 | fs/isofs/inode.c | s->u.isofs_sb.s_conversion = opt.conversion; |
opt | 368 | fs/isofs/inode.c | s->u.isofs_sb.s_cruft = opt.cruft; |
opt | 369 | fs/isofs/inode.c | s->u.isofs_sb.s_unhide = opt.unhide; |
opt | 370 | fs/isofs/inode.c | s->u.isofs_sb.s_uid = opt.uid; |
opt | 371 | fs/isofs/inode.c | s->u.isofs_sb.s_gid = opt.gid; |
opt | 376 | fs/isofs/inode.c | s->u.isofs_sb.s_mode = opt.mode & 0777; |
opt | 377 | 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 | 93 | include/net/ip.h | struct options *opt, int len, |
opt | 100 | include/net/ip.h | extern int ip_options_compile(struct options * opt, struct sk_buff * skb); |
opt | 117 | include/net/ip.h | struct options * opt, |
opt | 141 | include/net/ip.h | extern void ip_options_build(struct sk_buff *skb, struct options *opt, __u32 daddr, __u32 saddr, int is_frag); |
opt | 144 | 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 | 97 | include/net/sock.h | struct options *opt; |
opt | 280 | include/net/sock.h | struct options *opt, int len, |
opt | 292 | 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 | 700 | net/ax25/af_ax25.c | int err, opt; |
opt | 716 | net/ax25/af_ax25.c | opt = get_fs_long((unsigned long *)optval); |
opt | 721 | net/ax25/af_ax25.c | if (opt < 1 || opt > 7) |
opt | 724 | net/ax25/af_ax25.c | if (opt < 1 || opt > 63) |
opt | 727 | net/ax25/af_ax25.c | sk->ax25->window = opt; |
opt | 731 | net/ax25/af_ax25.c | if (opt < 1) |
opt | 733 | net/ax25/af_ax25.c | sk->ax25->rtt = (opt * PR_SLOWHZ) / 2; |
opt | 737 | net/ax25/af_ax25.c | if (opt < 1) |
opt | 739 | net/ax25/af_ax25.c | sk->ax25->t2 = opt * PR_SLOWHZ; |
opt | 743 | net/ax25/af_ax25.c | if (opt < 1 || opt > 31) |
opt | 745 | net/ax25/af_ax25.c | sk->ax25->n2 = opt; |
opt | 749 | net/ax25/af_ax25.c | if (opt < 1) |
opt | 751 | net/ax25/af_ax25.c | sk->ax25->t3 = opt * PR_SLOWHZ; |
opt | 755 | net/ax25/af_ax25.c | sk->ax25->backoff = opt ? 1 : 0; |
opt | 759 | net/ax25/af_ax25.c | sk->ax25->modulus = opt ? EMODULUS : MODULUS; |
opt | 763 | net/ax25/af_ax25.c | sk->ax25->hdrincl = opt ? 1 : 0; |
opt | 406 | net/ipv4/af_inet.c | if(sk->opt) |
opt | 407 | net/ipv4/af_inet.c | kfree(sk->opt); |
opt | 636 | net/ipv4/icmp.c | int icmp_rcv(struct sk_buff *skb, struct device *dev, struct options *opt, |
opt | 407 | net/ipv4/igmp.c | int igmp_rcv(struct sk_buff *skb, struct device *dev, struct options *opt, |
opt | 93 | net/ipv4/ip_forward.c | struct options * opt = (struct options*)skb->proto_priv; |
opt | 187 | net/ipv4/ip_forward.c | if (opt->is_strictroute && (rt->rt_flags & RTF_GATEWAY)) { |
opt | 210 | net/ipv4/ip_forward.c | (rt->rt_flags&RTF_MODIFIED) && !opt->srr) |
opt | 346 | net/ipv4/ip_forward.c | if (opt->optlen) |
opt | 349 | net/ipv4/ip_forward.c | if (opt->rr_needaddr) |
opt | 351 | net/ipv4/ip_forward.c | optptr = (unsigned char *)iph + opt->rr; |
opt | 353 | net/ipv4/ip_forward.c | opt->is_changed = 1; |
opt | 355 | net/ipv4/ip_forward.c | if (opt->srr_is_hit) |
opt | 359 | net/ipv4/ip_forward.c | optptr = (unsigned char *)iph + opt->srr; |
opt | 373 | net/ipv4/ip_forward.c | opt->is_changed = 1; |
opt | 381 | net/ipv4/ip_forward.c | if (opt->ts_needaddr) |
opt | 383 | net/ipv4/ip_forward.c | optptr = (unsigned char *)iph + opt->ts; |
opt | 385 | net/ipv4/ip_forward.c | opt->is_changed = 1; |
opt | 387 | net/ipv4/ip_forward.c | if (opt->is_changed) |
opt | 389 | 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 | 484 | net/ipv4/ip_fw.c | if(opt != 1) |
opt | 205 | net/ipv4/ip_input.c | struct options * opt = NULL; |
opt | 267 | net/ipv4/ip_input.c | opt = (struct options*)skb->proto_priv; |
opt | 269 | net/ipv4/ip_input.c | if (opt->srr) |
opt | 334 | net/ipv4/ip_input.c | if (opt && opt->srr) |
opt | 338 | net/ipv4/ip_input.c | unsigned char * optptr = ((unsigned char *)iph) + opt->srr; |
opt | 354 | net/ipv4/ip_input.c | icmp_send(skb, ICMP_PARAMETERPROB, 0, opt->srr+2, |
opt | 377 | net/ipv4/ip_input.c | opt->srr_is_hit = 1; |
opt | 378 | net/ipv4/ip_input.c | opt->is_changed = 1; |
opt | 546 | net/ipv4/ip_input.c | ipprot->handler(skb2, dev, opt, daddr, |
opt | 613 | 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 | 380 | net/ipv4/ip_options.c | opt->ts_needtime = 1; |
opt | 389 | net/ipv4/ip_options.c | opt->ts = optptr - iph; |
opt | 395 | net/ipv4/ip_options.c | opt->ts_needaddr = 1; |
opt | 396 | net/ipv4/ip_options.c | opt->ts_needtime = 1; |
opt | 405 | net/ipv4/ip_options.c | opt->ts = optptr - iph; |
opt | 414 | net/ipv4/ip_options.c | opt->ts_needaddr = 1; |
opt | 415 | net/ipv4/ip_options.c | opt->ts_needtime = 1; |
opt | 429 | net/ipv4/ip_options.c | opt->is_changed = 1; |
opt | 440 | net/ipv4/ip_options.c | opt->ts = optptr - iph; |
opt | 444 | net/ipv4/ip_options.c | opt->is_changed = 1; |
opt | 193 | net/ipv4/ip_output.c | struct device **dev, int type, struct options *opt, |
opt | 203 | net/ipv4/ip_output.c | if (opt && opt->srr) |
opt | 204 | net/ipv4/ip_output.c | daddr = opt->faddr; |
opt | 244 | net/ipv4/ip_output.c | if (opt && opt->is_strictroute && rt && (rt->rt_flags & RTF_GATEWAY)) |
opt | 292 | net/ipv4/ip_output.c | if (opt) |
opt | 293 | net/ipv4/ip_output.c | iph=(struct iphdr *)skb_put(skb,sizeof(struct iphdr) + opt->optlen); |
opt | 307 | net/ipv4/ip_output.c | if (!opt || !opt->optlen) |
opt | 309 | net/ipv4/ip_output.c | iph->ihl += opt->optlen>>2; |
opt | 310 | net/ipv4/ip_output.c | ip_options_build(skb, opt, final_daddr, (*dev)->pa_addr, 0); |
opt | 571 | net/ipv4/ip_output.c | struct options * opt, |
opt | 588 | net/ipv4/ip_output.c | if (opt && opt->srr && !sk->ip_hdrincl) |
opt | 589 | net/ipv4/ip_output.c | daddr = opt->faddr; |
opt | 610 | net/ipv4/ip_output.c | (opt && opt->is_strictroute)); |
opt | 643 | net/ipv4/ip_output.c | if (!sk->ip_hdrincl && opt) |
opt | 644 | net/ipv4/ip_output.c | length += opt->optlen; |
opt | 697 | net/ipv4/ip_output.c | if (opt) |
opt | 699 | net/ipv4/ip_output.c | iph->ihl += opt->optlen>>2; |
opt | 700 | net/ipv4/ip_output.c | ip_options_build(skb, opt, |
opt | 730 | net/ipv4/ip_output.c | if (sk && !sk->ip_hdrincl && opt) |
opt | 732 | net/ipv4/ip_output.c | length -= opt->optlen; |
opt | 733 | net/ipv4/ip_output.c | fragheaderlen = dev->hard_header_len + sizeof(struct iphdr) + opt->optlen; |
opt | 734 | net/ipv4/ip_output.c | maxfraglen = ((dev->mtu-sizeof(struct iphdr)-opt->optlen) & ~7) + fragheaderlen; |
opt | 874 | net/ipv4/ip_output.c | if (opt) { |
opt | 875 | net/ipv4/ip_output.c | iph->ihl += opt->optlen>>2; |
opt | 876 | 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 | 442 | net/ipv4/ip_sockglue.c | struct options * opt = (struct options*)optbuf; |
opt | 447 | net/ipv4/ip_sockglue.c | opt->optlen = 0; |
opt | 448 | net/ipv4/ip_sockglue.c | if (sk->opt) |
opt | 449 | net/ipv4/ip_sockglue.c | memcpy(optbuf, sk->opt, sizeof(struct options)+sk->opt->optlen); |
opt | 451 | net/ipv4/ip_sockglue.c | if (opt->optlen == 0) |
opt | 456 | net/ipv4/ip_sockglue.c | err = verify_area(VERIFY_WRITE, optval, opt->optlen); |
opt | 462 | net/ipv4/ip_sockglue.c | if (opt->srr) |
opt | 464 | net/ipv4/ip_sockglue.c | unsigned char * optptr = opt->__data+opt->srr-sizeof(struct iphdr); |
opt | 466 | net/ipv4/ip_sockglue.c | memcpy(optptr+3, &opt->faddr, 4); |
opt | 468 | net/ipv4/ip_sockglue.c | if (opt->rr_needaddr) |
opt | 470 | net/ipv4/ip_sockglue.c | unsigned char * optptr = opt->__data+opt->rr-sizeof(struct iphdr); |
opt | 474 | net/ipv4/ip_sockglue.c | if (opt->ts) |
opt | 476 | net/ipv4/ip_sockglue.c | unsigned char * optptr = opt->__data+opt->ts-sizeof(struct iphdr); |
opt | 477 | net/ipv4/ip_sockglue.c | if (opt->ts_needtime) |
opt | 482 | net/ipv4/ip_sockglue.c | if (opt->ts_needaddr) |
opt | 488 | net/ipv4/ip_sockglue.c | put_fs_long(opt->optlen, (unsigned long *) optlen); |
opt | 489 | 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 | 243 | 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 | 249 | 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 | 684 | net/ipv4/tcp.c | struct options * opt = (struct options*)skb->proto_priv; |
opt | 685 | net/ipv4/tcp.c | rt = ip_check_route(&sk->ip_route_cache, opt->srr?opt->faddr:iph->daddr, skb->localroute); |
opt | 1613 | net/ipv4/tcp.c | IPPROTO_TCP, sk->opt, MAX_ACK_SIZE,sk->ip_tos,sk->ip_ttl,&sk->ip_route_cache); |
opt | 1999 | net/ipv4/tcp.c | IPPROTO_TCP, sk->opt, skb->truesize,sk->ip_tos,sk->ip_ttl,&sk->ip_route_cache); |
opt | 2118 | net/ipv4/tcp.c | IPPROTO_TCP, sk->opt, MAX_ACK_SIZE,sk->ip_tos,sk->ip_ttl,&sk->ip_route_cache); |
opt | 2639 | net/ipv4/tcp.c | IPPROTO_TCP, sk->opt, |
opt | 2764 | net/ipv4/tcp.c | struct proto *prot, struct options *opt, struct device *dev, int tos, int ttl) |
opt | 2795 | net/ipv4/tcp.c | tmp = prot->build_header(buff, saddr, daddr, &ndev, IPPROTO_TCP, opt, |
opt | 2941 | net/ipv4/tcp.c | struct options *opt, struct device *dev, u32 seq) |
opt | 2963 | net/ipv4/tcp.c | tcp_reset(daddr, saddr, th, sk->prot, opt, dev, sk->ip_tos,sk->ip_ttl); |
opt | 2999 | net/ipv4/tcp.c | newsk->opt = NULL; |
opt | 3001 | net/ipv4/tcp.c | if (opt && opt->optlen) { |
opt | 3002 | net/ipv4/tcp.c | sk->opt = (struct options*)kmalloc(sizeof(struct options)+opt->optlen, GFP_ATOMIC); |
opt | 3003 | net/ipv4/tcp.c | if (!sk->opt) { |
opt | 3009 | net/ipv4/tcp.c | if (ip_options_echo(sk->opt, opt, daddr, saddr, skb)) { |
opt | 3010 | net/ipv4/tcp.c | kfree_s(sk->opt, sizeof(struct options)+opt->optlen); |
opt | 3104 | net/ipv4/tcp.c | rt = ip_rt_route(newsk->opt && newsk->opt->srr ? newsk->opt->faddr : saddr, 0); |
opt | 4731 | net/ipv4/tcp.c | struct options *opt, unsigned long saddr, struct device *dev) |
opt | 4819 | net/ipv4/tcp.c | int tcp_rcv(struct sk_buff *skb, struct device *dev, struct options *opt, |
opt | 4904 | net/ipv4/tcp.c | tcp_reset(daddr, saddr, th, &tcp_prot, opt,dev,skb->ip_hdr->tos,255); |
opt | 4934 | net/ipv4/tcp.c | tcp_reset(daddr, saddr, th, &tcp_prot, opt,dev,skb->ip_hdr->tos,255); |
opt | 4973 | net/ipv4/tcp.c | tcp_reset(daddr,saddr,th,sk->prot,opt,dev,sk->ip_tos, sk->ip_ttl); |
opt | 4993 | net/ipv4/tcp.c | tcp_conn_request(sk, skb, daddr, saddr, opt, dev, tcp_init_seq()); |
opt | 5033 | net/ipv4/tcp.c | sk->prot, opt,dev,sk->ip_tos,sk->ip_ttl); |
opt | 5130 | net/ipv4/tcp.c | tcp_conn_request(sk, skb, daddr, saddr,opt, dev,seq+128000); |
opt | 5146 | net/ipv4/tcp.c | if(!tcp_sequence(sk,th,len,opt,saddr,dev)) |
opt | 5162 | net/ipv4/tcp.c | tcp_reset(daddr,saddr,th, &tcp_prot, opt, dev, skb->ip_hdr->tos, 255); |
opt | 5179 | net/ipv4/tcp.c | tcp_reset(daddr, saddr, th,sk->prot, opt, dev,sk->ip_tos,sk->ip_ttl); |
opt | 5319 | net/ipv4/tcp.c | IPPROTO_TCP, sk->opt, buff->truesize, |
opt | 5389 | net/ipv4/tcp.c | IPPROTO_TCP, sk->opt, MAX_ACK_SIZE,sk->ip_tos,sk->ip_ttl,&sk->ip_route_cache); |
opt | 327 | net/ipv4/udp.c | sin->sin_addr.s_addr, saddr, sk->opt, rt, IPPROTO_UDP, noblock); |
opt | 330 | net/ipv4/udp.c | sin->sin_addr.s_addr, saddr, sk->opt, rt, IPPROTO_UDP, noblock); |
opt | 594 | net/ipv4/udp.c | int udp_rcv(struct sk_buff *skb, struct device *dev, struct options *opt, |
opt | 1372 | net/ipx/af_ipx.c | int err,opt; |
opt | 1382 | net/ipx/af_ipx.c | opt=get_fs_long((unsigned long *)optval); |
opt | 1390 | 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 | 571 | net/netrom/nr_route.c | long opt = 0; |
opt | 618 | net/netrom/nr_route.c | opt = get_fs_long((void *)arg); |
opt | 619 | net/netrom/nr_route.c | nr_route_on = opt ? 1 : 0; |