tag | line | file | source code |
ftmp | 445 | net/inet/ip_fw.c | struct ip_fw *ftmp; |
ftmp | 446 | net/inet/ip_fw.c | ftmp = *chainptr; |
ftmp | 447 | net/inet/ip_fw.c | *chainptr = ftmp->next; |
ftmp | 448 | net/inet/ip_fw.c | kfree_s(ftmp,sizeof(*ftmp)); |
ftmp | 459 | net/inet/ip_fw.c | struct ip_fw *ftmp; |
ftmp | 472 | net/inet/ip_fw.c | ftmp = kmalloc( sizeof(struct ip_fw), GFP_ATOMIC ); |
ftmp | 473 | net/inet/ip_fw.c | if ( ftmp == NULL ) |
ftmp | 481 | net/inet/ip_fw.c | memcpy(ftmp, frwl, sizeof( struct ip_fw ) ); |
ftmp | 482 | net/inet/ip_fw.c | ftmp->p_cnt=0L; |
ftmp | 483 | net/inet/ip_fw.c | ftmp->b_cnt=0L; |
ftmp | 485 | net/inet/ip_fw.c | ftmp->next = NULL; |
ftmp | 491 | net/inet/ip_fw.c | *chainptr=ftmp; |
ftmp | 499 | net/inet/ip_fw.c | newkind=ftmp->flags & IP_FW_F_KIND; |
ftmp | 515 | net/inet/ip_fw.c | n_sa=ntohl(ftmp->src.s_addr); |
ftmp | 516 | net/inet/ip_fw.c | n_da=ntohl(ftmp->dst.s_addr); |
ftmp | 517 | net/inet/ip_fw.c | n_sm=ntohl(ftmp->src_mask.s_addr); |
ftmp | 518 | net/inet/ip_fw.c | n_dm=ntohl(ftmp->dst_mask.s_addr); |
ftmp | 565 | net/inet/ip_fw.c | if (ftmp->flags & IP_FW_F_SRNG) |
ftmp | 566 | net/inet/ip_fw.c | n_sr=ftmp->ports[1]-ftmp->ports[0]; |
ftmp | 568 | net/inet/ip_fw.c | n_sr=(ftmp->n_src_p)?ftmp->n_src_p : 0xFFFF; |
ftmp | 580 | net/inet/ip_fw.c | n_n=ftmp->n_src_p; |
ftmp | 593 | net/inet/ip_fw.c | if (ftmp->flags & IP_FW_F_DRNG) |
ftmp | 594 | net/inet/ip_fw.c | n_dr=ftmp->ports[n_n+1]-ftmp->ports[n_n]; |
ftmp | 596 | net/inet/ip_fw.c | n_dr=(ftmp->n_dst_p)? ftmp->n_dst_p : 0xFFFF; |
ftmp | 613 | net/inet/ip_fw.c | chtmp_prev->next=ftmp; |
ftmp | 614 | net/inet/ip_fw.c | ftmp->next=chtmp; |
ftmp | 618 | net/inet/ip_fw.c | *chainptr=ftmp; |
ftmp | 619 | net/inet/ip_fw.c | ftmp->next=chtmp; |
ftmp | 629 | net/inet/ip_fw.c | chtmp_prev->next=ftmp; |
ftmp | 631 | net/inet/ip_fw.c | *chainptr=ftmp; |
ftmp | 638 | net/inet/ip_fw.c | struct ip_fw *ftmp,*ltmp; |
ftmp | 646 | net/inet/ip_fw.c | ftmp=*chainptr; |
ftmp | 648 | net/inet/ip_fw.c | if ( ftmp == NULL ) |
ftmp | 660 | net/inet/ip_fw.c | while( ftmp != NULL ) |
ftmp | 663 | net/inet/ip_fw.c | if ((memcmp(&ftmp->src,&frwl->src,sizeof(struct in_addr))) |
ftmp | 664 | net/inet/ip_fw.c | || (memcmp(&ftmp->src_mask,&frwl->src_mask,sizeof(struct in_addr))) |
ftmp | 665 | net/inet/ip_fw.c | || (memcmp(&ftmp->dst,&frwl->dst,sizeof(struct in_addr))) |
ftmp | 666 | net/inet/ip_fw.c | || (memcmp(&ftmp->dst_mask,&frwl->dst_mask,sizeof(struct in_addr))) |
ftmp | 667 | net/inet/ip_fw.c | || (ftmp->flags!=frwl->flags)) |
ftmp | 670 | net/inet/ip_fw.c | tport1=ftmp->n_src_p+ftmp->n_dst_p; |
ftmp | 677 | net/inet/ip_fw.c | if (ftmp->ports[tmpnum]!=frwl->ports[tmpnum]) |
ftmp | 685 | net/inet/ip_fw.c | ltmp->next=ftmp->next; |
ftmp | 686 | net/inet/ip_fw.c | kfree_s(ftmp,sizeof(*ftmp)); |
ftmp | 687 | net/inet/ip_fw.c | ftmp=ltmp->next; |
ftmp | 691 | net/inet/ip_fw.c | *chainptr=ftmp->next; |
ftmp | 692 | net/inet/ip_fw.c | kfree_s(ftmp,sizeof(*ftmp)); |
ftmp | 693 | net/inet/ip_fw.c | ftmp=*chainptr; |
ftmp | 698 | net/inet/ip_fw.c | ltmp = ftmp; |
ftmp | 699 | net/inet/ip_fw.c | ftmp = ftmp->next; |