| tag | line | file | source code |
| frwl | 1024 | net/ipv4/ip_fw.c | static int add_to_chain(struct ip_fw *volatile* chainptr, struct ip_fw *frwl) |
| frwl | 1048 | net/ipv4/ip_fw.c | memcpy(ftmp, frwl, sizeof( struct ip_fw ) ); |
| frwl | 1209 | net/ipv4/ip_fw.c | static int del_from_chain(struct ip_fw *volatile*chainptr, struct ip_fw *frwl) |
| frwl | 1236 | net/ipv4/ip_fw.c | if (ftmp->fw_src.s_addr!=frwl->fw_src.s_addr |
| frwl | 1237 | net/ipv4/ip_fw.c | || ftmp->fw_dst.s_addr!=frwl->fw_dst.s_addr |
| frwl | 1238 | net/ipv4/ip_fw.c | || ftmp->fw_smsk.s_addr!=frwl->fw_smsk.s_addr |
| frwl | 1239 | net/ipv4/ip_fw.c | || ftmp->fw_dmsk.s_addr!=frwl->fw_dmsk.s_addr |
| frwl | 1240 | net/ipv4/ip_fw.c | || ftmp->fw_via.s_addr!=frwl->fw_via.s_addr |
| frwl | 1241 | net/ipv4/ip_fw.c | || ftmp->fw_flg!=frwl->fw_flg) |
| frwl | 1245 | net/ipv4/ip_fw.c | tport2=frwl->fw_nsp+frwl->fw_ndp; |
| frwl | 1251 | net/ipv4/ip_fw.c | if (ftmp->fw_pts[tmpnum]!=frwl->fw_pts[tmpnum]) |
| frwl | 1285 | net/ipv4/ip_fw.c | struct ip_fw *check_ipfw_struct(struct ip_fw *frwl, int len) |
| frwl | 1296 | net/ipv4/ip_fw.c | if ( (frwl->fw_flg & ~IP_FW_F_MASK) != 0 ) |
| frwl | 1300 | net/ipv4/ip_fw.c | frwl->fw_flg); |
| frwl | 1305 | net/ipv4/ip_fw.c | if ( (frwl->fw_flg & IP_FW_F_SRNG) && frwl->fw_nsp < 2 ) |
| frwl | 1309 | net/ipv4/ip_fw.c | frwl->fw_nsp); |
| frwl | 1314 | net/ipv4/ip_fw.c | if ( (frwl->fw_flg & IP_FW_F_DRNG) && frwl->fw_ndp < 2 ) |
| frwl | 1318 | net/ipv4/ip_fw.c | frwl->fw_ndp); |
| frwl | 1323 | net/ipv4/ip_fw.c | if ( frwl->fw_nsp + frwl->fw_ndp > IP_FW_MAX_PORTS ) |
| frwl | 1327 | net/ipv4/ip_fw.c | frwl->fw_nsp,frwl->fw_ndp); |
| frwl | 1332 | net/ipv4/ip_fw.c | return frwl; |
| frwl | 1364 | net/ipv4/ip_fw.c | struct ip_fw *frwl; |
| frwl | 1366 | net/ipv4/ip_fw.c | if (!(frwl=check_ipfw_struct(m,len))) |
| frwl | 1372 | net/ipv4/ip_fw.c | return( add_to_chain(&ip_acct_chain,frwl)); |
| frwl | 1374 | net/ipv4/ip_fw.c | return( del_from_chain(&ip_acct_chain,frwl)); |
| frwl | 1483 | net/ipv4/ip_fw.c | struct ip_fw *frwl; |
| frwl | 1484 | net/ipv4/ip_fw.c | frwl=check_ipfw_struct(m,len); |
| frwl | 1485 | net/ipv4/ip_fw.c | if (frwl==NULL) |
| frwl | 1491 | net/ipv4/ip_fw.c | return(add_to_chain(&ip_fw_blk_chain,frwl)); |
| frwl | 1493 | net/ipv4/ip_fw.c | return(add_to_chain(&ip_fw_fwd_chain,frwl)); |
| frwl | 1495 | net/ipv4/ip_fw.c | return(del_from_chain(&ip_fw_blk_chain,frwl)); |
| frwl | 1497 | net/ipv4/ip_fw.c | return(del_from_chain(&ip_fw_fwd_chain,frwl)); |