Home
last modified time | relevance | path

Searched refs:pk_type (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/drivers/net/bonding/
Dbond_alb.c804 struct packet_type *pk_type = &(BOND_ALB_INFO(bond).rlb_pkt_type); in rlb_initialize() local
830 pk_type->type = __constant_htons(ETH_P_ARP); in rlb_initialize()
831 pk_type->dev = bond->dev; in rlb_initialize()
832 pk_type->func = rlb_arp_recv; in rlb_initialize()
833 pk_type->data = (void*)1; /* understand shared skbs */ in rlb_initialize()
836 dev_add_pack(pk_type); in rlb_initialize()
Dbond_main.c3490 struct packet_type *pk_type = &(BOND_AD_INFO(bond).ad_pkt_type); in bond_register_lacpdu() local
3493 pk_type->type = PKT_TYPE_LACPDU; in bond_register_lacpdu()
3494 pk_type->dev = bond->dev; in bond_register_lacpdu()
3495 pk_type->func = bond_3ad_lacpdu_recv; in bond_register_lacpdu()
3496 pk_type->data = (void*)1; /* understand shared skbs */ in bond_register_lacpdu()
3498 dev_add_pack(pk_type); in bond_register_lacpdu()