HomeSort by: relevance | last modified time | path
    Searched defs:ah (Results 1 - 25 of 26) sorted by relevancy

1 2

  /src/sys/lib/libsa/
ip.c 135 struct arphdr *ah = (void *)ip; local in function:readip
136 if (n < (ssize_t)(sizeof(*ah) + 2 * (ah->ar_hln + ah->ar_pln))) {
139 if (ah->ar_op == htons(ARPOP_REQUEST)) {
141 arp_reply(d, ah);
arp.c 102 struct ether_arp *ah; local in function:arpwhohas
136 ah = &wbuf.data.arp;
137 ah->arp_hrd = htons(ARPHRD_ETHER);
138 ah->arp_pro = htons(ETHERTYPE_IP);
139 ah->arp_hln = sizeof(ah->arp_sha); /* hardware address length */
140 ah->arp_pln = sizeof(ah->arp_spa); /* protocol address length */
141 ah->arp_op = htons(ARPOP_REQUEST);
142 MACPY(d->myea, ah->arp_sha)
193 struct ether_arp *ah; local in function:arprecv
    [all...]
  /src/sys/netipsec/
ah.h 1 /* $NetBSD: ah.h,v 1.3 2018/04/19 08:27:38 maxv Exp $ */
2 /* $FreeBSD: ah.h,v 1.1.4.1 2003/01/24 05:11:35 sam Exp $ */
3 /* $KAME: ah.h,v 1.13 2000/10/18 21:28:00 itojun Exp $ */
41 struct ah { struct
ipsec_netbsd.c 71 #include <netipsec/ah.h>
86 /* assumes that ip header and ah header are contiguous on mbuf */
91 struct ah *ah; local in function:ah4_ctlinput
106 ah = (struct ah *)((char *)ip + (ip->ip_hl << 2));
108 IPPROTO_AH, ah->ah_spi, 0, 0);
177 struct newah ah; local in function:ah6_ctlinput
204 if (m->m_pkthdr.len < off + sizeof(ah))
207 if (m->m_len < off + sizeof(ah)) {
    [all...]
xform_ah.c 72 #include <netipsec/ah.h>
93 sizeof(struct ah) : sizeof(struct ah) + sizeof(uint32_t))
104 int ah_enable = 1; /* control flow of packets with AH */
105 int ip4_ah_cleartos = 1; /* clear ip_tos when doing AH calc */
187 size = sizeof(struct ah) + sizeof(uint32_t) + ah_max_authsize;
283 * Massage IPv4/IPv6 headers for AH processing.
529 struct newah *ah; local in function:ah_input
544 M_REGION_GET(ah, struct newah *, m, skip, rplen);
545 if (ah == NULL)
893 struct newah *ah; local in function:ah_output
    [all...]
  /src/sys/arch/mvme68k/stand/bootxx/
bootxx.c 106 struct exec ah; member in union:copyboot::boothead
135 if (N_GETMAGIC(x->ah) == OMAGIC)
136 *addr += sizeof(x->ah);
  /src/sys/external/isc/atheros_hal/dist/ar5312/
ar5312_attach.c 21 #include "ah.h"
33 static HAL_BOOL ar5312GetMacAddr(struct ath_hal *ah);
36 ar5312AniSetup(struct ath_hal *ah)
56 ar5212AniAttach(ah, &aniparams, &aniparams, AH_TRUE);
67 struct ath_hal *ah; local in function:ar5312Attach
85 ah = &ahp->ah_priv.h;
88 ah->ah_reset = ar5312Reset;
89 ah->ah_phyDisable = ar5312PhyDisable;
90 ah->ah_setLedState = ar5312SetLedState;
91 ah->ah_detectCardPresent = ar5312DetectCardPresent
    [all...]
  /src/sys/external/isc/atheros_hal/dist/ar5210/
ar5210_attach.c 21 #include "ah.h"
33 static HAL_BOOL ar5210GetChipPowerLimits(struct ath_hal *ah,
36 static void ar5210ConfigPCIE(struct ath_hal *ah, HAL_BOOL restore);
37 static void ar5210DisablePCIE(struct ath_hal *ah);
172 static HAL_BOOL ar5210FillCapabilityInfo(struct ath_hal *ah);
183 struct ath_hal *ah; local in function:ar5210Attach
201 ah = &ahp->ah_priv.h;
204 ah->ah_sc = sc;
205 ah->ah_st = st;
206 ah->ah_sh = sh
    [all...]
  /src/sys/external/isc/atheros_hal/dist/ar5416/
ar9160_attach.c 21 #include "ah.h"
63 static HAL_BOOL ar9160FillCapabilityInfo(struct ath_hal *ah);
66 ar9160AniSetup(struct ath_hal *ah)
87 ar5212AniAttach(ah, &aniparams, &aniparams, AH_FALSE);
99 struct ath_hal *ah; local in function:ar9160Attach
117 ah = &ahp->ah_priv.h;
121 ah->ah_detach = ar9160Detach;
123 AH5416(ah)->ah_cal.iqCalData.calData = &ar9160_iq_cal;
124 AH5416(ah)->ah_cal.adcGainCalData.calData = &ar9160_adc_gain_cal;
125 AH5416(ah)->ah_cal.adcDcCalData.calData = &ar9160_adc_dc_cal
    [all...]
ar9285_attach.c 21 #include "ah.h"
65 static void ar9285ConfigPCIE(struct ath_hal *ah, HAL_BOOL restore);
66 static HAL_BOOL ar9285FillCapabilityInfo(struct ath_hal *ah);
67 static void ar9285WriteIni(struct ath_hal *ah,
71 ar9285AniSetup(struct ath_hal *ah)
74 ar5212AniAttach(ah, AH_NULL, AH_NULL, AH_FALSE);
86 struct ath_hal *ah; local in function:ar9285Attach
103 ah = &ahp->ah_priv.h;
105 ar5416InitState(AH5416(ah), devid, sc, st, sh, status);
109 ah->ah_setAntennaSwitch = ar9285SetAntennaSwitch
    [all...]
ar5416_attach.c 21 #include "ah.h"
33 static void ar5416ConfigPCIE(struct ath_hal *ah, HAL_BOOL restore);
34 static void ar5416WriteIni(struct ath_hal *ah,
36 static void ar5416SpurMitigate(struct ath_hal *ah,
40 ar5416AniSetup(struct ath_hal *ah)
61 ar5212AniAttach(ah, &aniparams, &aniparams, AH_FALSE);
72 struct ath_hal *ah; local in function:ar5416InitState
76 ah = &ahp->ah_priv.h;
79 ah->ah_magic = AR5416_MAGIC;
80 ah->ah_getRateTable = ar5416GetRateTable
201 struct ath_hal *ah; local in function:ar5416Attach
    [all...]
ar9280_attach.c 21 #include "ah.h"
63 static void ar9280ConfigPCIE(struct ath_hal *ah, HAL_BOOL restore);
64 static HAL_BOOL ar9280FillCapabilityInfo(struct ath_hal *ah);
65 static void ar9280WriteIni(struct ath_hal *ah,
69 ar9280AniSetup(struct ath_hal *ah)
72 ar5212AniAttach(ah, AH_NULL, AH_NULL, AH_FALSE);
84 struct ath_hal *ah; local in function:ar9280Attach
101 ah = &ahp->ah_priv.h;
103 ar5416InitState(AH5416(ah), devid, sc, st, sh, status);
107 ah->ah_setAntennaSwitch = ar9280SetAntennaSwitch
    [all...]
  /src/sys/external/isc/atheros_hal/dist/ar5211/
ar5211_attach.c 21 #include "ah.h"
31 static HAL_BOOL ar5211GetChannelEdges(struct ath_hal *ah,
33 static HAL_BOOL ar5211GetChipPowerLimits(struct ath_hal *ah,
36 static void ar5211ConfigPCIE(struct ath_hal *ah, HAL_BOOL restore);
37 static void ar5211DisablePCIE(struct ath_hal *ah);
173 static HAL_BOOL ar5211FillCapabilityInfo(struct ath_hal *ah);
180 ar5211GetRadioRev(struct ath_hal *ah)
185 OS_REG_WRITE(ah, (AR_PHY_BASE + (0x34 << 2)), 0x00001c16);
187 OS_REG_WRITE(ah, (AR_PHY_BASE + (0x20 << 2)), 0x00010000);
188 val = (OS_REG_READ(ah, AR_PHY_BASE + (256 << 2)) >> 24) & 0xff
202 struct ath_hal *ah; local in function:ar5211Attach
    [all...]
  /src/lib/libc/stdlib/
atexit.c 66 #define STATIC_HANDLER_P(ah) \
67 (ah >= &atexit_handler0[0] && ah < &atexit_handler0[NSTATIC_HANDLERS])
93 struct atexit_handler *ah; local in function:atexit_handler_alloc
98 ah = &atexit_handler0[i];
99 if (ah->ah_atexit == NULL && ah->ah_next == NULL) {
101 return (ah);
112 ah = malloc(sizeof(*ah));
152 struct atexit_handler *ah; local in function:__cxa_atexit_internal
194 struct atexit_handler *ah, *dead_handlers = NULL, **prevp; local in function:__cxa_finalize
    [all...]
  /src/sys/net/
if_arcsubr.c 117 struct arc_header *ah; local in function:arc_output
272 ah = mtod(m, struct arc_header *);
273 ah->arc_type = atype;
274 ah->arc_dhost = adst;
275 ah->arc_shost = myself;
276 ah->arc_flag = rsflag;
277 ah->arc_seqid = ac->ac_seqid;
299 ah = mtod(m, struct arc_header *);
300 ah->arc_flag = 0xFF;
301 ah->arc_seqid = 0xFFFF
343 struct arc_header *ah, *ah1; local in function:arc_defrag
503 struct arc_header *ah; local in function:arc_input
    [all...]
if_ieee1394subr.c 95 struct arphdr *ah; local in function:ieee1394_output
148 ah = mtod(m0, struct arphdr *);
149 ah->ar_hrd = htons(ARPHRD_IEEE1394);
if_ethersubr.c 205 struct arphdr *ah; local in function:ether_output
262 ah = mtod(m, struct arphdr *);
266 void *tha = ar_tha(ah);
276 ah->ar_hrd = htons(ARPHRD_ETHER);
278 switch (ntohs(ah->ar_op)) {
  /src/sys/external/isc/atheros_hal/dist/ar5212/
ar5212_attach.c 21 #include "ah.h"
32 static void ar5212ConfigPCIE(struct ath_hal *ah, HAL_BOOL restore);
33 static void ar5212DisablePCIE(struct ath_hal *ah);
169 ar5212GetRadioRev(struct ath_hal *ah)
175 OS_REG_WRITE(ah, AR_PHY(0x34), 0x00001c16);
177 OS_REG_WRITE(ah, AR_PHY(0x20), 0x00010000);
178 val = (OS_REG_READ(ah, AR_PHY(256)) >> 24) & 0xff;
184 ar5212AniSetup(struct ath_hal *ah)
204 if (AH_PRIVATE(ah)->ah_macVersion < AR_SREV_VERSION_GRIFFIN) {
208 ar5212AniAttach(ah, &tmp, &tmp, AH_TRUE)
223 struct ath_hal *ah; local in function:ar5212InitState
309 struct ath_hal *ah; local in function:ar5212Attach
    [all...]
  /src/sys/dev/ic/
smc90cx6.c 501 struct arc_header *ah; local in function:bah_srint
559 ah = mtod(head, struct arc_header *);
561 ah->arc_shost = GETMEM(bah_ram_ptr + 0);
562 ah->arc_dhost = GETMEM(bah_ram_ptr + 1);
ath.c 283 struct ath_hal *ah = NULL; local in function:ath_attach
293 ah = ath_hal_attach(devid, sc, sc->sc_st, sc->sc_sh, &status);
294 if (ah == NULL) {
300 if (ah->ah_abi != HAL_ABI_VERSION) {
303 ah->ah_abi, HAL_ABI_VERSION);
307 sc->sc_ah = ah;
320 sc->sc_mrretry = ath_hal_setupxtxdesc(ah, NULL, 0,0, 0,0, 0,0);
327 if (ath_hal_hwphycounters(ah))
333 sc->sc_keymax = ath_hal_keycachesize(ah);
344 ath_hal_keyreset(ah, i)
722 struct ath_hal *ah = sc->sc_ah; local in function:ath_resume
761 struct ath_hal *ah = sc->sc_ah; local in function:ath_intr
999 struct ath_hal *ah = sc->sc_ah; local in function:ath_settkipmic
1018 struct ath_hal *ah = sc->sc_ah; local in function:ath_init
1124 struct ath_hal *ah = sc->sc_ah; local in function:ath_stop_locked
1189 struct ath_hal *ah = sc->sc_ah; local in function:ath_restore_diversity
1211 struct ath_hal *ah = sc->sc_ah; local in function:ath_reset
1307 struct ath_hal *ah = sc->sc_ah; local in function:ath_start
1542 struct ath_hal *ah = sc->sc_ah; local in function:ath_keyset_tkip
1614 struct ath_hal *ah = sc->sc_ah; local in function:ath_keyset
1862 struct ath_hal *ah = sc->sc_ah; local in function:ath_key_delete
1969 struct ath_hal *ah = sc->sc_ah; local in function:ath_calcrxfilter
1995 struct ath_hal *ah = sc->sc_ah; local in function:ath_mode_init
2066 struct ath_hal *ah = sc->sc_ah; local in function:ath_setslottime
2121 struct ath_hal *ah = sc->sc_ah; local in function:ath_beaconq_config
2206 struct ath_hal *ah = sc->sc_ah; local in function:ath_beacon_setup
2295 struct ath_hal *ah = sc->sc_ah; local in function:ath_beacon_proc
2475 struct ath_hal *ah = sc->sc_ah; local in function:ath_beacon_config
2864 struct ath_hal *ah = sc->sc_ah; local in function:ath_rxbuf_init
3009 struct ath_hal *ah = sc->sc_ah; local in function:ath_setdefantenna
3044 struct ath_hal *ah = sc->sc_ah; local in function:ath_rx_proc
3337 struct ath_hal *ah = sc->sc_ah; local in function:ath_txq_setup
3429 struct ath_hal *ah = sc->sc_ah; local in function:ath_txq_update
3614 struct ath_hal *ah = sc->sc_ah; local in function:ath_tx_start
4114 struct ath_hal *ah = sc->sc_ah; local in function:ath_tx_processq
4337 struct ath_hal *ah = sc->sc_ah; local in function:ath_tx_draintxq
4382 struct ath_hal *ah = sc->sc_ah; local in function:ath_tx_stopdma
4397 struct ath_hal *ah = sc->sc_ah; local in function:ath_draintxq
4425 struct ath_hal *ah = sc->sc_ah; local in function:ath_stoprecv
4455 struct ath_hal *ah = sc->sc_ah; local in function:ath_startrecv
4558 struct ath_hal *ah = sc->sc_ah; local in function:ath_chan_set
4672 struct ath_hal *ah = sc->sc_ah; local in function:ath_calibrate
4733 struct ath_hal *ah = sc->sc_ah; local in function:ath_newstate
4954 struct ath_hal *ah = sc->sc_ah; local in function:ath_getchannels
5078 struct ath_hal *ah = sc->sc_ah; local in function:ath_update_txpow
5115 struct ath_hal *ah = sc->sc_ah; local in function:ath_rate_setup
5313 struct ath_hal *ah = sc->sc_ah; local in function:ath_ioctl_diag
5486 struct ath_hal *ah = sc->sc_ah; local in function:ath_announce
    [all...]
  /src/sys/arch/arm/acpi/
acpi_machdep.c 299 struct acpi_intrhandler *ah; local in function:acpi_md_intr
302 TAILQ_FOREACH(ah, &ai->ai_handlers, ah_list) {
303 rv += ah->ah_fn(ah->ah_arg);
313 struct acpi_intrhandler *ah; local in function:acpi_md_intr_establish
360 ah = kmem_zalloc(sizeof(*ah), KM_SLEEP);
361 ah->ah_fn = handler;
362 ah->ah_arg = arg;
363 TAILQ_INSERT_TAIL(&ai->ai_handlers, ah, ah_list)
372 struct acpi_intrhandler *ah; local in function:acpi_md_intr_disestablish
    [all...]
  /src/sys/external/isc/atheros_hal/dist/
ah.c 17 * $Id: ah.c,v 1.3 2011/03/07 11:25:42 cegger Exp $
21 #include "ah.h"
60 struct ath_hal *ah; local in function:ath_hal_attach
65 ah = chip->attach(devid, sc, st, sh, error);
66 if (ah != AH_NULL) {
68 ah->ah_devid = AH_PRIVATE(ah)->ah_devid;
69 ah->ah_subvendorid = AH_PRIVATE(ah)->ah_subvendorid;
70 ah->ah_macVersion = AH_PRIVATE(ah)->ah_macVersion
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/radeon/
radeon_r600_dpm.c 228 u32 k, a, ah, al; local in function:r600_calculate_at
238 ah = ((a * t) + 5000) / 10000;
239 al = a - ah;
241 *th = t - ah;
  /src/sys/netinet/
if_arp.c 516 struct arphdr *ah; local in function:arprequest
529 m->m_len = sizeof(*ah) + 2 * sizeof(struct in_addr) +
533 m->m_len = sizeof(*ah) + 2 * sizeof(struct in_addr) +
539 ah = mtod(m, struct arphdr *);
540 memset(ah, 0, m->m_len);
544 ah->ar_hrd = htons(ARPHRD_IEEE1394);
550 ah->ar_pro = htons(ETHERTYPE_IP);
551 ah->ar_hln = ifp->if_addrlen; /* hardware address length */
552 ah->ar_pln = sizeof(struct in_addr); /* protocol address length */
553 ah->ar_op = htons(ARPOP_REQUEST)
768 struct arphdr *ah; local in function:in_arpinput
1860 struct arphdr *ah; local in function:in_revarpinput
1930 struct arphdr *ah; local in function:revarprequest
    [all...]
  /src/sys/external/bsd/ipf/netinet/
fil.c 1059 /* Analyse the packet for AH properties. */
1066 authhdr_t *ah; local in function:ipf_pr_ah6
1070 ah = (authhdr_t *)ipf_pr_ipv6exthdr(fin, 0, IPPROTO_HOPOPTS);
1071 if (ah == NULL) {
1078 ipf_pr_short6(fin, sizeof(*ah));
1084 return ah->ah_next;
1598 /* Analyse the packet for AH properties. */
1606 authhdr_t *ah; local in function:ipf_pr_ah
1610 ipf_pr_short(fin, sizeof(*ah));
1617 if (ipf_pr_pullup(fin, sizeof(*ah)) == -1)
    [all...]

Completed in 80 milliseconds

1 2