Home
last modified time | relevance | path

Searched refs:hcksum (Results 1 – 3 of 3) sorted by relevance

/titanic_50/usr/src/uts/common/io/softmac/
H A Dsoftmac_capab.c596 dl_capab_hcksum_t *hcksum; in i_capab_sub_ack() local
610 hcksum = (dl_capab_hcksum_t *)(sub + 1); in i_capab_sub_ack()
611 err = i_capab_hcksum_ack(hcksum, q, op, arg); in i_capab_sub_ack()
634 i_capab_hcksum_ack(dl_capab_hcksum_t *hcksum, queue_t *q, in i_capab_hcksum_ack() argument
640 if ((err = i_capab_hcksum_verify(hcksum, q)) != 0) in i_capab_hcksum_ack()
643 flags = hcksum->hcksum_txflags; in i_capab_hcksum_ack()
705 i_capab_hcksum_verify(dl_capab_hcksum_t *hcksum, queue_t *q) in i_capab_hcksum_verify() argument
707 if (hcksum->hcksum_version != HCKSUM_VERSION_1) { in i_capab_hcksum_verify()
710 "expected %d)", hcksum->hcksum_version, HCKSUM_VERSION_1); in i_capab_hcksum_verify()
714 if ((q != NULL) && !dlcapabcheckqid(&hcksum->hcksum_mid, q)) { in i_capab_hcksum_verify()
H A Dsoftmac_fp.c398 dl_capab_hcksum_t hcksum; in softmac_capability_advertise() local
406 bzero(&hcksum, sizeof (dl_capab_hcksum_t)); in softmac_capability_advertise()
407 hcksum.hcksum_version = HCKSUM_VERSION_1; in softmac_capability_advertise()
408 hcksum.hcksum_txflags = softmac->smac_hcksum_txflags; in softmac_capability_advertise()
409 dlcapabsetqid(&(hcksum.hcksum_mid), sup->su_rq); in softmac_capability_advertise()
410 bcopy(&hcksum, ptr, sizeof (dl_capab_hcksum_t)); in softmac_capability_advertise()
522 dl_capab_hcksum_t hcksum; in softmac_capability_req() local
528 bcopy(hcksump, &hcksum, sizeof (dl_capab_hcksum_t)); in softmac_capability_req()
529 dlcapabsetqid(&(hcksum.hcksum_mid), sup->su_rq); in softmac_capability_req()
530 bcopy(&hcksum, hcksump, sizeof (dl_capab_hcksum_t)); in softmac_capability_req()
/titanic_50/usr/src/uts/common/io/dld/
H A Ddld_proto.c1081 dl_capab_hcksum_t hcksum; in proto_capability_req() local
1087 bcopy(hcksump, &hcksum, sizeof (dl_capab_hcksum_t)); in proto_capability_req()
1088 dlcapabsetqid(&(hcksum.hcksum_mid), dsp->ds_rq); in proto_capability_req()
1089 bcopy(&hcksum, hcksump, sizeof (dl_capab_hcksum_t)); in proto_capability_req()
1560 dl_capab_hcksum_t hcksum; in proto_capability_advertise() local
1580 bzero(&hcksum, sizeof (dl_capab_hcksum_t)); in proto_capability_advertise()
1582 &hcksum.hcksum_txflags)) { in proto_capability_advertise()
1583 if (hcksum.hcksum_txflags != 0) { in proto_capability_advertise()
1651 hcksum.hcksum_version = HCKSUM_VERSION_1; in proto_capability_advertise()
1652 dlcapabsetqid(&(hcksum.hcksum_mid), dsp->ds_rq); in proto_capability_advertise()
[all …]