tag | line | file | source code |
frwl | 1049 | net/ipv4/ip_fw.c | static int insert_in_chain(struct ip_fw *volatile* chainptr, struct ip_fw *frwl,int len) |
frwl | 1065 | net/ipv4/ip_fw.c | memcpy(ftmp, frwl, len); |
frwl | 1079 | net/ipv4/ip_fw.c | static int append_to_chain(struct ip_fw *volatile* chainptr, struct ip_fw *frwl,int len) |
frwl | 1097 | net/ipv4/ip_fw.c | memcpy(ftmp, frwl, len); |
frwl | 1119 | net/ipv4/ip_fw.c | static int del_from_chain(struct ip_fw *volatile*chainptr, struct ip_fw *frwl) |
frwl | 1146 | net/ipv4/ip_fw.c | if (ftmp->fw_src.s_addr!=frwl->fw_src.s_addr |
frwl | 1147 | net/ipv4/ip_fw.c | || ftmp->fw_dst.s_addr!=frwl->fw_dst.s_addr |
frwl | 1148 | net/ipv4/ip_fw.c | || ftmp->fw_smsk.s_addr!=frwl->fw_smsk.s_addr |
frwl | 1149 | net/ipv4/ip_fw.c | || ftmp->fw_dmsk.s_addr!=frwl->fw_dmsk.s_addr |
frwl | 1150 | net/ipv4/ip_fw.c | || ftmp->fw_via.s_addr!=frwl->fw_via.s_addr |
frwl | 1151 | net/ipv4/ip_fw.c | || ftmp->fw_flg!=frwl->fw_flg) |
frwl | 1155 | net/ipv4/ip_fw.c | tport2=frwl->fw_nsp+frwl->fw_ndp; |
frwl | 1161 | net/ipv4/ip_fw.c | if (ftmp->fw_pts[tmpnum]!=frwl->fw_pts[tmpnum]) |
frwl | 1195 | net/ipv4/ip_fw.c | struct ip_fw *check_ipfw_struct(struct ip_fw *frwl, int len) |
frwl | 1206 | net/ipv4/ip_fw.c | if ( (frwl->fw_flg & ~IP_FW_F_MASK) != 0 ) |
frwl | 1210 | net/ipv4/ip_fw.c | frwl->fw_flg); |
frwl | 1215 | net/ipv4/ip_fw.c | if ( (frwl->fw_flg & IP_FW_F_SRNG) && frwl->fw_nsp < 2 ) |
frwl | 1219 | net/ipv4/ip_fw.c | frwl->fw_nsp); |
frwl | 1224 | net/ipv4/ip_fw.c | if ( (frwl->fw_flg & IP_FW_F_DRNG) && frwl->fw_ndp < 2 ) |
frwl | 1228 | net/ipv4/ip_fw.c | frwl->fw_ndp); |
frwl | 1233 | net/ipv4/ip_fw.c | if ( frwl->fw_nsp + frwl->fw_ndp > IP_FW_MAX_PORTS ) |
frwl | 1237 | net/ipv4/ip_fw.c | frwl->fw_nsp,frwl->fw_ndp); |
frwl | 1242 | net/ipv4/ip_fw.c | return frwl; |
frwl | 1273 | net/ipv4/ip_fw.c | struct ip_fw *frwl; |
frwl | 1275 | net/ipv4/ip_fw.c | if (!(frwl=check_ipfw_struct(m,len))) |
frwl | 1281 | net/ipv4/ip_fw.c | return( insert_in_chain(&ip_acct_chain,frwl,len)); |
frwl | 1283 | net/ipv4/ip_fw.c | return( append_to_chain(&ip_acct_chain,frwl,len)); |
frwl | 1285 | net/ipv4/ip_fw.c | return( del_from_chain(&ip_acct_chain,frwl)); |
frwl | 1378 | net/ipv4/ip_fw.c | struct ip_fw *frwl; |
frwl | 1381 | net/ipv4/ip_fw.c | frwl=check_ipfw_struct(m,len); |
frwl | 1382 | net/ipv4/ip_fw.c | if (frwl==NULL) |
frwl | 1389 | net/ipv4/ip_fw.c | return(insert_in_chain(chains[fwtype],frwl,len)); |
frwl | 1391 | net/ipv4/ip_fw.c | return(append_to_chain(chains[fwtype],frwl,len)); |
frwl | 1393 | net/ipv4/ip_fw.c | return(del_from_chain(chains[fwtype],frwl)); |