Algorithm 1 Whisper check at U. |
-
1:
procedureWhisper-Check() ▹U received whisper from V
-
2:
Extract , , and from
-
3:
if
then ▹ Did V hear my whisper?
-
4:
if
then ▹B is the WID-certificate binding set; No binding exists for V yet
-
5:
▹ Make one for V; is the link to BSM from V
-
6:
▹ Store V’s whisper ID (WID) for rebroadcast
-
7:
-
8:
else ▹ Binding exists for
-
9:
if
then ▹ Binding confirmed?
-
10:
++ ▹ Credit up
-
11:
else ▹ Conflict
-
12:
return ▹ Ignore this whisper
-
13:
end if
-
14:
end if
-
15:
else
-
16:
return ▹ Ignore this unverifiable neighbor
-
17:
end if
-
18:
end procedure
|