tag | line | file | source code |
ftmp | 540 | net/ipv4/ip_fw.c | struct ip_fw *ftmp; |
ftmp | 541 | net/ipv4/ip_fw.c | ftmp = *chainptr; |
ftmp | 542 | net/ipv4/ip_fw.c | *chainptr = ftmp->fw_next; |
ftmp | 543 | net/ipv4/ip_fw.c | kfree_s(ftmp,sizeof(*ftmp)); |
ftmp | 552 | net/ipv4/ip_fw.c | struct ip_fw *ftmp; |
ftmp | 557 | net/ipv4/ip_fw.c | ftmp = kmalloc( sizeof(struct ip_fw), GFP_ATOMIC ); |
ftmp | 558 | net/ipv4/ip_fw.c | if ( ftmp == NULL ) |
ftmp | 566 | net/ipv4/ip_fw.c | memcpy(ftmp, frwl, len); |
ftmp | 571 | net/ipv4/ip_fw.c | ftmp->fw_tosand |= 0x01; |
ftmp | 572 | net/ipv4/ip_fw.c | ftmp->fw_tosxor &= 0xFE; |
ftmp | 573 | net/ipv4/ip_fw.c | ftmp->fw_pcnt=0L; |
ftmp | 574 | net/ipv4/ip_fw.c | ftmp->fw_bcnt=0L; |
ftmp | 578 | net/ipv4/ip_fw.c | if ((ftmp->fw_vianame)[0]) { |
ftmp | 579 | net/ipv4/ip_fw.c | if (!(ftmp->fw_viadev = dev_get(ftmp->fw_vianame))) |
ftmp | 580 | net/ipv4/ip_fw.c | ftmp->fw_viadev = (struct device *) -1; |
ftmp | 582 | net/ipv4/ip_fw.c | ftmp->fw_viadev = NULL; |
ftmp | 584 | net/ipv4/ip_fw.c | ftmp->fw_next = *chainptr; |
ftmp | 585 | net/ipv4/ip_fw.c | *chainptr=ftmp; |
ftmp | 592 | net/ipv4/ip_fw.c | struct ip_fw *ftmp; |
ftmp | 599 | net/ipv4/ip_fw.c | ftmp = kmalloc( sizeof(struct ip_fw), GFP_ATOMIC ); |
ftmp | 600 | net/ipv4/ip_fw.c | if ( ftmp == NULL ) |
ftmp | 608 | net/ipv4/ip_fw.c | memcpy(ftmp, frwl, len); |
ftmp | 613 | net/ipv4/ip_fw.c | ftmp->fw_tosand |= 0x01; |
ftmp | 614 | net/ipv4/ip_fw.c | ftmp->fw_tosxor &= 0xFE; |
ftmp | 615 | net/ipv4/ip_fw.c | ftmp->fw_pcnt=0L; |
ftmp | 616 | net/ipv4/ip_fw.c | ftmp->fw_bcnt=0L; |
ftmp | 618 | net/ipv4/ip_fw.c | ftmp->fw_next = NULL; |
ftmp | 622 | net/ipv4/ip_fw.c | if ((ftmp->fw_vianame)[0]) { |
ftmp | 623 | net/ipv4/ip_fw.c | if (!(ftmp->fw_viadev = dev_get(ftmp->fw_vianame))) |
ftmp | 624 | net/ipv4/ip_fw.c | ftmp->fw_viadev = (struct device *) -1; |
ftmp | 626 | net/ipv4/ip_fw.c | ftmp->fw_viadev = NULL; |
ftmp | 633 | net/ipv4/ip_fw.c | chtmp_prev->fw_next=ftmp; |
ftmp | 635 | net/ipv4/ip_fw.c | *chainptr=ftmp; |
ftmp | 642 | net/ipv4/ip_fw.c | struct ip_fw *ftmp,*ltmp; |
ftmp | 650 | net/ipv4/ip_fw.c | ftmp=*chainptr; |
ftmp | 652 | net/ipv4/ip_fw.c | if ( ftmp == NULL ) |
ftmp | 664 | net/ipv4/ip_fw.c | while( !was_found && ftmp != NULL ) |
ftmp | 667 | net/ipv4/ip_fw.c | if (ftmp->fw_src.s_addr!=frwl->fw_src.s_addr |
ftmp | 668 | net/ipv4/ip_fw.c | || ftmp->fw_dst.s_addr!=frwl->fw_dst.s_addr |
ftmp | 669 | net/ipv4/ip_fw.c | || ftmp->fw_smsk.s_addr!=frwl->fw_smsk.s_addr |
ftmp | 670 | net/ipv4/ip_fw.c | || ftmp->fw_dmsk.s_addr!=frwl->fw_dmsk.s_addr |
ftmp | 671 | net/ipv4/ip_fw.c | || ftmp->fw_via.s_addr!=frwl->fw_via.s_addr |
ftmp | 672 | net/ipv4/ip_fw.c | || ftmp->fw_flg!=frwl->fw_flg) |
ftmp | 675 | net/ipv4/ip_fw.c | tport1=ftmp->fw_nsp+ftmp->fw_ndp; |
ftmp | 682 | net/ipv4/ip_fw.c | if (ftmp->fw_pts[tmpnum]!=frwl->fw_pts[tmpnum]) |
ftmp | 685 | net/ipv4/ip_fw.c | if (strncmp(ftmp->fw_vianame, frwl->fw_vianame, IFNAMSIZ)) |
ftmp | 692 | net/ipv4/ip_fw.c | ltmp->fw_next=ftmp->fw_next; |
ftmp | 693 | net/ipv4/ip_fw.c | kfree_s(ftmp,sizeof(*ftmp)); |
ftmp | 694 | net/ipv4/ip_fw.c | ftmp=ltmp->fw_next; |
ftmp | 698 | net/ipv4/ip_fw.c | *chainptr=ftmp->fw_next; |
ftmp | 699 | net/ipv4/ip_fw.c | kfree_s(ftmp,sizeof(*ftmp)); |
ftmp | 700 | net/ipv4/ip_fw.c | ftmp=*chainptr; |
ftmp | 705 | net/ipv4/ip_fw.c | ltmp = ftmp; |
ftmp | 706 | net/ipv4/ip_fw.c | ftmp = ftmp->fw_next; |