Diff for /qemu/slirp/if.c between versions 1.1.1.3 and 1.1.1.4

version 1.1.1.3, 2018/04/24 16:49:15 version 1.1.1.4, 2018/04/24 16:54:35
Line 15  struct mbuf *next_m;   /* Pointer to nex Line 15  struct mbuf *next_m;   /* Pointer to nex
   
 #define ifs_init(ifm) ((ifm)->ifs_next = (ifm)->ifs_prev = (ifm))  #define ifs_init(ifm) ((ifm)->ifs_next = (ifm)->ifs_prev = (ifm))
   
 void  static void
 ifs_insque(ifm, ifmhead)  ifs_insque(struct mbuf *ifm, struct mbuf *ifmhead)
         struct mbuf *ifm, *ifmhead;  
 {  {
         ifm->ifs_next = ifmhead->ifs_next;          ifm->ifs_next = ifmhead->ifs_next;
         ifmhead->ifs_next = ifm;          ifmhead->ifs_next = ifm;
Line 25  ifs_insque(ifm, ifmhead) Line 24  ifs_insque(ifm, ifmhead)
         ifm->ifs_next->ifs_prev = ifm;          ifm->ifs_next->ifs_prev = ifm;
 }  }
   
 void  static void
 ifs_remque(ifm)  ifs_remque(struct mbuf *ifm)
         struct mbuf *ifm;  
 {  {
         ifm->ifs_prev->ifs_next = ifm->ifs_next;          ifm->ifs_prev->ifs_next = ifm->ifs_next;
         ifm->ifs_next->ifs_prev = ifm->ifs_prev;          ifm->ifs_next->ifs_prev = ifm->ifs_prev;
Line 291  if_start(void) Line 289  if_start(void)
         }          }
   
         /* Encapsulate the packet for sending */          /* Encapsulate the packet for sending */
         if_encap(ifm->m_data, ifm->m_len);          if_encap((uint8_t *)ifm->m_data, ifm->m_len);
   
         m_free(ifm);          m_free(ifm);
   

Removed from v.1.1.1.3  
changed lines
  Added in v.1.1.1.4


unix.superglobalmegacorp.com