openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/libnl/1_3.4.0-r0/libnl-3.4.0/lib/xfrm/selector.c
struct xfrmnl_sel* xfrmnl_sel_alloc()
{
    struct xfrmnl_sel* sel;

    sel = calloc(1, sizeof(struct xfrmnl_sel));
    if (!sel)
        return NULL;

    sel->refcnt = 1;

    return sel;
}
/**
 * Allocate new selector object.
 * @return Newly allocated selector object or NULL
 */
Allocate new selector object.
@return Newly allocated selector object or NULL
Allocate new selector object . @return Newly allocated selector object or NULL
struct xfrmnl_sel* xfrmnl_sel_alloc()
{
    struct xfrmnl_sel* sel;
    sel = calloc(1, sizeof(struct xfrmnl_sel));
    if (!sel)
        return NULL;
    sel->refcnt = 1;
    return sel;
}
struct xfrmnl_sel * xfrmnl_sel_alloc ( ) { struct xfrmnl_sel * sel ; sel = calloc ( 1 , sizeof ( struct xfrmnl_sel ) ) ; if ( ! sel ) return NULL ; sel -> refcnt = 1 ; return sel ; }
Allocate new selector object.
Allocate new selector object .