Changeset b012571 in libbsdport


Ignore:
Timestamp:
Oct 20, 2009, 11:40:57 PM (10 years ago)
Author:
Till Straumann <strauman@…>
Branches:
master
Children:
4610a13
Parents:
701f067
Message:

2009-10-20 Till Straumann <Till.Straumann@…>

  • libbsdport/libbsdport_post.h: added missing declaration of m_defrag() (Chris replaced the dummy #define a while ago and provided an implementation instead [thanks!] but we also need a declaration).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • bsd_eth_drivers/libbsdport/libbsdport_post.h

    r701f067 rb012571  
    104104int
    105105rtems_mii_phy_probe(struct rtems_mdio_info *mdio, void *if_softc);
     106
     107/*
     108 * Defragment a mbuf chain, returning the shortest possible
     109 * chain of mbufs and clusters.  If allocation fails and
     110 * this cannot be completed, NULL will be returned, but
     111 * the passed in chain will be unchanged.  Upon success,
     112 * the original chain will be freed, and the new chain
     113 * will be returned.
     114 *
     115 * If a non-packet header is passed in, the original
     116 * mbuf (chain?) will be returned unharmed.
     117 */
     118struct mbuf *
     119m_defrag(struct mbuf *m0, int how);
     120
Note: See TracChangeset for help on using the changeset viewer.