Lines Matching defs:ifdev_ops
27 struct ifdev_ops { struct
28 err_t (* iop_init)(struct ifdev * ifdev, struct netif * netif);
29 err_t (* iop_input)(struct pbuf * pbuf, struct netif * netif);
30 err_t (* iop_output)(struct ifdev * ifdev, struct pbuf * pbuf,
32 err_t (* iop_output_v4)(struct netif * netif, struct pbuf * pbuf,
34 err_t (* iop_output_v6)(struct netif * netif, struct pbuf * pbuf,
36 void (* iop_hdrcmplt)(struct ifdev * ifdev, struct pbuf * pbuf);
37 void (* iop_poll)(struct ifdev * ifdev);
38 int (* iop_set_ifflags)(struct ifdev * ifdev, unsigned int ifflags);
39 void (* iop_get_ifcap)(struct ifdev * ifdev, uint64_t * ifcap,
41 int (* iop_set_ifcap)(struct ifdev * ifdev, uint64_t ifcap);
42 void (* iop_get_ifmedia)(struct ifdev * ifdev, int * ifcurrent,
44 int (* iop_set_ifmedia)(struct ifdev * ifdev, int ifmedia);
45 void (* iop_set_promisc)(struct ifdev * ifdev, int promisc);
46 int (* iop_set_hwaddr)(struct ifdev * ifdev, const uint8_t * hwaddr);
47 int (* iop_set_mtu)(struct ifdev * ifdev, unsigned int mtu);
48 int (* iop_destroy)(struct ifdev * ifdev);
75 const struct ifdev_ops *ifdev_ops; /* interface operations table */ member