taglinefilesource code
frwl875net/ipv4/ip_fw.cstatic int add_to_chain(struct ip_fw *volatile* chainptr, struct ip_fw *frwl)
frwl899net/ipv4/ip_fw.cmemcpy(ftmp, frwl, sizeof( struct ip_fw ) );
frwl1060net/ipv4/ip_fw.cstatic int del_from_chain(struct ip_fw *volatile*chainptr, struct ip_fw *frwl)
frwl1087net/ipv4/ip_fw.cif (ftmp->fw_src.s_addr!=frwl->fw_src.s_addr 
frwl1088net/ipv4/ip_fw.c||  ftmp->fw_dst.s_addr!=frwl->fw_dst.s_addr
frwl1089net/ipv4/ip_fw.c||  ftmp->fw_smsk.s_addr!=frwl->fw_smsk.s_addr
frwl1090net/ipv4/ip_fw.c||  ftmp->fw_dmsk.s_addr!=frwl->fw_dmsk.s_addr
frwl1091net/ipv4/ip_fw.c||  ftmp->fw_via.s_addr!=frwl->fw_via.s_addr
frwl1092net/ipv4/ip_fw.c||  ftmp->fw_flg!=frwl->fw_flg)
frwl1096net/ipv4/ip_fw.ctport2=frwl->fw_nsp+frwl->fw_ndp;
frwl1102net/ipv4/ip_fw.cif (ftmp->fw_pts[tmpnum]!=frwl->fw_pts[tmpnum])
frwl1136net/ipv4/ip_fw.cstruct ip_fw *check_ipfw_struct(struct ip_fw *frwl, int len)
frwl1147net/ipv4/ip_fw.cif ( (frwl->fw_flg & ~IP_FW_F_MASK) != 0 )
frwl1151net/ipv4/ip_fw.cfrwl->fw_flg);
frwl1156net/ipv4/ip_fw.cif ( (frwl->fw_flg & IP_FW_F_SRNG) && frwl->fw_nsp < 2 ) 
frwl1160net/ipv4/ip_fw.cfrwl->fw_nsp);
frwl1165net/ipv4/ip_fw.cif ( (frwl->fw_flg & IP_FW_F_DRNG) && frwl->fw_ndp < 2 ) 
frwl1169net/ipv4/ip_fw.cfrwl->fw_ndp);
frwl1174net/ipv4/ip_fw.cif ( frwl->fw_nsp + frwl->fw_ndp > IP_FW_MAX_PORTS ) 
frwl1178net/ipv4/ip_fw.cfrwl->fw_nsp,frwl->fw_ndp);
frwl1183net/ipv4/ip_fw.creturn frwl;
frwl1215net/ipv4/ip_fw.cstruct ip_fw *frwl;
frwl1217net/ipv4/ip_fw.cif (!(frwl=check_ipfw_struct(m,len)))
frwl1223net/ipv4/ip_fw.creturn( add_to_chain(&ip_acct_chain,frwl));
frwl1225net/ipv4/ip_fw.creturn( del_from_chain(&ip_acct_chain,frwl));
frwl1334net/ipv4/ip_fw.cstruct ip_fw *frwl;
frwl1335net/ipv4/ip_fw.cfrwl=check_ipfw_struct(m,len);
frwl1336net/ipv4/ip_fw.cif (frwl==NULL)
frwl1342net/ipv4/ip_fw.creturn(add_to_chain(&ip_fw_blk_chain,frwl));
frwl1344net/ipv4/ip_fw.creturn(add_to_chain(&ip_fw_fwd_chain,frwl));
frwl1346net/ipv4/ip_fw.creturn(del_from_chain(&ip_fw_blk_chain,frwl));
frwl1348net/ipv4/ip_fw.creturn(del_from_chain(&ip_fw_fwd_chain,frwl));