packet

    xiaoxiao2021-03-25  42

    struct packet_type { __be16 type; /* This is really htons(ether_type). */ struct net_device *dev; /* NULL is wildcarded here     */ int (*func) (struct sk_buff *, struct net_device *, struct packet_type *, struct net_device *); bool (*id_match)(struct packet_type *ptype,    struct sock *sk); void *af_packet_priv; struct list_head list; };
    转载请注明原文地址: https://ju.6miu.com/read-38079.html

    最新回复(0)