Home
last modified time | relevance | path

Searched refs:header_ops (Results 1 – 25 of 52) sorted by relevance

123

/linux/net/802/
H A Dfc.c74 static const struct header_ops fc_header_ops = {
80 dev->header_ops = &fc_header_ops; in fc_setup()
H A Dfddi.c140 static const struct header_ops fddi_header_ops = {
147 dev->header_ops = &fddi_header_ops; in fddi_setup()
/linux/include/linux/
H A Dif_phonet.h14 extern const struct header_ops phonet_header_ops;
H A Dnetdevice.h310 struct header_ops { struct
2138 const struct header_ops *header_ops; member
3472 if (!dev->header_ops || !dev->header_ops->create) in dev_hard_header()
3475 return dev->header_ops->create(skb, dev, type, daddr, saddr, len); in dev_hard_header()
3483 if (!dev->header_ops || !dev->header_ops->parse) in dev_parse_header()
3485 return dev->header_ops->parse(skb, dev, haddr); in dev_parse_header()
3492 if (!dev->header_ops || !dev->header_ops->parse_protocol) in dev_parse_header_protocol()
3494 return dev->header_ops->parse_protocol(skb); in dev_parse_header_protocol()
3511 if (dev->header_ops && dev->header_ops->validate) in dev_validate_header()
3512 return dev->header_ops->validate(ll_header, len); in dev_validate_header()
[all …]
H A Detherdevice.h41 extern const struct header_ops eth_header_ops;
/linux/net/ieee802154/6lowpan/
H A Dcore.c59 static const struct header_ops lowpan_header_ops = {
118 ldev->header_ops = &lowpan_header_ops; in lowpan_setup()
/linux/drivers/net/
H A Dloopback.c164 const struct header_ops *hdr_ops, in gen_lo_setup()
188 dev->header_ops = hdr_ops; in gen_lo_setup()
/linux/net/ieee802154/
H A DMakefile7 header_ops.o sysfs.o nl802154.o trace.o pan.o
/linux/drivers/net/wan/
H A Dhdlc.c222 static const struct header_ops hdlc_null_ops;
238 dev->header_ops = &hdlc_null_ops; in hdlc_setup_dev()
H A Dhdlc_cisco.c305 static const struct header_ops cisco_header_ops = {
356 dev->header_ops = &cisco_header_ops; in cisco_ioctl()
/linux/Documentation/networking/net_cachelines/
H A Dnet_device.rst61 struct header_ops* header_ops read_mostly …
/linux/include/net/
H A Dcfg802154.h479 const struct wpan_dev_header_ops *header_ops; member
525 return wpan_dev->header_ops->create(skb, dev, daddr, saddr, len); in wpan_dev_hard_header()
/linux/net/ethernet/
H A Deth.c328 const struct header_ops eth_header_ops ____cacheline_aligned = {
344 dev->header_ops = &eth_header_ops; in ether_setup()
/linux/net/mac802154/
H A Diface.c491 static const struct header_ops mac802154_header_ops = {
580 sdata->dev->header_ops = &mac802154_header_ops; in ieee802154_setup_sdata()
586 wpan_dev->header_ops = &ieee802154_header_ops; in ieee802154_setup_sdata()
/linux/net/ipv4/
H A Dip_gre.c111 static const struct header_ops ipgre_header_ops;
387 if (tunnel->dev->header_ops == &ipgre_header_ops) in __ipgre_rcv()
666 if (dev->header_ops) { in ipgre_xmit()
798 if (dev->header_ops) in ipgre_link_update()
931 static const struct header_ops ipgre_header_ops = {
1056 dev->header_ops = &ipgre_header_ops; in ipgre_tunnel_init()
1062 dev->header_ops = &ipgre_header_ops; in ipgre_tunnel_init()
/linux/net/8021q/
H A Dvlan_dev.c493 static const struct header_ops vlan_header_ops = {
513 static const struct header_ops vlan_passthru_header_ops = {
579 dev->header_ops = &vlan_passthru_header_ops; in vlan_dev_init()
582 dev->header_ops = &vlan_header_ops; in vlan_dev_init()
/linux/net/bluetooth/
H A D6lowpan.c567 static const struct header_ops header_ops = { variable
580 dev->header_ops = &header_ops; in netdev_setup()
/linux/drivers/net/team/
H A Dteam_core.c2243 const struct header_ops *port_ops; in team_header_create()
2250 port_ops = READ_ONCE(port->dev->header_ops); in team_header_create()
2264 const struct header_ops *port_ops; in team_header_parse()
2271 port_ops = READ_ONCE(port->dev->header_ops); in team_header_parse()
2279 static const struct header_ops team_header_ops = {
2290 dev->header_ops = team->header_ops_cache; in team_setup_by_port()
2292 dev->header_ops = port_dev->header_ops ? in team_setup_by_port()
2344 team->header_ops_cache = dev->header_ops; in team_setup()
/linux/drivers/net/mctp/
H A Dmctp-i3c.c531 static const struct header_ops mctp_i3c_headops = {
548 dev->header_ops = &mctp_i3c_headops; in mctp_i3c_net_setup()
H A Dmctp-i2c.c718 static const struct header_ops mctp_i2c_headops = {
739 dev->header_ops = &mctp_i2c_headops; in mctp_i2c_net_setup()
/linux/drivers/net/wwan/iosm/
H A Diosm_ipc_wwan.c148 iosm_dev->header_ops = NULL; in ipc_wwan_setup()
/linux/net/mpls/
H A Dmpls_iptunnel.c105 if (!out_dev->header_ops) in mpls_xmit()
/linux/net/hsr/
H A Dhsr_device.c247 static const struct header_ops hsr_header_ops = {
648 dev->header_ops = &hsr_header_ops; in hsr_dev_setup()
/linux/drivers/net/usb/
H A Dqmi_wwan.c128 dev->header_ops = NULL; /* No header */ in qmimux_setup()
312 net->header_ops = NULL; /* No header */ in qmi_wwan_netdev_setup()
319 } else if (!net->header_ops) { /* don't bother if already set */ in qmi_wwan_netdev_setup()
/linux/drivers/net/ethernet/qualcomm/rmnet/
H A Drmnet_vnd.c281 rmnet_dev->header_ops = NULL; /* No header */ in rmnet_vnd_setup()

123