tag | line | file | source code |
frwl | 550 | net/ipv4/ip_fw.c | static int insert_in_chain(struct ip_fw *volatile* chainptr, struct ip_fw *frwl,int len) |
frwl | 566 | net/ipv4/ip_fw.c | memcpy(ftmp, frwl, len); |
frwl | 590 | net/ipv4/ip_fw.c | static int append_to_chain(struct ip_fw *volatile* chainptr, struct ip_fw *frwl,int len) |
frwl | 608 | net/ipv4/ip_fw.c | memcpy(ftmp, frwl, len); |
frwl | 640 | net/ipv4/ip_fw.c | static int del_from_chain(struct ip_fw *volatile*chainptr, struct ip_fw *frwl) |
frwl | 667 | net/ipv4/ip_fw.c | if (ftmp->fw_src.s_addr!=frwl->fw_src.s_addr |
frwl | 668 | net/ipv4/ip_fw.c | || ftmp->fw_dst.s_addr!=frwl->fw_dst.s_addr |
frwl | 669 | net/ipv4/ip_fw.c | || ftmp->fw_smsk.s_addr!=frwl->fw_smsk.s_addr |
frwl | 670 | net/ipv4/ip_fw.c | || ftmp->fw_dmsk.s_addr!=frwl->fw_dmsk.s_addr |
frwl | 671 | net/ipv4/ip_fw.c | || ftmp->fw_via.s_addr!=frwl->fw_via.s_addr |
frwl | 672 | net/ipv4/ip_fw.c | || ftmp->fw_flg!=frwl->fw_flg) |
frwl | 676 | net/ipv4/ip_fw.c | tport2=frwl->fw_nsp+frwl->fw_ndp; |
frwl | 682 | net/ipv4/ip_fw.c | if (ftmp->fw_pts[tmpnum]!=frwl->fw_pts[tmpnum]) |
frwl | 685 | net/ipv4/ip_fw.c | if (strncmp(ftmp->fw_vianame, frwl->fw_vianame, IFNAMSIZ)) |
frwl | 718 | net/ipv4/ip_fw.c | struct ip_fw *check_ipfw_struct(struct ip_fw *frwl, int len) |
frwl | 729 | net/ipv4/ip_fw.c | if ( (frwl->fw_flg & ~IP_FW_F_MASK) != 0 ) |
frwl | 733 | net/ipv4/ip_fw.c | frwl->fw_flg); |
frwl | 738 | net/ipv4/ip_fw.c | if ( (frwl->fw_flg & IP_FW_F_SRNG) && frwl->fw_nsp < 2 ) |
frwl | 742 | net/ipv4/ip_fw.c | frwl->fw_nsp); |
frwl | 747 | net/ipv4/ip_fw.c | if ( (frwl->fw_flg & IP_FW_F_DRNG) && frwl->fw_ndp < 2 ) |
frwl | 751 | net/ipv4/ip_fw.c | frwl->fw_ndp); |
frwl | 756 | net/ipv4/ip_fw.c | if ( frwl->fw_nsp + frwl->fw_ndp > IP_FW_MAX_PORTS ) |
frwl | 760 | net/ipv4/ip_fw.c | frwl->fw_nsp,frwl->fw_ndp); |
frwl | 765 | net/ipv4/ip_fw.c | return frwl; |
frwl | 796 | net/ipv4/ip_fw.c | struct ip_fw *frwl; |
frwl | 798 | net/ipv4/ip_fw.c | if (!(frwl=check_ipfw_struct(m,len))) |
frwl | 804 | net/ipv4/ip_fw.c | return( insert_in_chain(&ip_acct_chain,frwl,len)); |
frwl | 806 | net/ipv4/ip_fw.c | return( append_to_chain(&ip_acct_chain,frwl,len)); |
frwl | 808 | net/ipv4/ip_fw.c | return( del_from_chain(&ip_acct_chain,frwl)); |
frwl | 947 | net/ipv4/ip_fw.c | struct ip_fw *frwl; |
frwl | 950 | net/ipv4/ip_fw.c | frwl=check_ipfw_struct(m,len); |
frwl | 951 | net/ipv4/ip_fw.c | if (frwl==NULL) |
frwl | 958 | net/ipv4/ip_fw.c | return(insert_in_chain(chains[fwtype],frwl,len)); |
frwl | 960 | net/ipv4/ip_fw.c | return(append_to_chain(chains[fwtype],frwl,len)); |
frwl | 962 | net/ipv4/ip_fw.c | return(del_from_chain(chains[fwtype],frwl)); |