Home
last modified time | relevance | path

Searched refs:ga (Results 1 – 5 of 5) sorted by relevance

/net/802/
Dgarp.c291 struct garp_attr_hdr *ga; in garp_pdu_append_attr() local
309 len = sizeof(*ga) + attr->dlen; in garp_pdu_append_attr()
312 ga = __skb_put(app->pdu, len); in garp_pdu_append_attr()
313 ga->len = len; in garp_pdu_append_attr()
314 ga->event = event; in garp_pdu_append_attr()
315 memcpy(ga->data, attr->data, attr->dlen); in garp_pdu_append_attr()
441 const struct garp_attr_hdr *ga; in garp_pdu_parse_attr() local
446 if (!pskb_may_pull(skb, sizeof(*ga))) in garp_pdu_parse_attr()
448 ga = (struct garp_attr_hdr *)skb->data; in garp_pdu_parse_attr()
449 if (ga->len < sizeof(*ga)) in garp_pdu_parse_attr()
[all …]
/net/tipc/
Dlink.c277 static u8 __tipc_build_gap_ack_blks(struct tipc_gap_ack_blks *ga,
282 struct tipc_gap_ack_blks *ga,
1437 u16 tipc_get_gap_ack_blks(struct tipc_gap_ack_blks **ga, struct tipc_link *l, in tipc_get_gap_ack_blks() argument
1464 *ga = p; in tipc_get_gap_ack_blks()
1468 static u8 __tipc_build_gap_ack_blks(struct tipc_gap_ack_blks *ga, in __tipc_build_gap_ack_blks() argument
1471 struct tipc_gap_ack *gacks = &ga->gacks[start_index]; in __tipc_build_gap_ack_blks()
1518 struct tipc_gap_ack_blks *ga; in tipc_build_gap_ack_blks() local
1521 ga = (struct tipc_gap_ack_blks *)msg_data(hdr); in tipc_build_gap_ack_blks()
1527 ga->bgack_cnt = __tipc_build_gap_ack_blks(ga, bcl, 0); in tipc_build_gap_ack_blks()
1531 ga->ugack_cnt = (msg_seq_gap(hdr)) ? in tipc_build_gap_ack_blks()
[all …]
Dlink.h145 u16 tipc_get_gap_ack_blks(struct tipc_gap_ack_blks **ga, struct tipc_link *l,
148 struct tipc_gap_ack_blks *ga,
Dbcast.c503 struct tipc_gap_ack_blks *ga; in tipc_bcast_sync_rcv() local
513 tipc_get_gap_ack_blks(&ga, l, hdr, false); in tipc_bcast_sync_rcv()
517 msg_bc_gap(hdr), ga, &xmitq, in tipc_bcast_sync_rcv()
/net/appletalk/
Dddp.c499 struct sockaddr_at *ga = (struct sockaddr_at *)&r->rt_gateway; in atrtr_create() local
511 (!devhint && ga->sat_family != AF_APPLETALK)) in atrtr_create()
534 ntohs(ga->sat_addr.s_net) >= in atrtr_create()
536 ntohs(ga->sat_addr.s_net) <= in atrtr_create()
540 if (ga->sat_addr.s_net == iface->address.s_net && in atrtr_create()
541 ga->sat_addr.s_node == iface->address.s_node) in atrtr_create()
569 rt->gateway = ga->sat_addr; in atrtr_create()