Changeset 12660


Ignore:
Timestamp:
08/17/09 16:03:32 (4 years ago)
Author:
BrainSlayer
Message:

socket fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/linux/brcm/linux.v24_2/include/linux/netfilter_ipv4/ip_conntrack.h

    r8761 r12660  
    187187}; 
    188188 
     189struct ip_conntrack_counter 
     190{ 
     191       u_int64_t packets; 
     192       u_int64_t bytes; 
     193}; 
     194 
    189195struct ip_conntrack_helper; 
    190196 
     
    203209        /* Timer function; drops refcnt when it goes off. */ 
    204210        struct timer_list timeout; 
     211 
     212#if defined(CONFIG_IP_NF_CT_ACCT) || \ 
     213        defined(CONFIG_IP_NF_CT_ACCT_MODULE) 
     214       /* Accounting Information (same cache line as other written members) */ 
     215       struct ip_conntrack_counter counters[IP_CT_DIR_MAX]; 
     216#endif 
    205217 
    206218        /* If we're expecting another related connection, this will be 
     
    292304 
    293305/* Refresh conntrack for this many jiffies */ 
    294 extern void ip_ct_refresh(struct ip_conntrack *ct, 
    295                           unsigned long extra_jiffies); 
     306extern void ip_ct_refresh_acct(struct ip_conntrack *ct, 
     307                              enum ip_conntrack_info ctinfo, 
     308                              const struct iphdr *iph, 
     309                              unsigned long extra_jiffies); 
    296310 
    297311/* These are for NAT.  Icky. */ 
Note: See TracChangeset for help on using the changeset viewer.